vtkDicer - divide dataset into spatially aggregated pieces
Super Class: vtkDataSetToDataSetFilter
Description:
vtkDicer separates the cells of a dataset into spatially aggregated pieces. 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. To use this filter, you must specify the number of points per piece. The filter attempts to create groups of points (containing the number of cells specified). The groups are created to minimize the size of the bounding box of the group. The filter indicates which group the points belong in by creating a scalar value corresponding to group number. Use the method GetNumberOfPieces() to determine how many pieces were found.
Caveats:
The number of cells per group will not always be less than the requested value. The groups are not guaranteed to generate the minimal bounding boxes.
See Also:
Methods:
void vtkDicer () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
static vtkDicer *New () | |
void SetNumberOfPointsPerPiece (int ) | |
int GetNumberOfPointsPerPiece () | |
int GetNumberOfPieces () | |
void Execute () | |
void BuildTree (vtkIdList * ,vtkOBBNode *) | |
void MarkPoints (vtkOBBNode * ,vtkScalars *) | |
void DeleteTree (vtkOBBNode *) |
Detailed Method Descriptions:
static vtkDicer *New () |
void SetNumberOfPointsPerPiece (int ) | |
int GetNumberOfPointsPerPiece () |
int GetNumberOfPieces () |