VTK  9.2.6
vtkHyperTreeGridDepthLimiter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridDepthLimiter.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 =========================================================================*/
40 #ifndef vtkHyperTreeGridDepthLimiter_h
41 #define vtkHyperTreeGridDepthLimiter_h
42 
43 #include "vtkFiltersHyperTreeModule.h" // For export macro
45 
46 class vtkBitArray;
47 class vtkHyperTreeGrid;
49 
50 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridDepthLimiter : public vtkHyperTreeGridAlgorithm
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
65  vtkSetMacro(JustCreateNewMask, bool);
66  vtkGetMacro(JustCreateNewMask, bool);
68 
70 
74  vtkSetMacro(Depth, unsigned int);
75  vtkGetMacro(Depth, unsigned int);
77 
78 protected:
81 
87 
92 
98 
102  unsigned int Depth;
103 
108 
113 
118 
123 
124 private:
126  void operator=(const vtkHyperTreeGridDepthLimiter&) = delete;
127 };
128 
129 #endif // vtkHyperTreeGridDepthLimiter_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.
Hyper tree grid level extraction.
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedCursor *, vtkHyperTreeGridNonOrientedCursor *)
Recursively descend into tree down to leaves.
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to extract hyper tree grid levels.
bool JustCreateNewMask
With or without copy.
static vtkHyperTreeGridDepthLimiter * New()
unsigned int Depth
Maximum depth of hyper tree grid to be extracted.
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid or vtkUniformHyperTreeGrid instance.
vtkBitArray * OutMask
Output mask constructed by this filter.
~vtkHyperTreeGridDepthLimiter() override
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