17#ifndef vtkGraphMapper_h
18#define vtkGraphMapper_h
21#include "vtkRenderingCoreModule.h"
26VTK_ABI_NAMESPACE_BEGIN
79 vtkGetMacro(ScaledGlyphs,
bool);
80 vtkBooleanMacro(ScaledGlyphs,
bool);
87 vtkSetStringMacro(ScalingArrayName);
88 vtkGetStringMacro(ScalingArrayName);
97 vtkBooleanMacro(EdgeVisibility,
bool);
122 vtkSetStringMacro(EnabledEdgesArrayName);
123 vtkGetStringMacro(EnabledEdgesArrayName);
139 vtkSetStringMacro(EnabledVerticesArrayName);
140 vtkGetStringMacro(EnabledVerticesArrayName);
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);
262 vtkGetStringMacro(VertexColorArrayNameInternal);
263 vtkSetStringMacro(VertexColorArrayNameInternal);
264 vtkGetStringMacro(EdgeColorArrayNameInternal);
265 vtkSetStringMacro(EdgeColorArrayNameInternal);
275 vtkGetStringMacro(IconArrayNameInternal);
276 vtkSetStringMacro(IconArrayNameInternal);
314 float VertexPointSize;
317 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 ColorEdgesOn()
Whether to color edges.
~vtkGraphMapper() override
bool GetEdgeVisibility()
Whether to show edges or not.
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
vtkSmartPointer< vtkPolyDataMapper > VertexMapper
int * GetIconSize()
Specify the Width and Height, in pixels, of an icon in the icon sheet.
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 ColorVerticesOff()
Whether to color vertices.
const char * GetEdgeColorArrayName()
The array to use for coloring edges.
bool GetColorVertices()
Whether to color vertices.
void SetColorVertices(bool vis)
Whether to color vertices.
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
void ReportReferences(vtkGarbageCollector *) override
vtkSmartPointer< vtkIconGlyphFilter > IconGlyph
char * EdgeColorArrayNameInternal
Used to store the vertex and edge color array names.
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.
const char * GetVertexColorArrayName()
The array to use for coloring vertices.
void ColorVerticesOn()
Whether to color vertices.
vtkSmartPointer< vtkActor > EdgeActor
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkLookupTable * VertexLookupTable
char * VertexColorArrayNameInternal
Used to store the vertex and edge color array names.
bool GetColorEdges()
Whether to color edges.
static vtkGraphMapper * New()
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
const char * GetIconArrayName()
The array to use for assigning icons.
void ColorEdgesOff()
Whether to color edges.
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.
void SetEdgeColorArrayName(const char *name)
The array to use for coloring edges.
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
Hold a reference to a vtkObjectBase instance.
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(...)