 |
VTK
9.0.1
|
Go to the documentation of this file.
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];
void Initialize() override
Initialize the span space.
abstract superclass for arrays of numeric data
int NumberOfCellsPerBucket
void BuildTree() override
Construct the scalar tree from the dataset provided.
vtkTypeBool ComputeScalarRange
abstract class to specify cell behavior
a simple class to control print indentation
list of point or cell ids
void InitTraversal(double scalarValue) override
Begin to traverse the cells based on a scalar value.
vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars) override
Return the next cell that may contain scalar value specified to InitTraversal().
vtkIdType GetNumberOfCellBatches(double scalarValue) override
Get the number of cell batches available for processing as a function of the specified scalar value.
vtkTypeBool ComputeResolution
static vtkSpanSpace * New()
Instantiate a scalar tree with default resolution of 100 and automatic scalar range computation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ShallowCopy(vtkScalarTree *stree) override
This method is used to copy data members when cloning an instance of the class.
organize data according to scalar span space
const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells) override
Return the array of cell ids in the specified batch.
organize data according to scalar values (used to accelerate contouring operations)
vtkInternalSpanSpace * SpanSpace