VTK  9.2.6
vtkHyperTreeGridAxisCut.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridAxisCut.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
42 #ifndef vtkHyperTreeGridAxisCut_h
43 #define vtkHyperTreeGridAxisCut_h
44 
45 #include "vtkFiltersHyperTreeModule.h" // For export macro
47 
48 class vtkBitArray;
49 class vtkHyperTreeGrid;
52 
53 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
64  vtkSetClampMacro(PlaneNormalAxis, int, 0, 2);
65  vtkGetMacro(PlaneNormalAxis, int);
67 
69 
72  vtkSetMacro(PlanePosition, double);
73  vtkGetMacro(PlanePosition, double);
75 
76 protected:
79 
80  // For this algorithm the output is a vtkHyperTreeGrid instance
82 
87 
93 
98 
104 
110 
115 
116 private:
118  void operator=(const vtkHyperTreeGridAxisCut&) = delete;
119 };
120 
121 #endif // vtkHyperTreeGridAxisCut_h
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
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:119
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:332