#include <vtkDicer.h>
Inheritance diagram for vtkDicer:
Subclasses of vtkDicer divides the input dataset into separate 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. Multiple pieces can also be streamed through the visualization pipeline.
To use this filter, you must specify the execution mode of the filter; i.e., set the way that the piece size is controlled (do this by setting the DiceMode ivar). The filter does not change the geometry or topology of the input dataset, rather it generates integer numbers that indicate which piece a particular point belongs to (i.e., it modifies the point and cell attribute data). The integer number can be placed into the output scalar data, or the output field data.
Definition at line 63 of file vtkDicer.h.
Public Types | |
typedef vtkDataSetToDataSetFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFieldData (int) |
virtual int | GetFieldData () |
virtual void | FieldDataOn () |
virtual void | FieldDataOff () |
virtual void | SetDiceMode (int) |
virtual int | GetDiceMode () |
void | SetDiceModeToNumberOfPointsPerPiece () |
void | SetDiceModeToSpecifiedNumberOfPieces () |
void | SetDiceModeToMemoryLimitPerPiece () |
virtual int | GetNumberOfActualPieces () |
virtual void | SetNumberOfPointsPerPiece (int) |
virtual int | GetNumberOfPointsPerPiece () |
virtual void | SetNumberOfPieces (int) |
virtual int | GetNumberOfPieces () |
virtual void | SetMemoryLimit (unsigned long) |
virtual unsigned long | GetMemoryLimit () |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkDicer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkDicer () | |
~vtkDicer () | |
virtual void | UpdatePieceMeasures () |
Protected Attributes | |
int | NumberOfPointsPerPiece |
int | NumberOfPieces |
unsigned long | MemoryLimit |
int | NumberOfActualPieces |
int | FieldData |
int | DiceMode |
|
Reimplemented from vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. Definition at line 66 of file vtkDicer.h. |
|
|
|
Definition at line 127 of file vtkDicer.h. |
|
Reimplemented from vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. |
|
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 vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. |
|
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 vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. |
|
Reimplemented from vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. |
|
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 vtkDataSetToDataSetFilter. Reimplemented in vtkOBBDicer. |
|
Set/Get the flag which controls whether to generate point scalar data or point field data. If this flag is off, scalar data is generated. Otherwise, field data is generated. Note that the generated the data are integer numbers indicating which piece a particular point belongs to. |
|
Set/Get the flag which controls whether to generate point scalar data or point field data. If this flag is off, scalar data is generated. Otherwise, field data is generated. Note that the generated the data are integer numbers indicating which piece a particular point belongs to. |
|
Set/Get the flag which controls whether to generate point scalar data or point field data. If this flag is off, scalar data is generated. Otherwise, field data is generated. Note that the generated the data are integer numbers indicating which piece a particular point belongs to. |
|
Set/Get the flag which controls whether to generate point scalar data or point field data. If this flag is off, scalar data is generated. Otherwise, field data is generated. Note that the generated the data are integer numbers indicating which piece a particular point belongs to. |
|
Specify the method to determine how many pieces the data should be broken into. By default, the number of points per piece is used. |
|
Specify the method to determine how many pieces the data should be broken into. By default, the number of points per piece is used. |
|
Specify the method to determine how many pieces the data should be broken into. By default, the number of points per piece is used. Definition at line 85 of file vtkDicer.h. References VTK_DICE_MODE_NUMBER_OF_POINTS. |
|
Specify the method to determine how many pieces the data should be broken into. By default, the number of points per piece is used. Definition at line 87 of file vtkDicer.h. References VTK_DICE_MODE_SPECIFIED_NUMBER. |
|
Specify the method to determine how many pieces the data should be broken into. By default, the number of points per piece is used. Definition at line 89 of file vtkDicer.h. References VTK_DICE_MODE_MEMORY_LIMIT. |
|
Use the following method after the filter has updated to determine the actual number of pieces the data was separated into. |
|
Control piece size based on the maximum number of points per piece. (This ivar has effect only when the DiceMode is set to SetDiceModeToNumberOfPoints().) |
|
Control piece size based on the maximum number of points per piece. (This ivar has effect only when the DiceMode is set to SetDiceModeToNumberOfPoints().) |
|
Set/Get the number of pieces the object is to be separated into. (This ivar has effect only when the DiceMode is set to SetDiceModeToSpecifiedNumber()). Note that the ivar NumberOfPieces is a target - depending on the particulars of the data, more or less number of pieces than the target value may be created. |
|
Set/Get the number of pieces the object is to be separated into. (This ivar has effect only when the DiceMode is set to SetDiceModeToSpecifiedNumber()). Note that the ivar NumberOfPieces is a target - depending on the particulars of the data, more or less number of pieces than the target value may be created. |
|
Control piece size based on a memory limit. (This ivar has effect only when the DiceMode is set to SetDiceModeToMemoryLimit()). The memory limit should be set in kilobytes. |
|
Control piece size based on a memory limit. (This ivar has effect only when the DiceMode is set to SetDiceModeToMemoryLimit()). The memory limit should be set in kilobytes. |
|
|
|
Definition at line 131 of file vtkDicer.h. |
|
Definition at line 132 of file vtkDicer.h. |
|
Definition at line 133 of file vtkDicer.h. |
|
Definition at line 134 of file vtkDicer.h. |
|
Definition at line 135 of file vtkDicer.h. |
|
Definition at line 136 of file vtkDicer.h. |