VTK  9.4.20250310
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
40VTK_ABI_NAMESPACE_BEGIN
41class vtkBitArray;
45
46class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
47{
48public:
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
69protected:
72
73 // For this algorithm the output is a vtkHyperTreeGrid instance
75
80
86
91
97
103
108
109private:
111 void operator=(const vtkHyperTreeGridAxisCut&) = delete;
112};
113
114VTK_ABI_NAMESPACE_END
115#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:332