36 #include "vtkFiltersGeneralModule.h"
38 #define VTK_DICE_MODE_NUMBER_OF_POINTS 0
39 #define VTK_DICE_MODE_SPECIFIED_NUMBER 1
40 #define VTK_DICE_MODE_MEMORY_LIMIT 2
42 VTK_ABI_NAMESPACE_BEGIN
68 vtkGetMacro(DiceMode,
int);
80 vtkGetMacro(NumberOfActualPieces,
int);
89 vtkSetClampMacro(NumberOfPointsPerPiece,
int, 1000,
VTK_INT_MAX);
90 vtkGetMacro(NumberOfPointsPerPiece,
int);
102 vtkSetClampMacro(NumberOfPieces,
int, 1,
VTK_INT_MAX);
103 vtkGetMacro(NumberOfPieces,
int);
113 vtkSetClampMacro(MemoryLimit,
unsigned long, 100,
VTK_INT_MAX);
114 vtkGetMacro(MemoryLimit,
unsigned long);
121 virtual void UpdatePieceMeasures(
vtkDataSet* input);
132 void operator=(
const vtkDicer&) =
delete;
135 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
void SetDiceModeToSpecifiedNumberOfPieces()
Specify the method to determine how many pieces the data should be broken into.
abstract superclass to divide dataset into pieces
unsigned long MemoryLimit
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void SetDiceModeToNumberOfPointsPerPiece()
Specify the method to determine how many pieces the data should be broken into.
#define VTK_DICE_MODE_NUMBER_OF_POINTS
int NumberOfPointsPerPiece
#define VTK_DICE_MODE_SPECIFIED_NUMBER
#define VTK_DICE_MODE_MEMORY_LIMIT
Superclass for algorithms that produce output of the same type as input.
void SetDiceModeToMemoryLimitPerPiece()
Specify the method to determine how many pieces the data should be broken into.