33 #ifndef vtkGraphToGlyphs_h
34 #define vtkGraphToGlyphs_h
37 #include "vtkRenderingCoreModule.h"
74 vtkSetMacro(GlyphType,
int);
75 vtkGetMacro(GlyphType,
int);
82 vtkSetMacro(Filled,
bool);
83 vtkGetMacro(Filled,
bool);
84 vtkBooleanMacro(Filled,
bool);
93 vtkSetMacro(ScreenSize,
double);
94 vtkGetMacro(ScreenSize,
double);
calculates distance from points to the camera.
copy oriented and scaled glyph geometry to every input point
create 2D glyphs represented by vtkPolyData
create glyphs for graph vertices
virtual vtkRenderer * GetRenderer()
vtkMTimeType GetMTime() override
The modified time of this filter.
virtual bool GetScaling()
vtkSmartPointer< vtkGlyphSource2D > GlyphSource
static vtkGraphToGlyphs * New()
virtual void SetRenderer(vtkRenderer *ren)
The renderer in which the glyphs will be placed.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkGraphToPoints > GraphToPoints
~vtkGraphToGlyphs() override
vtkSmartPointer< vtkSphereSource > Sphere
vtkSmartPointer< vtkDistanceToCamera > DistanceToCamera
vtkSmartPointer< vtkGlyph3D > Glyph
virtual void SetScaling(bool b)
Whether to use the input array to process in order to scale the vertices.
int FillInputPortInformation(int port, vtkInformation *info) override
Set the input type of the algorithm to vtkGraph.
convert a vtkGraph a set of points.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
abstract specification for renderers
create a polygonal sphere centered at the origin
vtkTypeUInt32 vtkMTimeType