77#include "vtkFiltersCoreModule.h"
80#define VTK_SCALE_BY_SCALAR 0
81#define VTK_SCALE_BY_VECTOR 1
82#define VTK_SCALE_BY_VECTORCOMPONENTS 2
83#define VTK_DATA_SCALING_OFF 3
85#define VTK_COLOR_BY_SCALE 0
86#define VTK_COLOR_BY_SCALAR 1
87#define VTK_COLOR_BY_VECTOR 2
89#define VTK_USE_VECTOR 0
90#define VTK_USE_NORMAL 1
91#define VTK_VECTOR_ROTATION_OFF 2
92#define VTK_FOLLOW_CAMERA_DIRECTION 3
94#define VTK_INDEXING_OFF 0
95#define VTK_INDEXING_BY_SCALAR 1
96#define VTK_INDEXING_BY_VECTOR 2
98VTK_ABI_NAMESPACE_BEGIN
171 const char* GetScaleModeAsString();
183 const char* GetColorModeAsString();
199 vtkGetVectorMacro(
Range,
double, 2);
231 const char* GetVectorModeAsString();
264 const char* GetIndexModeAsString();
382 return "ScaleByScalar";
386 return "ScaleByVector";
390 return "DataScalingOff";
401 return "ColorByScalar";
405 return "ColorByVector";
409 return "ColorByScale";
428 return "FollowCameraDirection";
432 return "VectorRotationOff";
443 return "IndexingOff";
447 return "IndexingByScalar";
451 return "IndexingByVector";
Proxy object to connect input/output ports.
abstract class to specify dataset behavior
void SetIndexModeToScalar()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
virtual void SetIndexMode(int)
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
void SetSourceData(int id, vtkPolyData *pd)
Specify a source object at a specified table location.
void SetScaleModeToScaleByVector()
Either scale by scalar or by vector/normal magnitude.
double FollowedCameraPosition[3]
int OutputPointsPrecision
void SetVectorModeToUseNormal()
Specify whether to use vector or normal to perform vector operations.
const char * GetVectorModeAsString()
Return the vector mode as a character string.
void SetScaleModeToScaleByVectorComponents()
Either scale by scalar or by vector/normal magnitude.
void SetIndexModeToOff()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
void SetScaleModeToScaleByScalar()
Either scale by scalar or by vector/normal magnitude.
void SetColorModeToColorByScalar()
Either color by scale, scalar or by vector/normal magnitude.
void SetSourceTransform(vtkTransform *)
When set, this is use to transform the source polydata before using it to generate the glyph.
const char * GetIndexModeAsString()
Return the index mode as a character string.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double FollowedCameraViewUp[3]
const char * GetScaleModeAsString()
Return the method of scaling as a descriptive character string.
void SetVectorModeToUseVector()
Specify whether to use vector or normal to perform vector operations.
void SetScaleModeToDataScalingOff()
Either scale by scalar or by vector/normal magnitude.
vtkMTimeType GetMTime() override
Overridden to include SourceTransform's MTime.
virtual int IsPointVisible(vtkDataSet *, vtkIdType)
This can be overwritten by subclass to return 0 when a point is blanked.
const char * GetColorModeAsString()
Return the method of coloring as a descriptive character string.
void SetSourceConnection(int id, vtkAlgorithmOutput *algOutput)
Specify a source object at a specified table location.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPolyData * GetSource(int id=0)
Get a pointer to a source object at a specified table location.
void SetColorModeToColorByScale()
Either color by scale, scalar or by vector/normal magnitude.
virtual bool Execute(vtkDataSet *input, vtkInformationVector *sourceVector, vtkPolyData *output, vtkDataArray *inSScalars, vtkDataArray *inVectors)
Method called in RequestData() to do the actual data processing.
void SetColorModeToColorByVector()
Either color by scale, scalar or by vector/normal magnitude.
virtual void SetVectorMode(int)
Specify whether to use vector or normal to perform vector operations.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify a source object at a specified table location.
virtual void SetScaleMode(int)
Either scale by scalar or by vector/normal magnitude.
int FillInputPortInformation(int, vtkInformation *) override
vtkPolyData * GetSource(int idx, vtkInformationVector *sourceInfo)
void SetVectorModeToFollowCameraDirection()
Specify whether to use vector or normal to perform vector operations.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTransform * SourceTransform
void SetIndexModeToVector()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
void SetSourceData(vtkPolyData *pd)
Set the source to use for the glyph.
void SetVectorModeToVectorRotationOff()
Specify whether to use vector or normal to perform vector operations.
vtkTypeBool GeneratePointIds
virtual bool Execute(vtkDataSet *input, vtkInformationVector *sourceVector, vtkPolyData *output)
Method called in RequestData() to do the actual data processing.
static vtkGlyph3D * New()
Construct object with scaling on, scaling mode is by scalar value, scale factor = 1....
virtual void SetColorMode(int)
Either color by scale, scalar or by vector/normal magnitude.
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_COLOR_BY_VECTOR
#define VTK_FOLLOW_CAMERA_DIRECTION
#define VTK_SCALE_BY_SCALAR
#define VTK_INDEXING_BY_SCALAR
#define VTK_DATA_SCALING_OFF
#define VTK_VECTOR_ROTATION_OFF
#define VTK_COLOR_BY_SCALAR
#define VTK_INDEXING_BY_VECTOR
#define VTK_SCALE_BY_VECTOR
#define VTK_COLOR_BY_SCALE
#define VTK_SCALE_BY_VECTORCOMPONENTS
vtkTypeUInt32 vtkMTimeType