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);
80 vtkSetMacro(DepthSortMode,
int);
81 vtkGetMacro(DepthSortMode,
int);
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]);
#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
a virtual camera for 3D rendering
void SetDirectionToFrontToBack()
#define VTK_SORT_FIRST_POINT
#define VTK_DIRECTION_SPECIFIED_VECTOR
void SetDirectionToSpecifiedVector()
void SetDepthSortModeToParametricCenter()