|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   30 #ifndef vtkGraphMapper_h 
   31 #define vtkGraphMapper_h 
   34 #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);
 
   91   vtkBooleanMacro(ScaledGlyphs, 
bool);
 
   98   vtkSetStringMacro(ScalingArrayName);
 
   99   vtkGetStringMacro(ScalingArrayName);
 
  106   void SetEdgeVisibility(
bool vis);
 
  107   bool GetEdgeVisibility();
 
  108   vtkBooleanMacro(EdgeVisibility, 
bool);
 
  115   void SetEdgeColorArrayName(
const char* 
name);
 
  116   const char* GetEdgeColorArrayName();
 
  123   void SetColorEdges(
bool vis);
 
  124   bool GetColorEdges();
 
  126   void ColorEdgesOff();
 
  133   vtkSetStringMacro(EnabledEdgesArrayName);
 
  134   vtkGetStringMacro(EnabledEdgesArrayName);
 
  150   vtkSetStringMacro(EnabledVerticesArrayName);
 
  151   vtkGetStringMacro(EnabledVerticesArrayName);
 
  160   vtkBooleanMacro(EnableVerticesByArray, 
vtkTypeBool);
 
  167   void SetIconArrayName(
const char* 
name);
 
  168   const char* GetIconArrayName();
 
  176   void AddIconType(
const char* 
type, 
int index);
 
  181   void ClearIconTypes();
 
  187   void SetIconSize(
int* 
size);
 
  195   void SetIconAlignment(
int alignment);
 
  209   void SetIconVisibility(
bool vis);
 
  210   bool GetIconVisibility();
 
  211   vtkBooleanMacro(IconVisibility, 
bool);
 
  218   vtkGetMacro(VertexPointSize, 
float);
 
  219   void SetVertexPointSize(
float size);
 
  226   vtkGetMacro(EdgeLineWidth, 
float);
 
  227   void SetEdgeLineWidth(
float width);
 
  273   vtkGetStringMacro(VertexColorArrayNameInternal);
 
  274   vtkSetStringMacro(VertexColorArrayNameInternal);
 
  275   vtkGetStringMacro(EdgeColorArrayNameInternal);
 
  276   vtkSetStringMacro(EdgeColorArrayNameInternal);
 
  286   vtkGetStringMacro(IconArrayNameInternal);
 
  287   vtkSetStringMacro(IconArrayNameInternal);
 
  325   float VertexPointSize;
 
  328   char* ScalingArrayName;
 
  
map vtkPolyData to graphics primitives
convert a vtkGraph to vtkPolyData
vtkTypeBool EnableEdgesByArray
vtkMTimeType GetMTime() override
Overload standard modified time function.
a subclass of actor that always faces the camera
vtkSmartPointer< vtkActor > OutlineActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
draw vtkPolyData onto the image plane
vtkSmartPointer< vtkVertexGlyphFilter > VertexGlyph
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkLookupTable * EdgeLookupTable
actor that draws 2D data with texture support
vtkSmartPointer< vtkTexturedActor2D > IconActor
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkSmartPointer< vtkTransformCoordinateSystems > IconTransform
vtkTypeBool EnableVerticesByArray
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
vtkSmartPointer< vtkPolyDataMapper > EdgeMapper
vtkSmartPointer< vtkGlyph3D > CircleGlyph
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
Map values in an input array to different values in an output array of (possibly) different type.
handles properties associated with a texture map
#define VTK_SIZEHINT(...)
vtkSmartPointer< vtkGlyph3D > CircleOutlineGlyph
map vtkGraph and derived classes to graphics primitives
abstract class specifies interface to map data to graphics primitives
vtkSmartPointer< vtkIconGlyphFilter > IconGlyph
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
vtkSmartPointer< vtkActor > VertexActor
a virtual camera for 3D rendering
vtkSmartPointer< vtkPolyDataMapper2D > IconMapper
vtkDataSet * GetInput()
Get the input as a vtkDataSet.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
Detect and break reference loops.
vtkSmartPointer< vtkPolyDataMapper > OutlineMapper
copy oriented and scaled glyph geometry to every input point
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
map scalar values into colors via a lookup table
static vtkAlgorithm * New()
char * EnabledVerticesArrayName
void ReportReferences(vtkGarbageCollector *) override
a actor that draws 2D data
abstract specification for renderers
vtkSmartPointer< vtkMapArrayValues > IconTypeToIndex
concrete dataset represents vertices, lines, polygons, and triangle strips
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