64#ifndef vtkProgrammableGlyphFilter_h
65#define vtkProgrammableGlyphFilter_h
67#define VTK_COLOR_BY_INPUT 0
68#define VTK_COLOR_BY_SOURCE 1
70#include "vtkFiltersProgrammableModule.h"
112 typedef void (*ProgrammableMethodCallbackType)(
void *arg);
138 vtkGetVector3Macro(Point,
double);
155 vtkGetMacro(ColorMode,
int);
Proxy object to connect input/output ports.
a simple class to control print indentation
represent and manipulate point attribute data
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
control the generation and placement of glyphs at input points
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetColorModeToColorByInput()
void SetColorModeToColorBySource()
ProgrammableMethodCallbackType GlyphMethodArgDelete
~vtkProgrammableGlyphFilter()
const char * GetColorModeAsString()
void SetSourceConnection(vtkAlgorithmOutput *output)
Setup a connection for the source to use as the glyph.
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
void SetGlyphMethodArgDelete(void(*f)(void *))
Set the arg delete method.
void SetSourceData(vtkPolyData *source)
Set/Get the source to use for this glyph.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetGlyphMethod(void(*f)(void *), void *arg)
Specify function to be called for each input point.
static vtkProgrammableGlyphFilter * New()
Construct object with NULL GlyphMethod() and no source object.
ProgrammableMethodCallbackType GlyphMethod
vtkProgrammableGlyphFilter()
vtkPolyData * GetSource()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_COLOR_BY_SOURCE
#define VTK_COLOR_BY_INPUT