VTK
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 vtkHyperTreeCursor;
48 class vtkHyperTreeGrid;
50 
51 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridDepthLimiter : public vtkHyperTreeGridAlgorithm
52 {
53 public:
56  void PrintSelf( ostream&, vtkIndent ) override;
57 
59 
62  vtkSetMacro(Depth, unsigned int);
63  vtkGetMacro(Depth, unsigned int);
65 
66 protected:
69 
74 
79 
85  vtkBitArray* );
86 
90  unsigned int Depth;
91 
96 
101 
102 private:
104  void operator=(const vtkHyperTreeGridDepthLimiter&) = delete;
105 };
106 
107 #endif /* vtkHyperTreeGridDepthLimiter_h */
vtkHyperTreeGridCursor
Objects for depth-first traversal HyperTreeGrids.
Definition: vtkHyperTreeGridCursor.h:46
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkHyperTreeGridDepthLimiter::New
static vtkHyperTreeGridDepthLimiter * New()
vtkHyperTreeGridDepthLimiter::Depth
unsigned int Depth
Maximum depth of hyper tree grid to be extracted.
Definition: vtkHyperTreeGridDepthLimiter.h:90
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridDepthLimiter::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid 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:52
vtkHyperTreeGridDepthLimiter::~vtkHyperTreeGridDepthLimiter
~vtkHyperTreeGridDepthLimiter() override
vtkHyperTreeCursor
Objects for depth-first traversal HyperTrees.
Definition: vtkHyperTreeCursor.h:43
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkHyperTreeGridDepthLimiter::CurrentId
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
Definition: vtkHyperTreeGridDepthLimiter.h:100
vtkHyperTreeGridDepthLimiter::PrintSelf
void PrintSelf(ostream &, vtkIndent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridDepthLimiter::vtkHyperTreeGridDepthLimiter
vtkHyperTreeGridDepthLimiter()
vtkHyperTreeGridDepthLimiter::RecursivelyProcessTree
void RecursivelyProcessTree(vtkHyperTreeGridCursor *, vtkHyperTreeCursor *, vtkBitArray *)
Recursively descend into tree down to leaves.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:47
vtkHyperTreeGridDepthLimiter::MaterialMask
vtkBitArray * MaterialMask
Output material mask constructed by this filter.
Definition: vtkHyperTreeGridDepthLimiter.h:95
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:71