Go to the documentation of this file.
79 #ifndef vtkGenericGlyph3DFilter_h
80 #define vtkGenericGlyph3DFilter_h
82 #include "vtkFiltersGenericModule.h"
85 #define VTK_SCALE_BY_SCALAR 0
86 #define VTK_SCALE_BY_VECTOR 1
87 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
88 #define VTK_DATA_SCALING_OFF 3
90 #define VTK_COLOR_BY_SCALE 0
91 #define VTK_COLOR_BY_SCALAR 1
92 #define VTK_COLOR_BY_VECTOR 2
94 #define VTK_USE_VECTOR 0
95 #define VTK_USE_NORMAL 1
96 #define VTK_VECTOR_ROTATION_OFF 2
98 #define VTK_INDEXING_OFF 0
99 #define VTK_INDEXING_BY_SCALAR 1
100 #define VTK_INDEXING_BY_VECTOR 2
144 vtkSetMacro(ScaleMode,
int);
145 vtkGetMacro(ScaleMode,
int);
154 const char *GetScaleModeAsString();
161 vtkSetMacro(ColorMode,
int);
162 vtkGetMacro(ColorMode,
int);
169 const char *GetColorModeAsString();
176 vtkSetMacro(ScaleFactor,
double);
177 vtkGetMacro(ScaleFactor,
double);
184 vtkSetVector2Macro(Range,
double);
185 vtkGetVectorMacro(Range,
double,2);
211 vtkSetMacro(VectorMode,
int);
212 vtkGetMacro(VectorMode,
int);
217 const char *GetVectorModeAsString();
226 vtkSetMacro(IndexMode,
int);
227 vtkGetMacro(IndexMode,
int);
231 const char *GetIndexModeAsString();
251 vtkSetStringMacro(PointIdsName);
252 vtkGetStringMacro(PointIdsName);
260 vtkGetStringMacro(InputScalarsSelection);
262 {this->SetInputScalarsSelection(fieldName);}
270 vtkGetStringMacro(InputVectorsSelection);
272 {this->SetInputVectorsSelection(fieldName);}
280 vtkGetStringMacro(InputNormalsSelection);
282 {this->SetInputNormalsSelection(fieldName);}
310 vtkSetStringMacro(InputScalarsSelection);
311 vtkSetStringMacro(InputVectorsSelection);
312 vtkSetStringMacro(InputNormalsSelection);
327 return "ScaleByScalar";
331 return "ScaleByVector";
335 return "DataScalingOff";
348 return "ColorByScalar";
352 return "ColorByVector";
356 return "ColorByScale";
377 return "VectorRotationOff";
390 return "IndexingOff";
394 return "IndexingByScalar";
398 return "IndexingByVector";
void SetIndexModeToScalar()
char * InputVectorsSelection
void SetSourceData(vtkPolyData *pd)
Set the source to use for the glyph.
void SetVectorModeToVectorRotationOff()
void SetColorModeToColorByScale()
char * InputScalarsSelection
void SetScaleModeToScaleByScalar()
void SetColorModeToColorByVector()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetScaleModeToScaleByVector()
const char * GetVectorModeAsString()
Return the vector mode as a character string.
void SelectInputNormals(const char *fieldName)
#define VTK_COLOR_BY_SCALAR
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_VECTOR_ROTATION_OFF
#define VTK_COLOR_BY_SCALE
void SelectInputScalars(const char *fieldName)
void SelectInputVectors(const char *fieldName)
const char * GetColorModeAsString()
Return the method of coloring as a descriptive character string.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
#define VTK_SCALE_BY_SCALAR
#define VTK_SCALE_BY_VECTORCOMPONENTS
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
const char * GetIndexModeAsString()
Return the index mode as a character string.
void SetVectorModeToUseNormal()
void SetVectorModeToUseVector()
#define VTK_INDEXING_BY_VECTOR
#define VTK_INDEXING_BY_SCALAR
#define VTK_COLOR_BY_VECTOR
void SetScaleModeToDataScalingOff()
const char * GetScaleModeAsString()
Return the method of scaling as a descriptive character string.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetColorModeToColorByScalar()
void SetScaleModeToScaleByVectorComponents()
#define VTK_SCALE_BY_VECTOR
copy oriented and scaled glyph geometry to every input point
char * InputNormalsSelection
void SetIndexModeToVector()
vtkTypeBool GeneratePointIds
static vtkPolyDataAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_DATA_SCALING_OFF
Superclass for algorithms that produce only polydata as output.