Go to the documentation of this file.
33 #ifndef vtkGraphMapper_h
34 #define vtkGraphMapper_h
36 #include "vtkRenderingCoreModule.h"
93 vtkGetMacro(ScaledGlyphs,
bool);
94 vtkBooleanMacro(ScaledGlyphs,
bool);
101 vtkSetStringMacro(ScalingArrayName);
102 vtkGetStringMacro(ScalingArrayName);
111 vtkBooleanMacro(EdgeVisibility,
bool);
136 vtkSetStringMacro(EnabledEdgesArrayName);
137 vtkGetStringMacro(EnabledEdgesArrayName);
153 vtkSetStringMacro(EnabledVerticesArrayName);
154 vtkGetStringMacro(EnabledVerticesArrayName);
214 vtkBooleanMacro(IconVisibility,
bool);
221 vtkGetMacro(VertexPointSize,
float);
229 vtkGetMacro(EdgeLineWidth,
float);
258 void GetBounds(
double* bounds)
override
277 vtkGetStringMacro(VertexColorArrayNameInternal);
278 vtkSetStringMacro(VertexColorArrayNameInternal);
279 vtkGetStringMacro(EdgeColorArrayNameInternal);
280 vtkSetStringMacro(EdgeColorArrayNameInternal);
290 vtkGetStringMacro(IconArrayNameInternal);
291 vtkSetStringMacro(IconArrayNameInternal);
329 float VertexPointSize;
332 char* ScalingArrayName;
map vtkPolyData to graphics primitives
convert a vtkGraph to vtkPolyData
vtkTypeBool EnableEdgesByArray
a subclass of actor that always faces the camera
void ReportReferences(vtkGarbageCollector *) override
vtkSmartPointer< vtkActor > OutlineActor
draw vtkPolyData onto the image plane
vtkSmartPointer< vtkVertexGlyphFilter > VertexGlyph
void SetIconAlignment(int alignment)
Specify where the icons should be placed in relation to the vertex.
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
static vtkGraphMapper * New()
vtkLookupTable * EdgeLookupTable
actor that draws 2D data with texture support
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetEdgeVisibility(bool vis)
Whether to show edges or not.
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void ClearIconTypes()
Clear all icon mappings.
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
vtkSmartPointer< vtkTexturedActor2D > IconActor
vtkSmartPointer< vtkTransformCoordinateSystems > IconTransform
~vtkGraphMapper() override
void SetScaledGlyphs(bool arg)
Whether scaled glyphs are on or not.
vtkTypeBool EnableVerticesByArray
void SetEdgeLineWidth(float width)
char * IconArrayNameInternal
char * EdgeColorArrayNameInternal
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
window superclass for vtkRenderWindow
void SetInputData(vtkGraph *input)
Set the Input of this mapper.
vtkSmartPointer< vtkPolyDataMapper > EdgeMapper
vtkSmartPointer< vtkGlyph3D > CircleGlyph
void SetColorVertices(bool vis)
Whether to color vertices.
const char * GetEdgeColorArrayName()
Map values in an input array to different values in an output array of (possibly) different type.
handles properties associated with a texture map
const char * GetIconArrayName()
#define VTK_SIZEHINT(...)
const char * GetVertexColorArrayName()
void SetIconArrayName(const char *name)
The array to use for assigning icons.
vtkSmartPointer< vtkGlyph3D > CircleOutlineGlyph
void SetIconVisibility(bool vis)
Whether to show icons.
map vtkGraph and derived classes to graphics primitives
void SetEdgeColorArrayName(const char *name)
The array to use for coloring edges.
abstract class specifies interface to map data to graphics primitives
void SetVertexColorArrayName(const char *name)
The array to use for coloring vertices.
vtkSmartPointer< vtkIconGlyphFilter > IconGlyph
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void SetIconTexture(vtkTexture *texture)
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
vtkSmartPointer< vtkActor > VertexActor
a virtual camera for 3D rendering
void SetVertexPointSize(float size)
vtkSmartPointer< vtkPolyDataMapper2D > IconMapper
vtkMTimeType GetMTime() override
Get the mtime also considering the lookup table.
Detect and break reference loops.
vtkSmartPointer< vtkPolyDataMapper > OutlineMapper
copy oriented and scaled glyph geometry to every input point
map scalar values into colors via a lookup table
char * EnabledVerticesArrayName
void SetIconSize(int *size)
Specify the Width and Height, in pixels, of an icon in the icon sheet.
a actor that draws 2D data
vtkTexture * GetIconTexture()
The texture containing the icon sheet.
abstract specification for renderers
void SetColorEdges(bool vis)
Whether to color edges.
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
concrete dataset represents vertices, lines, polygons, and triangle strips
void AddIconType(const char *type, int index)
Associate the icon at index "index" in the vtkTexture to all vertices containing "type" as a value in...
vtkLookupTable * VertexLookupTable
char * VertexColorArrayNameInternal
Base class for graph data types.
generate points at center of cells
vtkSmartPointer< vtkPolyDataMapper > VertexMapper
Make a vtkPolyData with a vertex on each point.
vtkSmartPointer< vtkActor > EdgeActor
char * EnabledEdgesArrayName
vtkTypeUInt32 vtkMTimeType