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:
56  static vtkHyperTreeGridAxisCut* New();
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:
78  ~vtkHyperTreeGridAxisCut() override;
79 
80  // For this algorithm the output is a vtkHyperTreeGrid instance
81  int FillOutputPortInformation(int, vtkInformation*) override;
82 
87 
91  void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor* inCursor,
93 
98 
104 
110 
115 
116 private:
118  void operator=(const vtkHyperTreeGridAxisCut&) = delete;
119 };
120 
121 #endif // vtkHyperTreeGridAxisCut_h
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
double PlanePosition
Intercept of plane along normal.
int vtkIdType
Definition: vtkType.h:332
int PlaneNormalAxis
Direction of plane normal.
Objects for traversal a HyperTreeGrid.
Axis aligned hyper tree grid cut.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:36
vtkBitArray * InMask
Output material mask constructed by this filter.
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
general representation of visualization data
Definition: vtkDataObject.h:65
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...