32 #ifndef __vtkGraphMapper_h
33 #define __vtkGraphMapper_h
70 void SetVertexColorArrayName(
const char*
name);
71 const char* GetVertexColorArrayName();
76 void SetColorVertices(
bool vis);
77 bool GetColorVertices();
78 void ColorVerticesOn();
79 void ColorVerticesOff();
87 void SetScaledGlyphs(
bool arg);
88 vtkGetMacro(ScaledGlyphs,
bool);
89 vtkBooleanMacro(ScaledGlyphs,
bool);
94 vtkSetStringMacro(ScalingArrayName);
95 vtkGetStringMacro(ScalingArrayName);
100 void SetEdgeVisibility(
bool vis);
101 bool GetEdgeVisibility();
102 vtkBooleanMacro(EdgeVisibility,
bool);
107 void SetEdgeColorArrayName(
const char*
name);
108 const char* GetEdgeColorArrayName();
113 void SetColorEdges(
bool vis);
114 bool GetColorEdges();
116 void ColorEdgesOff();
121 vtkSetStringMacro(EnabledEdgesArrayName);
122 vtkGetStringMacro(EnabledEdgesArrayName);
127 vtkSetMacro(EnableEdgesByArray,
int);
128 vtkGetMacro(EnableEdgesByArray,
int);
129 vtkBooleanMacro(EnableEdgesByArray,
int);
134 vtkSetStringMacro(EnabledVerticesArrayName);
135 vtkGetStringMacro(EnabledVerticesArrayName);
141 vtkSetMacro(EnableVerticesByArray,
int);
142 vtkGetMacro(EnableVerticesByArray,
int);
143 vtkBooleanMacro(EnableVerticesByArray,
int);
148 void SetIconArrayName(
const char*
name);
149 const char* GetIconArrayName();
158 void ClearIconTypes();
163 void SetIconSize(
int *
size);
169 void SetIconAlignment(
int alignment);
179 void SetIconVisibility(
bool vis);
180 bool GetIconVisibility();
181 vtkBooleanMacro(IconVisibility,
bool);
186 vtkGetMacro(VertexPointSize,
float);
187 void SetVertexPointSize(
float size);
192 vtkGetMacro(EdgeLineWidth,
float);
193 void SetEdgeLineWidth(
float width);
233 vtkGetStringMacro(VertexColorArrayNameInternal);
234 vtkSetStringMacro(VertexColorArrayNameInternal);
235 vtkGetStringMacro(EdgeColorArrayNameInternal);
236 vtkSetStringMacro(EdgeColorArrayNameInternal);
246 vtkGetStringMacro(IconArrayNameInternal);
247 vtkSetStringMacro(IconArrayNameInternal);
287 float VertexPointSize;
290 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
Sets theme colors for a graphical view.
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
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