Go to the documentation of this file.
64 #ifndef vtkProgrammableGlyphFilter_h
65 #define vtkProgrammableGlyphFilter_h
67 #define VTK_COLOR_BY_INPUT 0
68 #define VTK_COLOR_BY_SOURCE 1
70 #include "vtkFiltersProgrammableModule.h"
112 typedef void (*ProgrammableMethodCallbackType)(
void *arg);
138 vtkGetVector3Macro(Point,
double);
154 vtkSetMacro(ColorMode,
int);
155 vtkGetMacro(ColorMode,
int);
ProgrammableMethodCallbackType GlyphMethod
static vtkProgrammableGlyphFilter * New()
Construct object with nullptr GlyphMethod() and no source object.
void SetSourceData(vtkPolyData *source)
Set/Get the source to use for this glyph.
represent and manipulate point attribute data
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkProgrammableGlyphFilter()
#define VTK_COLOR_BY_SOURCE
void SetGlyphMethodArgDelete(void(*f)(void *))
Set the arg delete method.
control the generation and placement of glyphs at input points
ProgrammableMethodCallbackType GlyphMethodArgDelete
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetSourceConnection(vtkAlgorithmOutput *output)
Setup a connection for the source to use as the glyph.
#define VTK_COLOR_BY_INPUT
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetColorModeAsString()
~vtkProgrammableGlyphFilter() override
a simple class to control print indentation
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetColorModeToColorByInput()
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyData * GetSource()
void SetGlyphMethod(void(*f)(void *), void *arg)
Specify function to be called for each input point.
void SetColorModeToColorBySource()
Superclass for algorithms that produce only polydata as output.