 |
VTK
9.1.0
|
Go to the documentation of this file.
60 #ifndef vtkDepthSortPolyData_h
61 #define vtkDepthSortPolyData_h
63 #include "vtkFiltersHybridModule.h"
83 VTK_DIRECTION_BACK_TO_FRONT = 0,
84 VTK_DIRECTION_FRONT_TO_BACK = 1,
85 VTK_DIRECTION_SPECIFIED_VECTOR = 2
93 vtkSetMacro(Direction,
int);
94 vtkGetMacro(Direction,
int);
102 VTK_SORT_FIRST_POINT = 0,
103 VTK_SORT_BOUNDS_CENTER = 1,
104 VTK_SORT_PARAMETRIC_CENTER = 2
114 vtkSetMacro(DepthSortMode,
int);
115 vtkGetMacro(DepthSortMode,
int);
146 vtkSetVector3Macro(Vector,
double);
147 vtkGetVectorMacro(Vector,
double, 3);
157 vtkSetVector3Macro(Origin,
double);
158 vtkGetVectorMacro(Origin,
double, 3);
void SetDepthSortModeToBoundsCenter()
Specify the point to use when sorting.
represents an 3D object for placement in a rendered scene
sort poly data along camera view direction
void ComputeProjectionVector(double direction[3], double origin[3])
void SetDirectionToFrontToBack()
Specify the sort method for the polygonal primitives.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetDirectionToBackToFront()
Specify the sort method for the polygonal primitives.
~vtkDepthSortPolyData() override
static vtkDepthSortPolyData * New()
Instantiate object.
vtkMTimeType GetMTime() override
Return MTime also considering the dependent objects: the camera and/or the prop3D.
virtual void SetCamera(vtkCamera *)
Specify a camera that is used to define a view direction along which the cells are sorted.
a simple class to control print indentation
a virtual camera for 3D rendering
void SetProp3D(vtkProp3D *)
Specify a transformation matrix (via the vtkProp3D::GetMatrix() method) that is used to include the e...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetDepthSortModeToParametricCenter()
Specify the point to use when sorting.
void SetDepthSortModeToFirstPoint()
Specify the point to use when sorting.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.
void SetDirectionToSpecifiedVector()
Specify the sort method for the polygonal primitives.