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"
70 #include "vtkPolyDataAlgorithm.h"
78 void PrintSelf(ostream& os, vtkIndent indent);
87 void SetSourceConnection(vtkAlgorithmOutput* output);
92 void SetSourceData(vtkPolyData *
source);
93 vtkPolyData *GetSource();
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 *);
148 virtual int FillInputPortInformation(
int, vtkInformation *);
void SetColorModeToColorBySource()
#define VTK_COLOR_BY_SOURCE
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