VTK  9.1.0
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
45class vtkBitArray;
49
50class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkHyperTreeGridAlgorithm
51{
52public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
58
61 vtkSetClampMacro(PlaneNormalAxis, int, 0, 2);
62 vtkGetMacro(PlaneNormalAxis, int);
64
66
69 vtkSetMacro(PlanePosition, double);
70 vtkGetMacro(PlanePosition, double);
72
73protected:
76
77 // For this algorithm the output is a vtkHyperTreeGrid instance
79
84
90
95
101
107
112
113private:
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
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:113
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:332