VTK  9.7.1
vtkHyperTreeGridGeometry.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 vtkHyperTreeGridGeometry_h
36 #define vtkHyperTreeGridGeometry_h
37 
38 #include "vtkFiltersHyperTreeModule.h" // For export macro
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 
43 class vtkCellArray;
44 class vtkDataObject;
45 class vtkHyperTreeGrid;
46 class vtkInformation;
47 class vtkPoints;
48 
49 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridGeometry : public vtkHyperTreeGridAlgorithm
50 {
51 public:
52  static vtkHyperTreeGridGeometry* New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
62  vtkSetMacro(Merging, bool);
63  vtkGetMacro(Merging, bool);
65 
67 
76  vtkSetMacro(PassThroughCellIds, bool);
77  vtkGetMacro(PassThroughCellIds, bool);
78  vtkBooleanMacro(PassThroughCellIds, bool);
80 
82 
90  vtkSetMacro(OriginalCellIdArrayName, std::string);
91  vtkGetMacro(OriginalCellIdArrayName, std::string);
93 
95 
101  vtkSetMacro(FillMaterial, bool);
102  vtkGetMacro(FillMaterial, bool);
103  vtkBooleanMacro(FillMaterial, bool);
105 
106 protected:
107  vtkHyperTreeGridGeometry() = default;
108  ~vtkHyperTreeGridGeometry() override = default;
109 
113  int FillOutputPortInformation(int, vtkInformation*) override;
114 
119 
125  bool PassThroughCellIds = false;
126 
130  std::string OriginalCellIdArrayName = "vtkOriginalCellIds";
131 
138  bool Merging = false;
139 
140 private:
142  void operator=(const vtkHyperTreeGridGeometry&) = delete;
143 
144  bool FillMaterial = true;
145 };
146 
147 VTK_ABI_NAMESPACE_END
148 #endif /* vtkHyperTreeGridGeometry_h */
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Generate vtkHyperTreeGrid external surface.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
object to represent cell connectivity
Definition: vtkCellArray.h:177
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:55
represent and manipulate 3D points
Definition: vtkPoints.h:30
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...