18#ifndef vtkHyperTreeGridCellSizeStrategy_h
19#define vtkHyperTreeGridCellSizeStrategy_h
21#include "vtkFiltersHyperTreeModule.h"
26#include <unordered_map>
28VTK_ABI_NAMESPACE_BEGIN
72 bool InsertSize(
double cellSize,
vtkIdType currentIndex);
80 bool UseIndexedVolume =
true;
81 std::unordered_map<double, unsigned char> VolumeLookup;
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of double
Define the CellSize field used in vtkHyperTreeGridGenerateFields.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkHyperTreeGridCellSizeStrategy * New()
vtkDataArray * GetAndFinalizeArray() override
If UseIndexedVolume is true, build and return the output as an implicit indexed array.
void Initialize(vtkHyperTreeGrid *inputHTG) override
Init internal variables from inputHTG.
void Compute(vtkHyperTreeGridNonOrientedGeometryCursor *cursor) override
Record the depth of the cell pointed by the cursor in an internal structure.
Abstract class for field definition used by vtkHyperTreeGridGenerateFields.
virtual void Compute(vtkHyperTreeGridNonOrientedGeometryCursor *)
Reimplement to compute the data for the current cell.
virtual void Initialize(vtkHyperTreeGrid *vtkMaybeUnused(inputHTG))
Reimplement to initialize internal structures based on the given input HTG.
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Allocate and hold a VTK object.
dynamic, self-adjusting array of unsigned char