33 #ifndef vtkGraphMapper_h
34 #define vtkGraphMapper_h
36 #include "vtkRenderingCoreModule.h"
71 void SetVertexColorArrayName(
const char*
name);
72 const char* GetVertexColorArrayName();
79 void SetColorVertices(
bool vis);
80 bool GetColorVertices();
81 void ColorVerticesOn();
82 void ColorVerticesOff();
92 void SetScaledGlyphs(
bool arg);
93 vtkGetMacro(ScaledGlyphs,
bool);
101 vtkSetStringMacro(ScalingArrayName);
109 void SetEdgeVisibility(
bool vis);
110 bool GetEdgeVisibility();
118 void SetEdgeColorArrayName(
const char*
name);
119 const char* GetEdgeColorArrayName();
126 void SetColorEdges(
bool vis);
127 bool GetColorEdges();
129 void ColorEdgesOff();
136 vtkSetStringMacro(EnabledEdgesArrayName);
145 vtkGetMacro(EnableEdgesByArray,
int);
153 vtkSetStringMacro(EnabledVerticesArrayName);
162 vtkGetMacro(EnableVerticesByArray,
int);
170 void SetIconArrayName(
const char*
name);
171 const char* GetIconArrayName();
184 void ClearIconTypes();
190 void SetIconSize(
int *
size);
198 void SetIconAlignment(
int alignment);
212 void SetIconVisibility(
bool vis);
213 bool GetIconVisibility();
221 vtkGetMacro(VertexPointSize,
float);
222 void SetVertexPointSize(
float size);
229 vtkGetMacro(EdgeLineWidth,
float);
230 void SetEdgeLineWidth(
float width);
278 vtkSetStringMacro(VertexColorArrayNameInternal);
280 vtkSetStringMacro(EdgeColorArrayNameInternal);
291 vtkSetStringMacro(IconArrayNameInternal);
329 float VertexPointSize;
332 char* ScalingArrayName;
char * EdgeColorArrayNameInternal
Used to store the vertex and edge color array names.
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 *)
Release any graphics resources that are being consumed by this mapper.
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
void ReportReferences(vtkGarbageCollector *) override
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
vtkTypeUInt64 vtkMTimeType
Detect and break reference loops.
vtkSmartPointer< vtkTransformCoordinateSystems > IconTransform
convert a vtkGraph to vtkPolyData
Base class for graph data types.
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)
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkGlyph3D > CircleGlyph
handles properties associated with a texture map
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkLookupTable * EdgeLookupTable
vtkSmartPointer< vtkActor > EdgeActor
abstract class specifies interface to map data to graphics primitives
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkMTimeType GetMTime()
Overload standard modified time function.
vtkSmartPointer< vtkTexturedActor2D > IconActor
vtkSmartPointer< vtkActor > VertexActor
char * EnabledEdgesArrayName
virtual double * GetBounds()
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
vtkDataSet * GetInput()
Get the input as a vtkDataSet.
vtkSmartPointer< vtkVertexGlyphFilter > VertexGlyph
vtkSmartPointer< vtkPolyDataMapper2D > IconMapper
virtual void GetBounds(double *bounds)
vtkSmartPointer< vtkPolyDataMapper > EdgeMapper
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
char * VertexColorArrayNameInternal
Used to store the vertex and edge color array names.
draw vtkPolyData onto the image plane