34 #ifndef vtkDepthSortPolyData_h
35 #define vtkDepthSortPolyData_h
37 #include "vtkFiltersHybridModule.h"
57 VTK_DIRECTION_BACK_TO_FRONT = 0,
58 VTK_DIRECTION_FRONT_TO_BACK = 1,
59 VTK_DIRECTION_SPECIFIED_VECTOR = 2
67 vtkSetMacro(Direction,
int);
68 vtkGetMacro(Direction,
int);
76 VTK_SORT_FIRST_POINT = 0,
77 VTK_SORT_BOUNDS_CENTER = 1,
78 VTK_SORT_PARAMETRIC_CENTER = 2
88 vtkSetMacro(DepthSortMode,
int);
89 vtkGetMacro(DepthSortMode,
int);
120 vtkSetVector3Macro(Vector,
double);
121 vtkGetVectorMacro(Vector,
double, 3);
131 vtkSetVector3Macro(Origin,
double);
132 vtkGetVectorMacro(Origin,
double, 3);
158 void ComputeProjectionVector(
double direction[3],
double origin[3]);
void SetDepthSortModeToFirstPoint()
Specify the point to use when sorting.
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
sort poly data along camera view direction
void SetDirectionToBackToFront()
Specify the sort method for the polygonal primitives.
represents an 3D object for placement in a rendered scene
void SetDepthSortModeToBoundsCenter()
Specify the point to use when sorting.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
a virtual camera for 3D rendering
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetDirectionToFrontToBack()
Specify the sort method for the polygonal primitives.
void SetDirectionToSpecifiedVector()
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 SetDepthSortModeToParametricCenter()
Specify the point to use when sorting.