17 #ifndef vtkGraphMapper_h
18 #define vtkGraphMapper_h
21 #include "vtkRenderingCoreModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
57 void SetVertexColorArrayName(
const char*
name);
58 const char* GetVertexColorArrayName();
65 void SetColorVertices(
bool vis);
66 bool GetColorVertices();
67 void ColorVerticesOn();
68 void ColorVerticesOff();
78 void SetScaledGlyphs(
bool arg);
79 vtkGetMacro(ScaledGlyphs,
bool);
80 vtkBooleanMacro(ScaledGlyphs,
bool);
87 vtkSetStringMacro(ScalingArrayName);
88 vtkGetStringMacro(ScalingArrayName);
95 void SetEdgeVisibility(
bool vis);
96 bool GetEdgeVisibility();
97 vtkBooleanMacro(EdgeVisibility,
bool);
104 void SetEdgeColorArrayName(
const char*
name);
105 const char* GetEdgeColorArrayName();
112 void SetColorEdges(
bool vis);
113 bool GetColorEdges();
115 void ColorEdgesOff();
122 vtkSetStringMacro(EnabledEdgesArrayName);
123 vtkGetStringMacro(EnabledEdgesArrayName);
139 vtkSetStringMacro(EnabledVerticesArrayName);
140 vtkGetStringMacro(EnabledVerticesArrayName);
149 vtkBooleanMacro(EnableVerticesByArray,
vtkTypeBool);
156 void SetIconArrayName(
const char*
name);
157 const char* GetIconArrayName();
165 void AddIconType(
const char*
type,
int index);
170 void ClearIconTypes();
184 void SetIconAlignment(
int alignment);
198 void SetIconVisibility(
bool vis);
199 bool GetIconVisibility();
200 vtkBooleanMacro(IconVisibility,
bool);
207 vtkGetMacro(VertexPointSize,
float);
208 void SetVertexPointSize(
float size);
215 vtkGetMacro(EdgeLineWidth,
float);
216 void SetEdgeLineWidth(
float width);
224 void ReleaseGraphicsResources(
vtkWindow*) override;
262 vtkGetStringMacro(VertexColorArrayNameInternal);
263 vtkSetStringMacro(VertexColorArrayNameInternal);
264 vtkGetStringMacro(EdgeColorArrayNameInternal);
265 vtkSetStringMacro(EdgeColorArrayNameInternal);
275 vtkGetStringMacro(IconArrayNameInternal);
276 vtkSetStringMacro(IconArrayNameInternal);
314 float VertexPointSize;
317 char* ScalingArrayName;
320 VTK_ABI_NAMESPACE_END
char * EdgeColorArrayNameInternal
Used to store the vertex and edge color array names.
map vtkGraph and derived classes to graphics primitives
void GetBounds(T a, double bds[6])
char * EnabledVerticesArrayName
represents an object (geometry & properties) in a rendered scene
actor that draws 2D data with texture support
char * IconArrayNameInternal
Map values in an input array to different values in an output array of (possibly) different type...
vtkTypeUInt32 vtkMTimeType
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
vtkTypeBool EnableEdgesByArray
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
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
vtkSmartPointer< vtkGlyph3D > CircleGlyph
handles properties associated with a texture map
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLookupTable * EdgeLookupTable
vtkSmartPointer< vtkActor > EdgeActor
#define VTK_SIZEHINT(...)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
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
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
static vtkAlgorithm * New()
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
vtkSmartPointer< vtkVertexGlyphFilter > VertexGlyph
vtkSmartPointer< vtkPolyDataMapper2D > IconMapper
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
vtkTypeBool EnableVerticesByArray