VTK  9.0.2
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 =========================================================================*/
39 #ifndef vtkHyperTreeGridAxisCut_h
40 #define vtkHyperTreeGridAxisCut_h
41 
42 #include "vtkFiltersHyperTreeModule.h" // For export macro
44 
45 class vtkBitArray;
46 class vtkHyperTreeGrid;
49 
50 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
51 {
52 public:
55  void PrintSelf(ostream&, vtkIndent) override;
56 
58 
61  vtkSetClampMacro(PlaneNormalAxis, int, 0, 2);
62  vtkGetMacro(PlaneNormalAxis, int);
64 
66 
69  vtkSetMacro(PlanePosition, double);
70  vtkGetMacro(PlanePosition, double);
72 
73 protected:
76 
77  // For this algorithm the output is a vtkHyperTreeGrid instance
79 
84 
90 
95 
99  double PlanePosition;
101 
107 
112 
113 private:
115  void operator=(const vtkHyperTreeGridAxisCut&) = delete;
116 };
117 
118 #endif // vtkHyperTreeGridAxisCut_h
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
general representation of visualization data
Definition: vtkDataObject.h:60
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()
void PrintSelf(ostream &, vtkIndent) override
Methods invoked by print to print information about the object including superclasses.
double PlanePosition
Intercept of plane along normal.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
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.
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:34
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:338