VTK  9.4.2
vtkHyperTreeGridVisibleLeavesSize.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
35#ifndef vtkHyperTreeGridVisibleLeavesSize_h
36#define vtkHyperTreeGridVisibleLeavesSize_h
37
38#include "vtkFiltersHyperTreeModule.h" // For export macro
40
41#include <memory> // unique_ptr
42#include <ostream> // for ostream
43
44VTK_ABI_NAMESPACE_BEGIN
45class vtkDataObject;
46class vtkIndent;
47class vtkInformation;
50
51class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridVisibleLeavesSize
53{
54public:
57 void PrintSelf(ostream& ost, vtkIndent indent) override;
58
60
64 vtkGetMacro(CellSizeArrayName, std::string);
65 vtkSetMacro(CellSizeArrayName, std::string);
67
69
73 vtkGetMacro(ValidCellArrayName, std::string);
74 vtkSetMacro(ValidCellArrayName, std::string);
76
77protected:
79 ~vtkHyperTreeGridVisibleLeavesSize() override = default;
80
84 int ProcessTrees(vtkHyperTreeGrid*, vtkDataObject*) override;
85
86private:
88 void operator=(const vtkHyperTreeGridVisibleLeavesSize&) = delete;
89
94
95 std::string CellSizeArrayName = "CellSize";
96 std::string ValidCellArrayName = "ValidCell";
97
98 class vtkInternal;
99 std::unique_ptr<vtkInternal> Internal;
100};
101
102VTK_ABI_NAMESPACE_END
103#endif
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Generate a cell field equal to 1 if the cell is a valid leaf and 0 otherwise, as well as a size field...
static vtkHyperTreeGridVisibleLeavesSize * New()
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.