39 #ifndef vtkSpanSpace_h
40 #define vtkSpanSpace_h
42 #include "vtkCommonExecutionModelModule.h"
46 struct 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
static vtkSpanSpace * New()
Instantiate a scalar tree with default resolution of 100 and automatic scalar range computation.
vtkTypeBool ComputeScalarRange
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InitTraversal(double scalarValue) override
Begin to traverse the cells based on a scalar value.
void Initialize() override
Initialize the span space.
vtkInternalSpanSpace * SpanSpace
vtkTypeBool ComputeResolution
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.
vtkIdType GetNumberOfCellBatches(double scalarValue) override
Get the number of cell batches available for processing as a function of the specified scalar value.
int NumberOfCellsPerBucket
vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars) override
Return the next cell that may contain scalar value specified to InitTraversal().
void BuildTree() override
Construct the scalar tree from the dataset provided.