83 #include "vtkFiltersCoreModule.h"
86 #define VTK_SCALE_BY_SCALAR 0
87 #define VTK_SCALE_BY_VECTOR 1
88 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
89 #define VTK_DATA_SCALING_OFF 3
91 #define VTK_COLOR_BY_SCALE 0
92 #define VTK_COLOR_BY_SCALAR 1
93 #define VTK_COLOR_BY_VECTOR 2
95 #define VTK_USE_VECTOR 0
96 #define VTK_USE_NORMAL 1
97 #define VTK_VECTOR_ROTATION_OFF 2
99 #define VTK_INDEXING_OFF 0
100 #define VTK_INDEXING_BY_SCALAR 1
101 #define VTK_INDEXING_BY_VECTOR 2
144 this->SetSourceConnection(0, algOutput);
159 vtkGetMacro(Scaling,
int);
167 vtkGetMacro(ScaleMode,
int);
176 const char *GetScaleModeAsString();
184 vtkGetMacro(ColorMode,
int);
191 const char *GetColorModeAsString();
199 vtkGetMacro(ScaleFactor,
double);
206 vtkSetVector2Macro(Range,
double);
207 vtkGetVectorMacro(Range,
double,2);
216 vtkGetMacro(Orient,
int);
226 vtkGetMacro(Clamping,
int);
234 vtkGetMacro(VectorMode,
int);
239 const char *GetVectorModeAsString();
251 vtkGetMacro(IndexMode,
int);
255 const char *GetIndexModeAsString();
266 vtkGetMacro(GeneratePointIds,
int);
275 vtkSetStringMacro(PointIdsName);
286 vtkGetMacro(FillCellData,
int);
313 ~vtkGlyph3D() VTK_OVERRIDE;
316 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
317 int FillInputPortInformation(
int, vtkInformation *) VTK_OVERRIDE;
319 vtkPolyData* GetSource(
int idx, vtkInformationVector *sourceInfo);
328 vtkInformationVector* sourceVector,
331 vtkInformationVector* sourceVector,
347 int GeneratePointIds;
353 vtkGlyph3D(const vtkGlyph3D&) VTK_DELETE_FUNCTION;
354 void operator=(const vtkGlyph3D&) VTK_DELETE_FUNCTION;
361 inline const
char *vtkGlyph3D::GetScaleModeAsString(
void)
365 return "ScaleByScalar";
369 return "ScaleByVector";
373 return "DataScalingOff";
386 return "ColorByScalar";
390 return "ColorByVector";
394 return "ColorByScale";
415 return "VectorRotationOff";
428 return "IndexingOff";
432 return "IndexingByScalar";
436 return "IndexingByVector";
void SetScaleModeToScaleByVectorComponents()
Either scale by scalar or by vector/normal magnitude.
const char * GetIndexModeAsString()
Return the index mode as a character string.
void SetSourceData(vtkPolyData *pd)
Set the source to use for the glyph.
void SetScaleModeToScaleByVector()
Either scale by scalar or by vector/normal magnitude.
void SetColorModeToColorByScale()
Either color by scale, scalar or by vector/normal magnitude.
void SetIndexModeToVector()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
vtkTypeUInt32 vtkMTimeType
#define VTK_SCALE_BY_VECTORCOMPONENTS
abstract class to specify dataset behavior
void SetScaleModeToScaleByScalar()
Either scale by scalar or by vector/normal magnitude.
const char * GetColorModeAsString()
Return the method of coloring as a descriptive character string.
#define VTK_COLOR_BY_VECTOR
#define VTK_SCALE_BY_SCALAR
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_SCALE_BY_VECTOR
void SetColorModeToColorByVector()
Either color by scale, scalar or by vector/normal magnitude.
Proxy object to connect input/output ports.
#define VTK_COLOR_BY_SCALAR
#define VTK_DATA_SCALING_OFF
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
#define VTK_INDEXING_BY_SCALAR
void SetIndexModeToScalar()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
a simple class to control print indentation
void SetColorModeToColorByScalar()
Either color by scale, scalar or by vector/normal magnitude.
void SetVectorModeToUseNormal()
Specify whether to use vector or normal to perform vector operations.
copy oriented and scaled glyph geometry to every input point
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetVectorModeToVectorRotationOff()
Specify whether to use vector or normal to perform vector operations.
void SetScaleModeToDataScalingOff()
Either scale by scalar or by vector/normal magnitude.
#define VTK_VECTOR_ROTATION_OFF
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
const char * GetVectorModeAsString()
Return the vector mode as a character string.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int IsPointVisible(vtkDataSet *, vtkIdType)
This can be overwritten by subclass to return 0 when a point is blanked.
void SetIndexModeToOff()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_COLOR_BY_SCALE
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify a source object at a specified table location.
#define VTK_INDEXING_BY_VECTOR
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetVectorModeToUseVector()
Specify whether to use vector or normal to perform vector operations.