VTK  9.1.0
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 =========================================================================*/
37 #ifndef vtkHyperTreeGridDepthLimiter_h
38 #define vtkHyperTreeGridDepthLimiter_h
39 
40 #include "vtkFiltersHyperTreeModule.h" // For export macro
42 
43 class vtkBitArray;
44 class vtkHyperTreeGrid;
46 
47 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridDepthLimiter : public vtkHyperTreeGridAlgorithm
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
62  vtkSetMacro(JustCreateNewMask, bool);
63  vtkGetMacro(JustCreateNewMask, bool);
65 
67 
71  vtkSetMacro(Depth, unsigned int);
72  vtkGetMacro(Depth, unsigned int);
74 
75 protected:
78 
84 
89 
95 
99  unsigned int Depth;
100 
105 
110 
115 
120 
121 private:
123  void operator=(const vtkHyperTreeGridDepthLimiter&) = delete;
124 };
125 
126 #endif // vtkHyperTreeGridDepthLimiter_h
vtkHyperTreeGridDepthLimiter::JustCreateNewMask
bool JustCreateNewMask
With or without copy.
Definition: vtkHyperTreeGridDepthLimiter.h:119
vtkIdType
int vtkIdType
Definition: vtkType.h:332
vtkHyperTreeGridDepthLimiter::New
static vtkHyperTreeGridDepthLimiter * New()
vtkHyperTreeGridDepthLimiter::Depth
unsigned int Depth
Maximum depth of hyper tree grid to be extracted.
Definition: vtkHyperTreeGridDepthLimiter.h:99
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridNonOrientedCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedCursor.h:51
vtkHyperTreeGridDepthLimiter::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid or vtkUniformHyperTreeGrid instance.
vtkHyperTreeGridDepthLimiter::ProcessTrees
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to extract hyper tree grid levels.
vtkHyperTreeGridDepthLimiter
Hyper tree grid level extraction.
Definition: vtkHyperTreeGridDepthLimiter.h:48
vtkHyperTreeGridDepthLimiter::~vtkHyperTreeGridDepthLimiter
~vtkHyperTreeGridDepthLimiter() override
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkHyperTreeGridDepthLimiter::CurrentId
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
Definition: vtkHyperTreeGridDepthLimiter.h:114
vtkHyperTreeGridDepthLimiter::OutMask
vtkBitArray * OutMask
Output mask constructed by this filter.
Definition: vtkHyperTreeGridDepthLimiter.h:109
vtkHyperTreeGridDepthLimiter::vtkHyperTreeGridDepthLimiter
vtkHyperTreeGridDepthLimiter()
vtkHyperTreeGridDepthLimiter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkHyperTreeGridDepthLimiter::InMask
vtkBitArray * InMask
Input mask.
Definition: vtkHyperTreeGridDepthLimiter.h:104
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:48
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:96
vtkHyperTreeGridDepthLimiter::RecursivelyProcessTree
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedCursor *, vtkHyperTreeGridNonOrientedCursor *)
Recursively descend into tree down to leaves.