VTK  9.0.1
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
vtkHyperTreeGridNonOrientedGeometryCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedGeometryCursor.h:57
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkHyperTreeGridAxisCut::PlanePosition
double PlanePosition
Intercept of plane along normal.
Definition: vtkHyperTreeGridAxisCut.h:99
vtkHyperTreeGridAxisCut::PlanePositionRealUse
double PlanePositionRealUse
Definition: vtkHyperTreeGridAxisCut.h:100
vtkHyperTreeGridAxisCut::~vtkHyperTreeGridAxisCut
~vtkHyperTreeGridAxisCut() override
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridNonOrientedCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedCursor.h:51
vtkHyperTreeGridAxisCut::PlaneNormalAxis
int PlaneNormalAxis
Direction of plane normal.
Definition: vtkHyperTreeGridAxisCut.h:94
vtkHyperTreeGridAxisCut::New
static vtkHyperTreeGridAxisCut * New()
vtkHyperTreeGridAxisCut::RecursivelyProcessTree
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor)
Recursively descend into tree down to leaves.
vtkHyperTreeGridAxisCut::PrintSelf
void PrintSelf(ostream &, vtkIndent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkHyperTreeGridAxisCut::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkHyperTreeGridAxisCut::vtkHyperTreeGridAxisCut
vtkHyperTreeGridAxisCut()
vtkHyperTreeGridAxisCut::InMask
vtkBitArray * InMask
Output material mask constructed by this filter.
Definition: vtkHyperTreeGridAxisCut.h:105
vtkHyperTreeGridAxisCut::CurrentId
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
Definition: vtkHyperTreeGridAxisCut.h:111
vtkHyperTreeGridAxisCut::OutMask
vtkBitArray * OutMask
Definition: vtkHyperTreeGridAxisCut.h:106
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:60
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:48
vtkHyperTreeGridAxisCut
Axis aligned hyper tree grid cut.
Definition: vtkHyperTreeGridAxisCut.h:51
vtkHyperTreeGridAxisCut::ProcessTrees
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate hyper tree grid cut.
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:97