 |
VTK
9.0.20210409
|
Go to the documentation of this file.
42 #ifndef vtkScalarTree_h
43 #define vtkScalarTree_h
45 #include "vtkCommonExecutionModelModule.h"
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
virtual vtkCell * GetNextCell(vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars)=0
Return the next cell that may contain scalar value specified to InitTraversal() (serial traversal).
virtual const vtkIdType * GetCellBatch(vtkIdType batchNum, vtkIdType &numCells)=0
Return the array of cell ids in the specified batch.
record modification and/or execution time
~vtkScalarTree() override
abstract base class for most VTK objects
virtual vtkIdType GetNumberOfCellBatches(double scalarValue)=0
Get the number of cell batches available for processing as a function of the specified scalar value.
abstract superclass for arrays of numeric data
virtual void SetDataSet(vtkDataSet *)
Build the tree from the points/cells and scalars defining this dataset.
double GetScalarValue()
Return the current scalar value over which tree traversal is proceeding.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void InitTraversal(double scalarValue)=0
Begin to traverse the cells based on a scalar value (serial traversal).
abstract class to specify cell behavior
a simple class to control print indentation
virtual void ShallowCopy(vtkScalarTree *stree)
This method is used to copy data members when cloning an instance of the class.
list of point or cell ids
virtual void SetScalars(vtkDataArray *)
Build the tree from the points/cells and scalars defining the dataset and scalars provided.
virtual void Initialize()=0
Initialize locator.
abstract class to specify dataset behavior
virtual void BuildTree()=0
Construct the scalar tree from the dataset provided.
organize data according to scalar values (used to accelerate contouring operations)