30 #ifndef vtkGraphMapper_h 31 #define vtkGraphMapper_h 33 #include "vtkRenderingCoreModule.h" 68 void SetVertexColorArrayName(
const char*
name);
69 const char* GetVertexColorArrayName();
76 void SetColorVertices(
bool vis);
77 bool GetColorVertices();
78 void ColorVerticesOn();
79 void ColorVerticesOff();
89 void SetScaledGlyphs(
bool arg);
90 vtkGetMacro(ScaledGlyphs,
bool);
98 vtkSetStringMacro(ScalingArrayName);
106 void SetEdgeVisibility(
bool vis);
107 bool GetEdgeVisibility();
115 void SetEdgeColorArrayName(
const char*
name);
116 const char* GetEdgeColorArrayName();
123 void SetColorEdges(
bool vis);
124 bool GetColorEdges();
126 void ColorEdgesOff();
133 vtkSetStringMacro(EnabledEdgesArrayName);
142 vtkGetMacro(EnableEdgesByArray,
int);
150 vtkSetStringMacro(EnabledVerticesArrayName);
159 vtkGetMacro(EnableVerticesByArray,
int);
167 void SetIconArrayName(
const char*
name);
168 const char* GetIconArrayName();
181 void ClearIconTypes();
187 void SetIconSize(
int *
size);
195 void SetIconAlignment(
int alignment);
209 void SetIconVisibility(
bool vis);
210 bool GetIconVisibility();
218 vtkGetMacro(VertexPointSize,
float);
219 void SetVertexPointSize(
float size);
226 vtkGetMacro(EdgeLineWidth,
float);
227 void SetEdgeLineWidth(
float width);
254 double *GetBounds() VTK_OVERRIDE;
255 void GetBounds(
double* bounds) VTK_OVERRIDE
275 vtkSetStringMacro(VertexColorArrayNameInternal);
277 vtkSetStringMacro(EdgeColorArrayNameInternal);
278 char* VertexColorArrayNameInternal;
279 char* EdgeColorArrayNameInternal;
282 char* EnabledEdgesArrayName;
283 char* EnabledVerticesArrayName;
284 int EnableEdgesByArray;
285 int EnableVerticesByArray;
288 vtkSetStringMacro(IconArrayNameInternal);
289 char* IconArrayNameInternal;
326 float VertexPointSize;
329 char* ScalingArrayName;
map vtkGraph and derived classes to graphics primitives
represents an object (geometry & properties) in a rendered scene
actor that draws 2D data with texture support
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...
a actor that draws 2D data
map scalar values into colors via a lookup table
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
concrete dataset represents vertices, lines, polygons, and triangle strips
generate points at center of cells
Detect and break reference loops.
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
copy oriented and scaled glyph geometry to every input point
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).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
Overload standard modified time function.
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
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
draw vtkPolyData onto the image plane
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.