31 #ifndef vtkDepthSortPolyData_h
32 #define vtkDepthSortPolyData_h
34 #include "vtkFiltersHybridModule.h"
54 VTK_DIRECTION_BACK_TO_FRONT = 0,
55 VTK_DIRECTION_FRONT_TO_BACK = 1,
56 VTK_DIRECTION_SPECIFIED_VECTOR = 2
64 vtkSetMacro(Direction,
int);
65 vtkGetMacro(Direction,
int);
73 VTK_SORT_FIRST_POINT = 0,
74 VTK_SORT_BOUNDS_CENTER = 1,
75 VTK_SORT_PARAMETRIC_CENTER = 2
85 vtkSetMacro(DepthSortMode,
int);
86 vtkGetMacro(DepthSortMode,
int);
117 vtkSetVector3Macro(Vector,
double);
118 vtkGetVectorMacro(Vector,
double, 3);
128 vtkSetVector3Macro(Origin,
double);
129 vtkGetVectorMacro(Origin,
double, 3);
a virtual camera for 3D rendering
sort poly data along camera view direction
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetDirectionToBackToFront()
virtual void SetCamera(vtkCamera *)
Specify a camera that is used to define a view direction along which the cells are sorted.
void SetDirectionToFrontToBack()
void ComputeProjectionVector(double vector[3], double origin[3])
void SetDepthSortModeToParametricCenter()
vtkMTimeType GetMTime() override
Return MTime also considering the dependent objects: the camera and/or the prop3D.
void SetDepthSortModeToBoundsCenter()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetDepthSortModeToFirstPoint()
~vtkDepthSortPolyData() override
void SetDirectionToSpecifiedVector()
static vtkDepthSortPolyData * New()
Instantiate object.
void SetProp3D(vtkProp3D *)
Specify a transformation matrix (via the vtkProp3D::GetMatrix() method) that is used to include the e...
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
represents an 3D object for placement in a rendered scene
vtkTypeUInt32 vtkMTimeType