36 #ifndef vtkDepthSortPolyData_h
37 #define vtkDepthSortPolyData_h
42 #define VTK_DIRECTION_BACK_TO_FRONT 0
43 #define VTK_DIRECTION_FRONT_TO_BACK 1
44 #define VTK_DIRECTION_SPECIFIED_VECTOR 2
46 #define VTK_SORT_FIRST_POINT 0
47 #define VTK_SORT_BOUNDS_CENTER 1
48 #define VTK_SORT_PARAMETRIC_CENTER 2
66 vtkSetMacro(Direction,
int);
67 vtkGetMacro(Direction,
int);
81 vtkSetMacro(DepthSortMode,
int);
82 vtkGetMacro(DepthSortMode,
int);
107 {
return this->Prop3D; }
114 vtkSetVector3Macro(Vector,
double);
115 vtkGetVectorMacro(Vector,
double,3);
123 vtkSetVector3Macro(Origin,
double);
124 vtkGetVectorMacro(Origin,
double,3);
132 vtkSetMacro(SortScalars,
int);
133 vtkGetMacro(SortScalars,
int);
134 vtkBooleanMacro(SortScalars,
int);
146 void ComputeProjectionVector(
double vector[3],
double origin[3]);
#define VTK_SORT_BOUNDS_CENTER
void SetDepthSortModeToFirstPoint()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_DIRECTION_BACK_TO_FRONT
sort poly data along camera view direction
void SetDirectionToBackToFront()
represents an 3D object for placement in a rendered scene
void SetDepthSortModeToBoundsCenter()
#define VTK_DIRECTION_FRONT_TO_BACK
#define VTK_SORT_PARAMETRIC_CENTER
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
#define VTKFILTERSHYBRID_EXPORT
a virtual camera for 3D rendering
void SetDirectionToFrontToBack()
#define VTK_SORT_FIRST_POINT
#define VTK_DIRECTION_SPECIFIED_VECTOR
void SetDirectionToSpecifiedVector()
void SetDepthSortModeToParametricCenter()