42#include "vtkCommonExecutionModelModule.h"
46struct vtkInternalSpanSpace;
84 vtkSetVector2Macro(ScalarRange,
double);
85 vtkGetVectorMacro(ScalarRange,
double, 2);
127 vtkGetMacro(NumberOfCellsPerBucket,
int);
193 double ScalarRange[2];
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 span space
vtkTypeBool ComputeScalarRange
static vtkSpanSpace * New()
Instantiate a scalar tree with default resolution of 100 and automatic scalar range computation.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type related macros and PrintSelf() method.
void InitTraversal(double scalarValue) override
Begin to traverse the cells based on a scalar value.
const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells) override
Return the array of cell ids in the specified batch.
void Initialize() override
Initialize the span space.
vtkInternalSpanSpace * SpanSpace
vtkTypeBool ComputeResolution
void ShallowCopy(vtkScalarTree *stree) override
This method is used to copy data members when cloning an instance of the class.
vtkIdType GetNumberOfCellBatches(double scalarValue) override
Get the number of cell batches available for processing as a function of the specified scalar value.
int NumberOfCellsPerBucket
void BuildTree() override
Construct the scalar tree from the dataset provided.
vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars) override
Return the next cell that may contain scalar value specified to InitTraversal().