Go to the documentation of this file.
82 #ifndef vtkGenericGlyph3DFilter_h
83 #define vtkGenericGlyph3DFilter_h
85 #include "vtkFiltersGenericModule.h"
88 #define VTK_SCALE_BY_SCALAR 0
89 #define VTK_SCALE_BY_VECTOR 1
90 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
91 #define VTK_DATA_SCALING_OFF 3
93 #define VTK_COLOR_BY_SCALE 0
94 #define VTK_COLOR_BY_SCALAR 1
95 #define VTK_COLOR_BY_VECTOR 2
97 #define VTK_USE_VECTOR 0
98 #define VTK_USE_NORMAL 1
99 #define VTK_VECTOR_ROTATION_OFF 2
101 #define VTK_INDEXING_OFF 0
102 #define VTK_INDEXING_BY_SCALAR 1
103 #define VTK_INDEXING_BY_VECTOR 2
140 vtkGetMacro(Scaling,
int);
148 vtkGetMacro(ScaleMode,
int);
157 const char *GetScaleModeAsString();
165 vtkGetMacro(ColorMode,
int);
172 const char *GetColorModeAsString();
180 vtkGetMacro(ScaleFactor,
double);
187 vtkSetVector2Macro(Range,
double);
188 vtkGetVectorMacro(Range,
double,2);
197 vtkGetMacro(Orient,
int);
207 vtkGetMacro(Clamping,
int);
215 vtkGetMacro(VectorMode,
int);
220 const char *GetVectorModeAsString();
230 vtkGetMacro(IndexMode,
int);
234 const char *GetIndexModeAsString();
245 vtkGetMacro(GeneratePointIds,
int);
254 vtkSetStringMacro(PointIdsName);
265 {this->SetInputScalarsSelection(fieldName);}
275 {this->SetInputVectorsSelection(fieldName);}
285 {this->SetInputNormalsSelection(fieldName);}
313 vtkSetStringMacro(InputScalarsSelection);
314 vtkSetStringMacro(InputVectorsSelection);
315 vtkSetStringMacro(InputNormalsSelection);
330 return "ScaleByScalar";
334 return "ScaleByVector";
338 return "DataScalingOff";
351 return "ColorByScalar";
355 return "ColorByVector";
359 return "ColorByScale";
380 return "VectorRotationOff";
393 return "IndexingOff";
397 return "IndexingByScalar";
401 return "IndexingByVector";
void SetIndexModeToScalar()
char * InputVectorsSelection
void SetSourceData(vtkPolyData *pd)
Set the source to use for the glyph.
void SetVectorModeToVectorRotationOff()
void SetColorModeToColorByScale()
char * InputScalarsSelection
vtkPolyData * GetSource(int id=0)
Get a pointer to a source object at a specified table location.
void SetScaleModeToScaleByScalar()
void SetColorModeToColorByVector()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetScaleModeToScaleByVector()
const char * GetVectorModeAsString()
Return the vector mode as a character string.
void SelectInputNormals(const char *fieldName)
#define VTK_COLOR_BY_SCALAR
#define VTK_VECTOR_ROTATION_OFF
~vtkGenericGlyph3DFilter()
#define VTK_COLOR_BY_SCALE
void SelectInputScalars(const char *fieldName)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SelectInputVectors(const char *fieldName)
const char * GetColorModeAsString()
Return the method of coloring as a descriptive character string.
a simple class to control print indentation
#define VTK_SCALE_BY_SCALAR
static vtkGenericGlyph3DFilter * New()
Construct object with scaling on, scaling mode is by scalar value, scale factor = 1....
#define VTK_SCALE_BY_VECTORCOMPONENTS
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_COLOR_BY_VECTOR
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetScaleModeToDataScalingOff()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
const char * GetScaleModeAsString()
Return the method of scaling as a descriptive character string.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetSourceData(int id, vtkPolyData *pd)
Specify a source object at a specified table location.
void SetColorModeToColorByScalar()
void SetScaleModeToScaleByVectorComponents()
#define VTK_SCALE_BY_VECTOR
int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
copy oriented and scaled glyph geometry to every input point
char * InputNormalsSelection
void SetIndexModeToVector()
vtkGenericGlyph3DFilter()
#define VTK_DATA_SCALING_OFF
Superclass for algorithms that produce only polydata as output.