38#ifndef vtkSimpleScalarTree_h
39#define vtkSimpleScalarTree_h
41#include "vtkCommonExecutionModelModule.h"
44VTK_ABI_NAMESPACE_BEGIN
79 vtkGetMacro(BranchingFactor,
int);
87 vtkGetMacro(Level,
int);
95 vtkGetMacro(MaxLevel,
int);
157 int FindStartLeaf(
vtkIdType index,
int level);
158 int FindNextLeaf(
vtkIdType index,
int level);
abstract class to specify cell behavior
abstract superclass for arrays of numeric data
list of point or cell ids
a simple class to control print indentation
organize data according to scalar values (used to accelerate contouring operations)
organize data according to scalar values (used to accelerate contouring operations)
vtkIdType GetNumberOfCellBatches(double scalarValue) override
Get the number of cell batches available for processing as a function of the specified scalar value.
~vtkSimpleScalarTree() override
const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells) override
Return the array of cell ids in the specified batch.
void ShallowCopy(vtkScalarTree *stree) override
This method is used to copy data members when cloning an instance of the class.
void BuildTree() override
Construct the scalar tree from the dataset provided.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type related macros and PrintSelf() method.
static vtkSimpleScalarTree * New()
Instantiate scalar tree with maximum level of 20 and branching factor of three.
vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars) override
Return the next cell that may contain scalar value specified to initialize traversal.
void InitTraversal(double scalarValue) override
Begin to traverse the cells based on a scalar value.
void Initialize() override
Initialize locator.