36 #ifndef __vtkDepthSortPolyData_h
37 #define __vtkDepthSortPolyData_h
41 #define VTK_DIRECTION_BACK_TO_FRONT 0
42 #define VTK_DIRECTION_FRONT_TO_BACK 1
43 #define VTK_DIRECTION_SPECIFIED_VECTOR 2
45 #define VTK_SORT_FIRST_POINT 0
46 #define VTK_SORT_BOUNDS_CENTER 1
47 #define VTK_SORT_PARAMETRIC_CENTER 2
65 vtkSetMacro(Direction,
int);
66 vtkGetMacro(Direction,
int);
67 void SetDirectionToFrontToBack()
69 void SetDirectionToBackToFront()
71 void SetDirectionToSpecifiedVector()
80 vtkSetMacro(DepthSortMode,
int);
81 vtkGetMacro(DepthSortMode,
int);
82 void SetDepthSortModeToFirstPoint()
84 void SetDepthSortModeToBoundsCenter()
86 void SetDepthSortModeToParametricCenter()
112 vtkSetVector3Macro(Vector,
double);
113 vtkGetVectorMacro(Vector,
double,3);
121 vtkSetVector3Macro(Origin,
double);
122 vtkGetVectorMacro(Origin,
double,3);
130 vtkSetMacro(SortScalars,
int);
131 vtkGetMacro(SortScalars,
int);
132 vtkBooleanMacro(SortScalars,
int);
144 void ComputeProjectionVector(
double vector[3],
double origin[3]);