|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   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);
 
  
virtual vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars)=0
Return the next cell that may contain scalar value specified to InitTraversal() (serial traversal).
virtual const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells)=0
Return the array of cell ids in the specified batch.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual vtkIdType GetNumberOfCellBatches(double scalarValue)=0
Get the number of cell batches available for processing as a function of the specified scalar value.
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
virtual void ShallowCopy(vtkScalarTree *stree)
This method is used to copy data members when cloning an instance of the class.
list of point or cell ids
virtual void Initialize()=0
Initialize locator.
organize data according to scalar values (used to accelerate contouring operations)
virtual void BuildTree()=0
Construct the scalar tree from the dataset provided.
organize data according to scalar values (used to accelerate contouring operations)