 |
VTK
9.0.1
|
Go to the documentation of this file.
61 #ifndef vtkProgrammableGlyphFilter_h
62 #define vtkProgrammableGlyphFilter_h
64 #define VTK_COLOR_BY_INPUT 0
65 #define VTK_COLOR_BY_SOURCE 1
67 #include "vtkFiltersProgrammableModule.h"
109 typedef void (*ProgrammableMethodCallbackType)(
void* arg);
135 vtkGetVector3Macro(Point,
double);
151 vtkSetMacro(ColorMode,
int);
152 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()
~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
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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.