Go to the documentation of this file.
25 #ifndef vtkAMRDataSetCache_h
26 #define vtkAMRDataSetCache_h
28 #include "vtkIOAMRModule.h"
67 int compositeIdx,
const char *dataName );
75 int compositeIdx,
const char *dataName );
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
vtkDataArray * GetAMRBlockPointData(int compositeIdx, const char *dataName)
Given the name of the point array and AMR block composite index, this method returns a pointer to the...
bool HasAMRBlockCellData(int compositeIdx, const char *name)
Checks if the cell data array, associated with the provided name, has been cached for the AMR block w...
a simple class to control print indentation
void InsertAMRBlockCellData(int compositeIdx, vtkDataArray *dataArray)
Inserts a cell data array to an already cached block NOTE: this->HasAMRBlock( compositeIdx ) == true.
A concrete implementation of vtkObject that provides functionality for caching AMR blocks.
vtkDataArray * GetAMRBlockCellData(int compositeIdx, const char *dataName)
Given the name of the cell array and AMR block composite index, this method returns a pointer to the ...
void InsertAMRBlockPointData(int compositeIdx, vtkDataArray *dataArray)
Inserts a point data array to an already cached block NOTE: this->HasAMRBlock( compositeIdx ) == true...
void InsertAMRBlock(int compositeIdx, vtkUniformGrid *amrGrid)
Inserts an AMR block to the cache.
vtkUniformGrid * GetAMRBlock(int compositeIdx)
Given the composite index, this method returns the AMR block.
bool HasAMRBlockPointData(int compositeIdx, const char *name)
Checks if the point data array, associated with the provided name, has been cached for the AMR block ...
bool HasAMRBlock(const int compositeIdx)
Checks if the AMR block associated with the given composite is cached.
std::map< int, vtkUniformGrid * > AMRCacheType
static vtkAMRDataSetCache * New()
~vtkAMRDataSetCache() override