25 #ifndef vtkHyperTreeGridGenerateFields_h
26 #define vtkHyperTreeGridGenerateFields_h
28 #include "vtkFiltersHyperTreeModule.h"
32 #include <unordered_map>
34 VTK_ABI_NAMESPACE_BEGIN
51 virtual bool GetComputeCellSizeArray() VTK_FUTURE_CONST;
52 virtual
void SetComputeCellSizeArray(
bool enable);
53 vtkBooleanMacro(ComputeCellSizeArray,
bool);
61 virtual
std::
string GetCellSizeArrayName() VTK_FUTURE_CONST;
62 virtual
void SetCellSizeArrayName(
std::
string name);
70 virtual
bool GetComputeValidCellArray() VTK_FUTURE_CONST;
71 virtual
void SetComputeValidCellArray(
bool enable);
72 vtkBooleanMacro(ComputeValidCellArray,
bool);
80 virtual
std::
string GetValidCellArrayName() VTK_FUTURE_CONST;
81 virtual
void SetValidCellArrayName(
std::
string name);
89 virtual
bool GetComputeCellCenterArray() VTK_FUTURE_CONST;
90 virtual
void SetComputeCellCenterArray(
bool enable);
91 vtkBooleanMacro(ComputeCellCenterArray,
bool);
99 virtual
std::
string GetCellCenterArrayName() VTK_FUTURE_CONST;
100 virtual
void SetCellCenterArrayName(
std::
string name);
108 virtual
bool GetComputeTotalVisibleVolumeArray() VTK_FUTURE_CONST;
109 virtual
void SetComputeTotalVisibleVolumeArray(
bool enable);
110 vtkBooleanMacro(ComputeTotalVisibleVolumeArray,
bool);
118 virtual
std::
string GetTotalVisibleVolumeArrayName() VTK_FUTURE_CONST;
119 virtual
void SetTotalVisibleVolumeArrayName(
std::
string name);
124 ~vtkHyperTreeGridGenerateFields() override = default;
132 vtkHyperTreeGridGenerateFields(const vtkHyperTreeGridGenerateFields&) = delete;
133 void operator=(const vtkHyperTreeGridGenerateFields&) = delete;
140 vtkHyperTreeGrid* outputHTG, vtkHyperTreeGrid* input,
vtkDataObject::AttributeTypes
type);
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;
168 VTK_ABI_NAMESPACE_END
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
represent and manipulate cell attribute data
Objects for traversal a HyperTreeGrid.
Generate cell fields for a HTG.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract class for field definition used by vtkHyperTreeGridGenerateFields.
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
VTKACCELERATORSVTKMDATAMODEL_EXPORT void ProcessFields(vtkDataSet *input, viskores::cont::DataSet &dataset, tovtkm::FieldsFlag fields)
general representation of visualization data