 |
VTK
9.0.1
|
Go to the documentation of this file.
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
98 #define VTK_FOLLOW_CAMERA_DIRECTION 3
100 #define VTK_INDEXING_OFF 0
101 #define VTK_INDEXING_BY_SCALAR 1
102 #define VTK_INDEXING_BY_VECTOR 2
145 this->SetSourceConnection(0, algOutput);
167 vtkSetMacro(ScaleMode,
int);
168 vtkGetMacro(ScaleMode,
int);
176 const char* GetScaleModeAsString();
183 vtkSetMacro(ColorMode,
int);
184 vtkGetMacro(ColorMode,
int);
188 const char* GetColorModeAsString();
195 vtkSetMacro(ScaleFactor,
double);
196 vtkGetMacro(ScaleFactor,
double);
203 vtkSetVector2Macro(
Range,
double);
204 vtkGetVectorMacro(
Range,
double, 2);
230 vtkSetMacro(VectorMode,
int);
231 vtkGetMacro(VectorMode,
int);
236 const char* GetVectorModeAsString();
243 vtkSetVectorMacro(FollowedCameraPosition,
double, 3);
244 vtkGetVectorMacro(FollowedCameraPosition,
double, 3);
250 vtkSetVectorMacro(FollowedCameraViewUp,
double, 3);
251 vtkGetVectorMacro(FollowedCameraViewUp,
double, 3);
262 vtkSetMacro(IndexMode,
int);
263 vtkGetMacro(IndexMode,
int);
267 const char* GetIndexModeAsString();
287 vtkSetStringMacro(PointIdsName);
288 vtkGetStringMacro(PointIdsName);
329 vtkSetMacro(OutputPointsPrecision,
int);
330 vtkGetMacro(OutputPointsPrecision,
int);
363 FollowedCameraPosition[3];
364 double FollowedCameraViewUp[3];
386 return "ScaleByScalar";
390 return "ScaleByVector";
394 return "DataScalingOff";
407 return "ColorByScalar";
411 return "ColorByVector";
415 return "ColorByScale";
436 return "FollowCameraDirection";
440 return "VectorRotationOff";
453 return "IndexingOff";
457 return "IndexingByScalar";
461 return "IndexingByVector";
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.
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
#define VTK_FOLLOW_CAMERA_DIRECTION
void SetVectorModeToFollowCameraDirection()
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
vtkTransform * SourceTransform
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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
#define VTK_COLOR_BY_SCALAR
int OutputPointsPrecision
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetColorModeToColorByScalar()
a simple class to control print indentation
void SetVectorModeToUseNormal()
void SetScaleModeToScaleByVector()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
const char * GetScaleModeAsString()
Return the method of scaling as a descriptive character string.
abstract class to specify dataset behavior
copy oriented and scaled glyph geometry to every input point
#define VTK_COLOR_BY_VECTOR
#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()
vtkTypeBool GeneratePointIds
#define VTK_INDEXING_BY_SCALAR
static vtkPolyDataAlgorithm * New()
#define VTK_DATA_SCALING_OFF
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.