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