VTK  9.7.1
vtkHyperTreeGridAxisCut.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
34 #ifndef vtkHyperTreeGridAxisCut_h
35 #define vtkHyperTreeGridAxisCut_h
36 
37 #include "vtkFiltersHyperTreeModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkBitArray;
42 class vtkHyperTreeGrid;
45 
46 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
47 {
48 public:
49  static vtkHyperTreeGridAxisCut* New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
57  vtkSetClampMacro(PlaneNormalAxis, int, 0, 2);
58  vtkGetMacro(PlaneNormalAxis, int);
60 
62 
65  vtkSetMacro(PlanePosition, double);
66  vtkGetMacro(PlanePosition, double);
68 
69 protected:
71  ~vtkHyperTreeGridAxisCut() override;
72 
73  // For this algorithm the output is a vtkHyperTreeGrid instance
74  int FillOutputPortInformation(int, vtkInformation*) override;
75 
80 
84  void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor* inCursor,
86 
91 
95  double PlanePosition;
97 
103 
108 
109 private:
111  void operator=(const vtkHyperTreeGridAxisCut&) = delete;
112 };
113 
114 VTK_ABI_NAMESPACE_END
115 #endif // vtkHyperTreeGridAxisCut_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.
double PlanePosition
Intercept of plane along normal.
int vtkIdType
Definition: vtkType.h:363
int PlaneNormalAxis
Direction of plane normal.
Objects for traversal a HyperTreeGrid.
Axis aligned hyper tree grid cut.
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.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:32
vtkBitArray * InMask
Output material mask constructed by this filter.
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
general representation of visualization data
Definition: vtkDataObject.h:55
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...