81 #ifndef vtkGenericGlyph3DFilter_h
82 #define vtkGenericGlyph3DFilter_h
87 #define VTK_SCALE_BY_SCALAR 0
88 #define VTK_SCALE_BY_VECTOR 1
89 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
90 #define VTK_DATA_SCALING_OFF 3
92 #define VTK_COLOR_BY_SCALE 0
93 #define VTK_COLOR_BY_SCALAR 1
94 #define VTK_COLOR_BY_VECTOR 2
96 #define VTK_USE_VECTOR 0
97 #define VTK_USE_NORMAL 1
98 #define VTK_VECTOR_ROTATION_OFF 2
100 #define VTK_INDEXING_OFF 0
101 #define VTK_INDEXING_BY_SCALAR 1
102 #define VTK_INDEXING_BY_VECTOR 2
144 const char *GetScaleModeAsString();
157 const char *GetColorModeAsString();
195 const char *GetVectorModeAsString();
207 const char *GetIndexModeAsString();
234 {this->SetInputScalarsSelection(fieldName);}
243 {this->SetInputVectorsSelection(fieldName);}
252 {this->SetInputNormalsSelection(fieldName);}
295 return "ScaleByScalar";
299 return "ScaleByVector";
303 return "DataScalingOff";
314 return "ColorByScalar";
318 return "ColorByVector";
322 return "ColorByScale";
341 return "VectorRotationOff";
352 return "IndexingOff";
356 return "IndexingByScalar";
360 return "IndexingByVector";
void SetSourceData(vtkPolyData *pd)
void SetColorModeToColorByScale()
void SetVectorModeToVectorRotationOff()
#define VTK_INDEXING_BY_VECTOR
virtual int FillInputPortInformation(int port, vtkInformation *info)
char * InputScalarsSelection
char * InputVectorsSelection
void SetScaleModeToScaleByScalar()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SelectInputNormals(const char *fieldName)
void SetScaleModeToScaleByVector()
#define vtkGetMacro(name, type)
void SetColorModeToColorByVector()
#define VTKFILTERSGENERIC_EXPORT
const char * GetVectorModeAsString()
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_VECTOR_ROTATION_OFF
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
#define VTK_COLOR_BY_VECTOR
void SelectInputVectors(const char *fieldName)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
const char * GetColorModeAsString()
copy oriented and scaled glyph geometry to every input point
void SelectInputScalars(const char *fieldName)
Superclass for algorithms that produce only polydata as output.
#define VTK_SCALE_BY_SCALAR
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_SCALE_BY_VECTORCOMPONENTS
void SetVectorModeToUseVector()
#define vtkGetStringMacro(name)
#define VTK_COLOR_BY_SCALAR
const char * GetIndexModeAsString()
void SetVectorModeToUseNormal()
void SetScaleModeToDataScalingOff()
#define VTK_INDEXING_BY_SCALAR
#define VTK_DATA_SCALING_OFF
void SetColorModeToColorByScalar()
#define vtkBooleanMacro(name, type)
void SetScaleModeToScaleByVectorComponents()
const char * GetScaleModeAsString()
#define VTK_SCALE_BY_VECTOR
void SetIndexModeToVector()
#define vtkGetVectorMacro(name, type, count)
#define vtkSetVector2Macro(name, type)
#define VTK_COLOR_BY_SCALE
char * InputNormalsSelection
#define vtkSetMacro(name, type)
void SetIndexModeToScalar()