42 #ifndef vtkSpanSpace_h
43 #define vtkSpanSpace_h
45 #include "vtkCommonExecutionModelModule.h"
48 VTK_ABI_NAMESPACE_BEGIN
50 struct vtkInternalSpanSpace;
88 vtkSetVector2Macro(ScalarRange,
double);
89 vtkGetVectorMacro(ScalarRange,
double, 2);
131 vtkGetMacro(NumberOfCellsPerBucket,
int);
197 double ScalarRange[2];
221 VTK_ABI_NAMESPACE_END
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
Standard type related macros and PrintSelf() method.
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.