47 #ifndef vtkSimpleScalarTree_h 48 #define vtkSimpleScalarTree_h 50 #include "vtkCommonExecutionModelModule.h" 86 vtkSetClampMacro(BranchingFactor,
int, 2,
VTK_INT_MAX);
87 vtkGetMacro(BranchingFactor,
int);
95 vtkGetMacro(Level,
int);
103 vtkGetMacro(MaxLevel,
int);
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type related macros and PrintSelf() method.
virtual void InitTraversal(double scalarValue)=0
Begin to traverse the cells based on a scalar value (serial traversal).
abstract class to specify cell behavior
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
virtual vtkIdType GetNumberOfCellBatches(double scalarValue)=0
Get the number of cell batches available for processing as a function of the specified scalar value...
virtual vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars)=0
Return the next cell that may contain scalar value specified to InitTraversal() (serial traversal)...
organize data according to scalar values (used to accelerate contouring operations) ...
virtual const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells)=0
Return the array of cell ids in the specified batch.
virtual void Initialize()=0
Initialize locator.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void ShallowCopy(vtkScalarTree *stree)
This method is used to copy data members when cloning an instance of the class.
virtual void BuildTree()=0
Construct the scalar tree from the dataset provided.
organize data according to scalar values (used to accelerate contouring operations) ...