Go to the documentation of this file.
89 #include "vtkFiltersCoreModule.h"
92 #define VTK_SCALE_BY_SCALAR 0
93 #define VTK_SCALE_BY_VECTOR 1
94 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
95 #define VTK_DATA_SCALING_OFF 3
97 #define VTK_COLOR_BY_SCALE 0
98 #define VTK_COLOR_BY_SCALAR 1
99 #define VTK_COLOR_BY_VECTOR 2
101 #define VTK_USE_VECTOR 0
102 #define VTK_USE_NORMAL 1
103 #define VTK_VECTOR_ROTATION_OFF 2
105 #define VTK_INDEXING_OFF 0
106 #define VTK_INDEXING_BY_SCALAR 1
107 #define VTK_INDEXING_BY_VECTOR 2
150 this->SetSourceConnection(0, algOutput);
165 vtkGetMacro(Scaling,
int);
173 vtkGetMacro(ScaleMode,
int);
182 const char *GetScaleModeAsString();
190 vtkGetMacro(ColorMode,
int);
197 const char *GetColorModeAsString();
205 vtkGetMacro(ScaleFactor,
double);
212 vtkSetVector2Macro(Range,
double);
213 vtkGetVectorMacro(Range,
double,2);
222 vtkGetMacro(Orient,
int);
232 vtkGetMacro(Clamping,
int);
240 vtkGetMacro(VectorMode,
int);
245 const char *GetVectorModeAsString();
257 vtkGetMacro(IndexMode,
int);
261 const char *GetIndexModeAsString();
272 vtkGetMacro(GeneratePointIds,
int);
281 vtkSetStringMacro(PointIdsName);
292 vtkGetMacro(FillCellData,
int);
353 int GeneratePointIds;
360 void operator=(const
vtkGlyph3D&) VTK_DELETE_FUNCTION;
371 return "ScaleByScalar";
375 return "ScaleByVector";
379 return "DataScalingOff";
392 return "ColorByScalar";
396 return "ColorByVector";
400 return "ColorByScale";
421 return "VectorRotationOff";
434 return "IndexingOff";
438 return "IndexingByScalar";
442 return "IndexingByVector";
const char * GetColorModeAsString()
Return the method of coloring as a descriptive character string.
virtual int IsPointVisible(vtkDataSet *, vtkIdType)
This can be overwritten by subclass to return 0 when a point is blanked.
void SetScaleModeToScaleByVectorComponents()
#define VTK_VECTOR_ROTATION_OFF
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
const char * GetIndexModeAsString()
Return the index mode as a character string.
void SetIndexModeToScalar()
const char * GetVectorModeAsString()
Return the vector mode as a character string.
#define VTK_SCALE_BY_SCALAR
abstract superclass for arrays of numeric data
#define VTK_SCALE_BY_VECTOR
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetColorModeToColorByVector()
void SetScaleModeToDataScalingOff()
void SetIndexModeToVector()
#define VTK_INDEXING_BY_VECTOR
vtkTypeUInt64 vtkMTimeType
#define VTK_COLOR_BY_SCALAR
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetColorModeToColorByScalar()
a simple class to control print indentation
void SetVectorModeToUseNormal()
void SetScaleModeToScaleByVector()
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
abstract class to specify dataset behavior
copy oriented and scaled glyph geometry to every input point
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_COLOR_BY_VECTOR
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_COLOR_BY_SCALE
void SetColorModeToColorByScale()
#define VTK_SCALE_BY_VECTORCOMPONENTS
void SetVectorModeToVectorRotationOff()
void SetVectorModeToUseVector()
Proxy object to connect input/output ports.
void SetSourceData(vtkPolyData *pd)
Set the source to use for the glyph.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetScaleModeToScaleByScalar()
#define VTK_INDEXING_BY_SCALAR
static vtkPolyDataAlgorithm * New()
#define VTK_DATA_SCALING_OFF
Superclass for algorithms that produce only polydata as output.