25#ifndef vtkHyperTreeGridGenerateFields_h
26#define vtkHyperTreeGridGenerateFields_h
28#include "vtkFiltersHyperTreeModule.h"
32#include <unordered_map>
34VTK_ABI_NAMESPACE_BEGIN
53 vtkBooleanMacro(ComputeCellSizeArray,
bool);
72 vtkBooleanMacro(ComputeValidCellArray,
bool);
91 vtkBooleanMacro(ComputeCellCenterArray,
bool);
110 vtkBooleanMacro(ComputeTotalVisibleVolumeArray,
bool);
145 void InitializeFields();
154 std::
string CellSizeArrayName =
"CellSize";
155 std::
string ValidCellArrayName =
"ValidCell";
156 std::
string CellCenterArrayName =
"CellCenter";
157 std::
string TotalVisibleVolumeArrayName =
"TotalVisibleVolume";
160 bool ComputeCellSizeArray = true;
161 bool ComputeValidCellArray = true;
162 bool ComputeCellCenterArray = true;
163 bool ComputeTotalVisibleVolumeArray = true;
represent and manipulate cell attribute data
general representation of visualization data
vtkHyperTreeGridAlgorithm()
Abstract class for field definition used by vtkHyperTreeGridGenerateFields.
virtual void SetValidCellArrayName(std::string name)
Get/Set the name used for the cell validity array.
virtual std::string GetCellCenterArrayName() VTK_FUTURE_CONST
Get/Set the name used for the cell center array.
virtual void SetCellSizeArrayName(std::string name)
Get/Set the name used for the cell size array.
virtual bool GetComputeCellSizeArray() VTK_FUTURE_CONST
Enable/disable the computation of the CellSize array.
virtual std::string GetValidCellArrayName() VTK_FUTURE_CONST
Get/Set the name used for the cell validity array.
virtual void SetComputeCellCenterArray(bool enable)
Enable/disable the computation of the CellCenter array.
virtual void SetTotalVisibleVolumeArrayName(std::string name)
Get/Set the name used for the total visible volume array.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main filter routine : process the HTG cell data and then field data.
virtual void SetComputeCellSizeArray(bool enable)
Enable/disable the computation of the CellSize array.
static vtkHyperTreeGridGenerateFields * New()
vtkHyperTreeGridGenerateFields()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetComputeTotalVisibleVolumeArray(bool enable)
Enable/disable the computation of the TotalVisibleVolume array.
virtual bool GetComputeCellCenterArray() VTK_FUTURE_CONST
Enable/disable the computation of the CellCenter array.
virtual void SetComputeValidCellArray(bool enable)
Enable/disable the computation of the ValidCell array.
virtual bool GetComputeTotalVisibleVolumeArray() VTK_FUTURE_CONST
Enable/disable the computation of the TotalVisibleVolume array.
virtual std::string GetCellSizeArrayName() VTK_FUTURE_CONST
Get/Set the name used for the cell size array.
virtual std::string GetTotalVisibleVolumeArrayName() VTK_FUTURE_CONST
Get/Set the name used for the total visible volume array.
virtual bool GetComputeValidCellArray() VTK_FUTURE_CONST
Enable/disable the computation of the ValidCell array.
virtual void SetCellCenterArrayName(std::string name)
Get/Set the name used for the cell center array.
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