14#ifndef vtkHyperTreeGridTotalVisibleVolumeStrategy_h
15#define vtkHyperTreeGridTotalVisibleVolumeStrategy_h
17#include "vtkFiltersHyperTreeModule.h"
21VTK_ABI_NAMESPACE_BEGIN
41 bool Initialize(std::unordered_map<std::string, Field> fieldMap)
override;
49 std::unordered_map<std::string, Field> fieldMap)
override;
61 double TotalVisibleVolume = 0;
represent and manipulate cell attribute data
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of double
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.
Define the TotalVisibleVolume field data used in vtkHyperTreeGridGenerateFields.
void Compute(vtkHyperTreeGridNonOrientedGeometryCursor *cursor, vtkCellData *cellData, std::unordered_map< std::string, Field > fieldMap) override
Aggregates the volume of visible cells.
vtkDataArray * GetAndFinalizeArray() override
Set a unique tuple of TotalVisibleVolumeArray to TotalVisibleVolume and return the array.
bool Initialize(std::unordered_map< std::string, Field > fieldMap) override
Init internal variables from inputHTG.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkHyperTreeGridTotalVisibleVolumeStrategy * New()
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.