37 #ifndef vtkDepthSortPolyData_h
38 #define vtkDepthSortPolyData_h
40 #include "vtkFiltersHybridModule.h"
60 VTK_DIRECTION_BACK_TO_FRONT = 0,
61 VTK_DIRECTION_FRONT_TO_BACK = 1,
62 VTK_DIRECTION_SPECIFIED_VECTOR = 2
71 vtkGetMacro(Direction,
int);
73 {this->SetDirection(VTK_DIRECTION_FRONT_TO_BACK);}
75 {this->SetDirection(VTK_DIRECTION_BACK_TO_FRONT);}
77 {this->SetDirection(VTK_DIRECTION_SPECIFIED_VECTOR);}
82 VTK_SORT_FIRST_POINT = 0,
83 VTK_SORT_BOUNDS_CENTER = 1,
84 VTK_SORT_PARAMETRIC_CENTER = 2
95 vtkGetMacro(DepthSortMode,
int);
97 {this->SetDepthSortMode(VTK_SORT_FIRST_POINT);}
99 {this->SetDepthSortMode(VTK_SORT_BOUNDS_CENTER);}
101 {this->SetDepthSortMode(VTK_SORT_PARAMETRIC_CENTER);}
122 {
return this->Prop3D; }
130 vtkSetVector3Macro(Vector,
double);
131 vtkGetVectorMacro(Vector,
double,3);
141 vtkSetVector3Macro(Origin,
double);
142 vtkGetVectorMacro(Origin,
double,3);
153 vtkGetMacro(SortScalars,
int);
a virtual camera for 3D rendering
sort poly data along camera view direction
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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()
void SetDepthSortModeToBoundsCenter()
void SetDepthSortModeToFirstPoint()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetDirectionToSpecifiedVector()
vtkMTimeType GetMTime()
Return MTime also considering the dependent objects: the camera and/or the prop3D.
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType