47 #include "vtkFiltersGeneralModule.h"
50 #define VTK_DICE_MODE_NUMBER_OF_POINTS 0
51 #define VTK_DICE_MODE_SPECIFIED_NUMBER 1
52 #define VTK_DICE_MODE_MEMORY_LIMIT 2
69 vtkGetMacro(FieldData,
int);
79 vtkGetMacro(DiceMode,
int);
94 vtkGetMacro(NumberOfActualPieces,
int);
103 vtkSetClampMacro(NumberOfPointsPerPiece,
int,1000,
VTK_INT_MAX);
104 vtkGetMacro(NumberOfPointsPerPiece,
int);
116 vtkSetClampMacro(NumberOfPieces,
int,1,
VTK_INT_MAX);
117 vtkGetMacro(NumberOfPieces,
int);
127 vtkSetClampMacro(MemoryLimit,
unsigned long,100,
VTK_INT_MAX);
128 vtkGetMacro(MemoryLimit,
unsigned long);
135 virtual void UpdatePieceMeasures(
vtkDataSet *input);
146 void operator=(const
vtkDicer&) VTK_DELETE_FUNCTION;
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetDiceModeToMemoryLimitPerPiece()
Specify the method to determine how many pieces the data should be broken into.