#include <vtkOBBDicer.h>
vtkOBBDicer separates the cells of a dataset into spatially aggregated pieces using a Oriented Bounding Box (OBB). These pieces can then be operated on by other filters (e.g., vtkThreshold). One application is to break very large polygonal models into pieces and performing viewing and occlusion culling on the pieces.
Refer to the superclass documentation (vtkDicer) for more information.
Definition at line 43 of file vtkOBBDicer.h.
Public Types | |
typedef vtkDicer | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkOBBDicer * | SafeDownCast (vtkObject *o) |
static vtkOBBDicer * | New () |
Protected Member Functions | |
vtkOBBDicer () | |
~vtkOBBDicer () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | BuildTree (vtkIdList *ptIds, vtkOBBNode *OBBptr, vtkDataSet *input) |
void | MarkPoints (vtkOBBNode *OBBptr, vtkShortArray *groupIds) |
void | DeleteTree (vtkOBBNode *OBBptr) |
Protected Attributes | |
vtkPoints * | PointsList |
typedef vtkDicer vtkOBBDicer::Superclass |
vtkOBBDicer::vtkOBBDicer | ( | ) | [inline, protected] |
Definition at line 53 of file vtkOBBDicer.h.
vtkOBBDicer::~vtkOBBDicer | ( | ) | [inline, protected] |
Definition at line 54 of file vtkOBBDicer.h.
virtual const char* vtkOBBDicer::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDicer.
static int vtkOBBDicer::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDicer.
virtual int vtkOBBDicer::IsA | ( | const char * | name | ) | [virtual] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDicer.
static vtkOBBDicer* vtkOBBDicer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDicer.
void vtkOBBDicer::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
static vtkOBBDicer* vtkOBBDicer::New | ( | ) | [static] |
Instantiate an object.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkOBBDicer::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
void vtkOBBDicer::BuildTree | ( | vtkIdList * | ptIds, | |
vtkOBBNode * | OBBptr, | |||
vtkDataSet * | input | |||
) | [protected] |
void vtkOBBDicer::MarkPoints | ( | vtkOBBNode * | OBBptr, | |
vtkShortArray * | groupIds | |||
) | [protected] |
void vtkOBBDicer::DeleteTree | ( | vtkOBBNode * | OBBptr | ) | [protected] |
vtkPoints* vtkOBBDicer::PointsList [protected] |
Definition at line 63 of file vtkOBBDicer.h.