#include <vtkGraphMapper.h>
vtkGraphMapper is a mapper to map vtkGraph (and all derived classes) to graphics primitives.
Definition at line 60 of file vtkGraphMapper.h.
typedef vtkMapper vtkGraphMapper::Superclass |
vtkGraphMapper::vtkGraphMapper | ( | ) | [protected] |
vtkGraphMapper::~vtkGraphMapper | ( | ) | [protected] |
static vtkGraphMapper* vtkGraphMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkGraphMapper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMapper.
static int vtkGraphMapper::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMapper.
virtual int vtkGraphMapper::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMapper.
static vtkGraphMapper* vtkGraphMapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMapper.
void vtkGraphMapper::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
void vtkGraphMapper::Render | ( | vtkRenderer * | ren, | |
vtkActor * | a | |||
) | [virtual] |
Method initiates the mapping process. Generally sent by the actor as each frame is rendered.
Implements vtkMapper.
void vtkGraphMapper::SetVertexColorArrayName | ( | const char * | name | ) |
The array to use for coloring vertices. Default is "color".
const char* vtkGraphMapper::GetVertexColorArrayName | ( | ) |
The array to use for coloring vertices. Default is "color".
void vtkGraphMapper::SetColorVertices | ( | bool | vis | ) |
Whether to color vertices. Default is off.
bool vtkGraphMapper::GetColorVertices | ( | ) |
Whether to color vertices. Default is off.
void vtkGraphMapper::ColorVerticesOn | ( | ) |
Whether to color vertices. Default is off.
void vtkGraphMapper::ColorVerticesOff | ( | ) |
Whether to color vertices. Default is off.
void vtkGraphMapper::SetScaledGlyphs | ( | bool | arg | ) |
Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.
virtual bool vtkGraphMapper::GetScaledGlyphs | ( | ) | [virtual] |
Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.
virtual void vtkGraphMapper::ScaledGlyphsOn | ( | ) | [virtual] |
Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.
virtual void vtkGraphMapper::ScaledGlyphsOff | ( | ) | [virtual] |
Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.
virtual void vtkGraphMapper::SetScalingArrayName | ( | const char * | ) | [virtual] |
Glyph scaling array name. Default is "scale"
virtual char* vtkGraphMapper::GetScalingArrayName | ( | ) | [virtual] |
Glyph scaling array name. Default is "scale"
void vtkGraphMapper::SetEdgeVisibility | ( | bool | vis | ) |
Whether to show edges or not. Default is on.
bool vtkGraphMapper::GetEdgeVisibility | ( | ) |
Whether to show edges or not. Default is on.
virtual void vtkGraphMapper::EdgeVisibilityOn | ( | ) | [virtual] |
Whether to show edges or not. Default is on.
virtual void vtkGraphMapper::EdgeVisibilityOff | ( | ) | [virtual] |
Whether to show edges or not. Default is on.
void vtkGraphMapper::SetEdgeColorArrayName | ( | const char * | name | ) |
The array to use for coloring edges. Default is "color".
const char* vtkGraphMapper::GetEdgeColorArrayName | ( | ) |
The array to use for coloring edges. Default is "color".
void vtkGraphMapper::SetColorEdges | ( | bool | vis | ) |
Whether to color edges. Default is off.
bool vtkGraphMapper::GetColorEdges | ( | ) |
Whether to color edges. Default is off.
void vtkGraphMapper::ColorEdgesOn | ( | ) |
Whether to color edges. Default is off.
void vtkGraphMapper::ColorEdgesOff | ( | ) |
Whether to color edges. Default is off.
void vtkGraphMapper::SetIconArrayName | ( | const char * | name | ) |
The array to use for assigning icons.
const char* vtkGraphMapper::GetIconArrayName | ( | ) |
The array to use for assigning icons.
void vtkGraphMapper::AddIconType | ( | char * | type, | |
int | index | |||
) |
Associate the icon at index "index" in the vtkTexture to all vertices containing "type" as a value in the vertex attribute array specified by IconArrayName.
void vtkGraphMapper::ClearIconTypes | ( | ) |
Clear all icon mappings.
void vtkGraphMapper::SetIconSize | ( | int * | size | ) |
Specify the Width and Height, in pixels, of an icon in the icon sheet.
int* vtkGraphMapper::GetIconSize | ( | ) |
Specify the Width and Height, in pixels, of an icon in the icon sheet.
void vtkGraphMapper::SetIconAlignment | ( | int | alignment | ) |
Specify where the icons should be placed in relation to the vertex. See vtkIconGlyphFilter.h for possible values.
vtkTexture* vtkGraphMapper::GetIconTexture | ( | ) |
The texture containing the icon sheet.
void vtkGraphMapper::SetIconTexture | ( | vtkTexture * | texture | ) |
The texture containing the icon sheet.
void vtkGraphMapper::SetIconVisibility | ( | bool | vis | ) |
Whether to show icons. Default is off.
bool vtkGraphMapper::GetIconVisibility | ( | ) |
Whether to show icons. Default is off.
virtual void vtkGraphMapper::IconVisibilityOn | ( | ) | [virtual] |
Whether to show icons. Default is off.
virtual void vtkGraphMapper::IconVisibilityOff | ( | ) | [virtual] |
Whether to show icons. Default is off.
virtual float vtkGraphMapper::GetVertexPointSize | ( | ) | [virtual] |
Get/Set the vertex point size
void vtkGraphMapper::SetVertexPointSize | ( | float | size | ) |
Get/Set the vertex point size
virtual float vtkGraphMapper::GetEdgeLineWidth | ( | ) | [virtual] |
Get/Set the edge line width
void vtkGraphMapper::SetEdgeLineWidth | ( | float | width | ) |
Get/Set the edge line width
virtual void vtkGraphMapper::ApplyViewTheme | ( | vtkViewTheme * | theme | ) | [virtual] |
Apply the theme to this view.
void vtkGraphMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkMapper.
unsigned long vtkGraphMapper::GetMTime | ( | ) | [virtual] |
Get the mtime also considering the lookup table.
Reimplemented from vtkMapper.
void vtkGraphMapper::SetInput | ( | vtkGraph * | input | ) |
Set the Input of this mapper.
virtual double* vtkGraphMapper::GetBounds | ( | ) | [virtual] |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Reimplemented from vtkMapper.
virtual void vtkGraphMapper::GetBounds | ( | double * | bounds | ) | [inline, virtual] |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Definition at line 190 of file vtkGraphMapper.h.
virtual char* vtkGraphMapper::GetVertexColorArrayNameInternal | ( | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual void vtkGraphMapper::SetVertexColorArrayNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual char* vtkGraphMapper::GetEdgeColorArrayNameInternal | ( | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual void vtkGraphMapper::SetEdgeColorArrayNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual char* vtkGraphMapper::GetIconArrayNameInternal | ( | ) | [protected, virtual] |
virtual void vtkGraphMapper::SetIconArrayNameInternal | ( | const char * | ) | [protected, virtual] |
virtual void vtkGraphMapper::ReportReferences | ( | vtkGarbageCollector * | ) | [protected, virtual] |
Reimplemented from vtkAlgorithm.
virtual int vtkGraphMapper::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
char* vtkGraphMapper::VertexColorArrayNameInternal [protected] |
Used to store the vertex and edge color array names
Definition at line 203 of file vtkGraphMapper.h.
char* vtkGraphMapper::EdgeColorArrayNameInternal [protected] |
Used to store the vertex and edge color array names
Definition at line 205 of file vtkGraphMapper.h.
char* vtkGraphMapper::IconArrayNameInternal [protected] |
Definition at line 209 of file vtkGraphMapper.h.
vtkSmartPointer<vtkGlyph3D> vtkGraphMapper::CircleGlyph [protected] |
Definition at line 213 of file vtkGraphMapper.h.
vtkSmartPointer<vtkGlyph3D> vtkGraphMapper::CircleOutlineGlyph [protected] |
Definition at line 214 of file vtkGraphMapper.h.
vtkSmartPointer<vtkGraphToPolyData> vtkGraphMapper::GraphToPoly [protected] |
Definition at line 216 of file vtkGraphMapper.h.
Definition at line 217 of file vtkGraphMapper.h.
vtkSmartPointer<vtkIconGlyphFilter> vtkGraphMapper::IconGlyph [protected] |
Definition at line 218 of file vtkGraphMapper.h.
vtkSmartPointer<vtkArrayMap> vtkGraphMapper::IconTypeToIndex [protected] |
Definition at line 219 of file vtkGraphMapper.h.
Definition at line 220 of file vtkGraphMapper.h.
vtkSmartPointer<vtkPolyDataMapper> vtkGraphMapper::EdgeMapper [protected] |
Definition at line 222 of file vtkGraphMapper.h.
vtkSmartPointer<vtkPolyDataMapper> vtkGraphMapper::VertexMapper [protected] |
Definition at line 223 of file vtkGraphMapper.h.
Definition at line 224 of file vtkGraphMapper.h.
vtkSmartPointer<vtkPolyDataMapper2D> vtkGraphMapper::IconMapper [protected] |
Definition at line 225 of file vtkGraphMapper.h.
vtkSmartPointer<vtkActor> vtkGraphMapper::EdgeActor [protected] |
Definition at line 227 of file vtkGraphMapper.h.
vtkSmartPointer<vtkActor> vtkGraphMapper::VertexActor [protected] |
Definition at line 228 of file vtkGraphMapper.h.
vtkSmartPointer<vtkActor> vtkGraphMapper::OutlineActor [protected] |
Definition at line 229 of file vtkGraphMapper.h.
vtkSmartPointer<vtkTexturedActor2D> vtkGraphMapper::IconActor [protected] |
Definition at line 230 of file vtkGraphMapper.h.
vtkSmartPointer<vtkLookupTable> vtkGraphMapper::EdgeLookupTable [protected] |
Definition at line 233 of file vtkGraphMapper.h.
Definition at line 234 of file vtkGraphMapper.h.