52 #ifndef vtkProgrammableGlyphFilter_h
53 #define vtkProgrammableGlyphFilter_h
55 #define VTK_COLOR_BY_INPUT 0
56 #define VTK_COLOR_BY_SOURCE 1
58 #include "vtkFiltersProgrammableModule.h"
61 VTK_ABI_NAMESPACE_BEGIN
101 typedef void (*ProgrammableMethodCallbackType)(
void* arg);
106 void SetGlyphMethod(
void (*f)(
void*),
void* arg);
112 void SetGlyphMethodArgDelete(
void (*f)(
void*));
127 vtkGetVector3Macro(Point,
double);
143 vtkSetMacro(ColorMode,
int);
144 vtkGetMacro(ColorMode,
int);
147 const char* GetColorModeAsString();
171 VTK_ABI_NAMESPACE_END
void SetColorModeToColorBySource()
Either color by the input or source scalar data.
represent and manipulate point attribute data
#define VTK_COLOR_BY_SOURCE
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetColorModeToColorByInput()
Either color by the input or source scalar data.
control the generation and placement of glyphs at input points
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
ProgrammableMethodCallbackType GlyphMethodArgDelete
#define VTK_COLOR_BY_INPUT
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
ProgrammableMethodCallbackType GlyphMethod
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.