#include <vtkDepthSortPolyData.h>
Inheritance diagram for vtkDepthSortPolyData:
vtkDepthSortPolyData rearranges the order of cells so that certain rendering operations (e.g., transparency or Painter's algorithms) generate correct results. To use this filter you must specify the direction vector along which to sort the cells. You can do this by specifying a camera and/or prop to define a view direction; or explicitly set a view direction.
Definition at line 53 of file vtkDepthSortPolyData.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
unsigned long | GetMTime () |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetDirection (int) |
virtual int | GetDirection () |
void | SetDirectionToFrontToBack () |
void | SetDirectionToBackToFront () |
void | SetDirectionToSpecifiedVector () |
virtual void | SetDepthSortMode (int) |
virtual int | GetDepthSortMode () |
void | SetDepthSortModeToFirstPoint () |
void | SetDepthSortModeToBoundsCenter () |
void | SetDepthSortModeToParametricCenter () |
virtual void | SetCamera (vtkCamera *) |
virtual vtkCamera * | GetCamera () |
void | SetProp3D (vtkProp3D *) |
vtkProp3D * | GetProp3D () |
virtual void | SetVector (double, double, double) |
virtual void | SetVector (double[3]) |
virtual double * | GetVector () |
virtual void | GetVector (double data[3]) |
virtual void | SetOrigin (double, double, double) |
virtual void | SetOrigin (double[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double data[3]) |
virtual void | SetSortScalars (int) |
virtual int | GetSortScalars () |
virtual void | SortScalarsOn () |
virtual void | SortScalarsOff () |
Static Public Member Functions | |
static vtkDepthSortPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkDepthSortPolyData * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkDepthSortPolyData () | |
~vtkDepthSortPolyData () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeProjectionVector (double vector[3], double origin[3]) |
Protected Attributes | |
int | Direction |
int | DepthSortMode |
vtkCamera * | Camera |
vtkProp3D * | Prop3D |
vtkTransform * | Transform |
double | Vector [3] |
double | Origin [3] |
int | SortScalars |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 59 of file vtkDepthSortPolyData.h. |
|
|
|
|
|
Instantiate object. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPolyDataAlgorithm. |
|
Specify the sort method for the polygonal primitives. By default, the poly data is sorted from back to front. |
|
|
|
Definition at line 67 of file vtkDepthSortPolyData.h. References VTK_DIRECTION_FRONT_TO_BACK. |
|
Definition at line 69 of file vtkDepthSortPolyData.h. References VTK_DIRECTION_BACK_TO_FRONT. |
|
Definition at line 71 of file vtkDepthSortPolyData.h. References VTK_DIRECTION_SPECIFIED_VECTOR. |
|
Specify the point to use when sorting. The fastest is to just take the first cell point. Other options are to take the bounding box center or the parametric center of the cell. By default, the first cell point is used. |
|
Specify the point to use when sorting. The fastest is to just take the first cell point. Other options are to take the bounding box center or the parametric center of the cell. By default, the first cell point is used. |
|
Specify the point to use when sorting. The fastest is to just take the first cell point. Other options are to take the bounding box center or the parametric center of the cell. By default, the first cell point is used. Definition at line 82 of file vtkDepthSortPolyData.h. References VTK_SORT_FIRST_POINT. |
|
Specify the point to use when sorting. The fastest is to just take the first cell point. Other options are to take the bounding box center or the parametric center of the cell. By default, the first cell point is used. Definition at line 84 of file vtkDepthSortPolyData.h. References VTK_SORT_BOUNDS_CENTER. |
|
Specify the point to use when sorting. The fastest is to just take the first cell point. Other options are to take the bounding box center or the parametric center of the cell. By default, the first cell point is used. Definition at line 86 of file vtkDepthSortPolyData.h. References VTK_SORT_PARAMETRIC_CENTER. |
|
Specify a camera that is used to define a view direction along which the cells are sorted. This ivar only has effect if the direction is set to front-to-back or back-to-front, and a camera is specified. |
|
Specify a camera that is used to define a view direction along which the cells are sorted. This ivar only has effect if the direction is set to front-to-back or back-to-front, and a camera is specified. |
|
Specify a transformation matrix (via the vtkProp3D::GetMatrix() method) that is used to include the effects of transformation. This ivar only has effect if the direction is set to front-to-back or back-to-front, and a camera is specified. Specifying the vtkProp3D is optional. |
|
Specify a transformation matrix (via the vtkProp3D::GetMatrix() method) that is used to include the effects of transformation. This ivar only has effect if the direction is set to front-to-back or back-to-front, and a camera is specified. Specifying the vtkProp3D is optional. |
|
Set/Get the sort direction. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector. |
|
Set/Get the sort direction. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector. |
|
Set/Get the sort direction. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector. |
|
Set/Get the sort direction. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector. |
|
Set/Get the sort origin. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector, with this point specifying the origin. |
|
Set/Get the sort origin. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector, with this point specifying the origin. |
|
Set/Get the sort origin. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector, with this point specifying the origin. |
|
Set/Get the sort origin. This ivar only has effect if the sort direction is set to SetDirectionToSpecifiedVector(). The sort occurs in the direction of the vector, with this point specifying the origin. |
|
Set/Get a flag that controls the generation of scalar values corresponding to the sort order. If enabled, the output of this filter will include scalar values that range from 0 to (ncells-1), where 0 is closest to the sort direction. |
|
Set/Get a flag that controls the generation of scalar values corresponding to the sort order. If enabled, the output of this filter will include scalar values that range from 0 to (ncells-1), where 0 is closest to the sort direction. |
|
Set/Get a flag that controls the generation of scalar values corresponding to the sort order. If enabled, the output of this filter will include scalar values that range from 0 to (ncells-1), where 0 is closest to the sort direction. |
|
Set/Get a flag that controls the generation of scalar values corresponding to the sort order. If enabled, the output of this filter will include scalar values that range from 0 to (ncells-1), where 0 is closest to the sort direction. |
|
Return MTime also considering the dependent objects: the camera and/or the prop3D. Reimplemented from vtkObject. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
|
|
Definition at line 146 of file vtkDepthSortPolyData.h. |
|
Definition at line 147 of file vtkDepthSortPolyData.h. |
|
Definition at line 148 of file vtkDepthSortPolyData.h. |
|
Definition at line 149 of file vtkDepthSortPolyData.h. |
|
Definition at line 150 of file vtkDepthSortPolyData.h. |
|
Definition at line 151 of file vtkDepthSortPolyData.h. |
|
Definition at line 152 of file vtkDepthSortPolyData.h. |
|
Definition at line 153 of file vtkDepthSortPolyData.h. |