63 #ifndef __vtkProgrammableGlyphFilter_h
64 #define __vtkProgrammableGlyphFilter_h
66 #define VTK_COLOR_BY_INPUT 0
67 #define VTK_COLOR_BY_SOURCE 1
69 #include "vtkFiltersProgrammableModule.h"
78 void PrintSelf(ostream& os, vtkIndent indent);
102 typedef void (*ProgrammableMethodCallbackType)(
void *arg);
105 void SetGlyphMethod(
void (*f)(
void *),
void *arg);
109 void SetGlyphMethodArgDelete(
void (*f)(
void *));
115 vtkGetMacro(PointId, vtkIdType);
122 vtkGetVector3Macro(Point,
double);
129 vtkGetObjectMacro(PointData,vtkPointData);
134 vtkSetMacro(ColorMode,
int);
135 vtkGetMacro(ColorMode,
int);
140 const char *GetColorModeAsString();
147 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetColorModeToColorBySource()
#define VTK_COLOR_BY_SOURCE
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
void SetColorModeToColorByInput()
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 *)
#define VTK_COLOR_BY_INPUT
ProgrammableMethodCallbackType GlyphMethod