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);
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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetColorModeToColorByInput()
Either color by the input or source scalar data.
~vtkProgrammableGlyphFilter() override
void SetColorModeToColorBySource()
Either color by the input or source scalar data.
ProgrammableMethodCallbackType GlyphMethodArgDelete
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
const char * GetColorModeAsString()
Either color by the input or source scalar data.
void SetSourceConnection(vtkAlgorithmOutput *output)
Setup a connection for the source to use as the glyph.
void SetGlyphMethodArgDelete(void(*f)(void *))
Set the arg delete method.
void SetSourceData(vtkPolyData *source)
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.
static vtkProgrammableGlyphFilter * New()
Construct object with nullptr GlyphMethod() and no source object.
ProgrammableMethodCallbackType GlyphMethod
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProgrammableGlyphFilter()
vtkPolyData * GetSource()
Set/Get the source to use for this glyph.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define VTK_COLOR_BY_SOURCE
#define VTK_COLOR_BY_INPUT