VTK  9.3.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
30 #ifndef vtkHyperTreeGridAxisCut_h
31 #define vtkHyperTreeGridAxisCut_h
32 
33 #include "vtkFiltersHyperTreeModule.h" // For export macro
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkBitArray;
38 class vtkHyperTreeGrid;
41 
42 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
43 {
44 public:
45  static vtkHyperTreeGridAxisCut* New();
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
53  vtkSetClampMacro(PlaneNormalAxis, int, 0, 2);
54  vtkGetMacro(PlaneNormalAxis, int);
56 
58 
61  vtkSetMacro(PlanePosition, double);
62  vtkGetMacro(PlanePosition, double);
64 
65 protected:
67  ~vtkHyperTreeGridAxisCut() override;
68 
69  // For this algorithm the output is a vtkHyperTreeGrid instance
70  int FillOutputPortInformation(int, vtkInformation*) override;
71 
76 
80  void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor* inCursor,
82 
87 
91  double PlanePosition;
93 
99 
104 
105 private:
107  void operator=(const vtkHyperTreeGridAxisCut&) = delete;
108 };
109 
110 VTK_ABI_NAMESPACE_END
111 #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:315
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:28
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:54
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...