32 #ifndef vtkGraphMapper_h
33 #define vtkGraphMapper_h
68 void SetVertexColorArrayName(
const char*
name);
69 const char* GetVertexColorArrayName();
74 void SetColorVertices(
bool vis);
75 bool GetColorVertices();
76 void ColorVerticesOn();
77 void ColorVerticesOff();
85 void SetScaledGlyphs(
bool arg);
86 vtkGetMacro(ScaledGlyphs,
bool);
87 vtkBooleanMacro(ScaledGlyphs,
bool);
92 vtkSetStringMacro(ScalingArrayName);
93 vtkGetStringMacro(ScalingArrayName);
98 void SetEdgeVisibility(
bool vis);
99 bool GetEdgeVisibility();
100 vtkBooleanMacro(EdgeVisibility,
bool);
105 void SetEdgeColorArrayName(
const char*
name);
106 const char* GetEdgeColorArrayName();
111 void SetColorEdges(
bool vis);
112 bool GetColorEdges();
114 void ColorEdgesOff();
119 vtkSetStringMacro(EnabledEdgesArrayName);
120 vtkGetStringMacro(EnabledEdgesArrayName);
125 vtkSetMacro(EnableEdgesByArray,
int);
126 vtkGetMacro(EnableEdgesByArray,
int);
127 vtkBooleanMacro(EnableEdgesByArray,
int);
132 vtkSetStringMacro(EnabledVerticesArrayName);
133 vtkGetStringMacro(EnabledVerticesArrayName);
139 vtkSetMacro(EnableVerticesByArray,
int);
140 vtkGetMacro(EnableVerticesByArray,
int);
141 vtkBooleanMacro(EnableVerticesByArray,
int);
146 void SetIconArrayName(
const char*
name);
147 const char* GetIconArrayName();
156 void ClearIconTypes();
161 void SetIconSize(
int *
size);
167 void SetIconAlignment(
int alignment);
177 void SetIconVisibility(
bool vis);
178 bool GetIconVisibility();
179 vtkBooleanMacro(IconVisibility,
bool);
184 vtkGetMacro(VertexPointSize,
float);
185 void SetVertexPointSize(
float size);
190 vtkGetMacro(EdgeLineWidth,
float);
191 void SetEdgeLineWidth(
float width);
228 vtkGetStringMacro(VertexColorArrayNameInternal);
229 vtkSetStringMacro(VertexColorArrayNameInternal);
230 vtkGetStringMacro(EdgeColorArrayNameInternal);
231 vtkSetStringMacro(EdgeColorArrayNameInternal);
241 vtkGetStringMacro(IconArrayNameInternal);
242 vtkSetStringMacro(IconArrayNameInternal);
282 float VertexPointSize;
285 char* ScalingArrayName;
char * EdgeColorArrayNameInternal
map vtkGraph and derived classes to graphics primitives
char * EnabledVerticesArrayName
represents an object (geometry & properties) in a rendered scene
int EnableVerticesByArray
actor that draws 2D data with texture support
virtual void ReleaseGraphicsResources(vtkWindow *)
char * IconArrayNameInternal
Map values in an input array to different values in an output array of (possibly) different type...
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
vtkSmartPointer< vtkPolyDataMapper > OutlineMapper
a actor that draws 2D data
map scalar values into colors via a lookup table
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkSmartPointer< vtkGlyph3D > CircleOutlineGlyph
vtkSmartPointer< vtkIconGlyphFilter > IconGlyph
vtkSmartPointer< vtkActor > OutlineActor
generate points at center of cells
Detect and break reference loops.
vtkSmartPointer< vtkTransformCoordinateSystems > IconTransform
convert a vtkGraph to vtkPolyData
Base class for graph data types.
virtual void ReportReferences(vtkGarbageCollector *)
window superclass for vtkRenderWindow
Make a vtkPolyData with a vertex on each point.
a simple class to control print indentation
a virtual camera for 3D rendering
vtkLookupTable * VertexLookupTable
copy oriented and scaled glyph geometry to every input point
vtkSmartPointer< vtkPolyDataMapper > VertexMapper
void PrintSelf(ostream &os, vtkIndent indent)
vtkSmartPointer< vtkGlyph3D > CircleGlyph
handles properties associated with a texture map
virtual double * GetBounds()=0
vtkLookupTable * EdgeLookupTable
vtkSmartPointer< vtkActor > EdgeActor
virtual int FillInputPortInformation(int port, vtkInformation *info)
abstract class specifies interface to map data to graphics primitives
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkSmartPointer< vtkTexturedActor2D > IconActor
vtkSmartPointer< vtkActor > VertexActor
char * EnabledEdgesArrayName
#define VTKRENDERINGCORE_EXPORT
virtual double * GetBounds()
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
static vtkAlgorithm * New()
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
vtkSmartPointer< vtkVertexGlyphFilter > VertexGlyph
vtkSmartPointer< vtkPolyDataMapper2D > IconMapper
virtual void GetBounds(double *bounds)
vtkSmartPointer< vtkPolyDataMapper > EdgeMapper
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
char * VertexColorArrayNameInternal
draw vtkPolyData onto the image plane