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
98 VTK_ABI_NAMESPACE_BEGIN
140 this->SetSourceConnection(0, algOutput);
162 vtkSetMacro(ScaleMode,
int);
163 vtkGetMacro(ScaleMode,
int);
171 const char* GetScaleModeAsString();
178 vtkSetMacro(ColorMode,
int);
179 vtkGetMacro(ColorMode,
int);
183 const char* GetColorModeAsString();
190 vtkSetMacro(ScaleFactor,
double);
191 vtkGetMacro(ScaleFactor,
double);
198 vtkSetVector2Macro(
Range,
double);
199 vtkGetVectorMacro(
Range,
double, 2);
225 vtkSetMacro(VectorMode,
int);
226 vtkGetMacro(VectorMode,
int);
231 const char* GetVectorModeAsString();
239 vtkSetVectorMacro(FollowedCameraPosition,
double, 3);
240 vtkGetVectorMacro(FollowedCameraPosition,
double, 3);
247 vtkSetVectorMacro(FollowedCameraViewUp,
double, 3);
248 vtkGetVectorMacro(FollowedCameraViewUp,
double, 3);
259 vtkSetMacro(IndexMode,
int);
260 vtkGetMacro(IndexMode,
int);
264 const char* GetIndexModeAsString();
284 vtkSetStringMacro(PointIdsName);
285 vtkGetStringMacro(PointIdsName);
326 vtkSetMacro(OutputPointsPrecision,
int);
327 vtkGetMacro(OutputPointsPrecision,
int);
360 FollowedCameraPosition[3];
361 double FollowedCameraViewUp[3];
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";
455 VTK_ABI_NAMESPACE_END
#define VTK_FOLLOW_CAMERA_DIRECTION
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.
vtkTransform * SourceTransform
vtkTypeUInt32 vtkMTimeType
#define VTK_SCALE_BY_VECTORCOMPONENTS
abstract class to specify dataset behavior
void SetScaleModeToScaleByScalar()
Either scale by scalar or by vector/normal magnitude.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int OutputPointsPrecision
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()
auto Range(IterablePtr iterable, Options &&...opts) -> typename detail::IterableTraits< typename detail::StripPointers< IterablePtr >::type >::RangeType
Generate an iterable STL proxy object for a VTK container.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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
vtkTypeBool GeneratePointIds
const char * GetVectorModeAsString()
Return the vector mode as a character string.
const char * GetScaleModeAsString()
Return the method of scaling 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 SetVectorModeToFollowCameraDirection()
Specify whether to use vector or normal to perform vector operations.
void SetIndexModeToOff()
Index into table of sources by scalar, by vector/normal magnitude, or no indexing.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#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.