VTK  9.3.20240327
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:
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:
68 
69  // For this algorithm the output is a vtkHyperTreeGrid instance
71 
76 
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
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:29
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Axis aligned hyper tree grid cut.
~vtkHyperTreeGridAxisCut() override
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor)
Recursively descend into tree down to leaves.
static vtkHyperTreeGridAxisCut * New()
double PlanePosition
Intercept of plane along normal.
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate hyper tree grid cut.
vtkBitArray * InMask
Output material mask constructed by this filter.
int PlaneNormalAxis
Direction of plane normal.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
Objects for traversal a HyperTreeGrid.
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.
int vtkIdType
Definition: vtkType.h:315