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);
67 {this->SetDirection(VTK_DIRECTION_FRONT_TO_BACK);}
69 {this->SetDirection(VTK_DIRECTION_BACK_TO_FRONT);}
71 {this->SetDirection(VTK_DIRECTION_SPECIFIED_VECTOR);}
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);
91 {this->SetDepthSortMode(VTK_SORT_FIRST_POINT);}
93 {this->SetDepthSortMode(VTK_SORT_BOUNDS_CENTER);}
95 {this->SetDepthSortMode(VTK_SORT_PARAMETRIC_CENTER);}
116 {
return this->Prop3D; }
124 vtkSetVector3Macro(Vector,
double);
125 vtkGetVectorMacro(Vector,
double,3);
135 vtkSetVector3Macro(Origin,
double);
136 vtkGetVectorMacro(Origin,
double,3);
162 void ComputeProjectionVector(
double vector[3],
double origin[3]);