 |
VTK
9.1.0
|
Go to the documentation of this file.
80 #ifndef vtkProgrammableGlyphFilter_h
81 #define vtkProgrammableGlyphFilter_h
83 #define VTK_COLOR_BY_INPUT 0
84 #define VTK_COLOR_BY_SOURCE 1
86 #include "vtkFiltersProgrammableModule.h"
128 typedef void (*ProgrammableMethodCallbackType)(
void* arg);
154 vtkGetVector3Macro(Point,
double);
170 vtkSetMacro(ColorMode,
int);
171 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
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()
Either color by the input or source scalar data.
~vtkProgrammableGlyphFilter() override
a simple class to control print indentation
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetColorModeToColorByInput()
Either color by the input or source scalar data.
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkPolyData * GetSource()
Set/Get the source to use for this glyph.
void SetGlyphMethod(void(*f)(void *), void *arg)
Specify function to be called for each input point.
void SetColorModeToColorBySource()
Either color by the input or source scalar data.
Superclass for algorithms that produce only polydata as output.