VTK  9.0.1
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 =========================================================================*/
41 #ifndef vtkHyperTreeGridDepthLimiter_h
42 #define vtkHyperTreeGridDepthLimiter_h
43 
44 #include "vtkFiltersHyperTreeModule.h" // For export macro
46 
47 class vtkBitArray;
48 class vtkHyperTreeGrid;
50 
51 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridDepthLimiter : public vtkHyperTreeGridAlgorithm
52 {
53 public:
56  void PrintSelf(ostream&, vtkIndent) override;
57 
59 
62  vtkSetMacro(JustCreateNewMask, bool);
63  vtkGetMacro(JustCreateNewMask, bool);
65 
67 
70  vtkSetMacro(Depth, unsigned int);
71  vtkGetMacro(Depth, unsigned int);
73 
74 protected:
76  ~vtkHyperTreeGridDepthLimiter() override;
77 
81  int FillOutputPortInformation(int, vtkInformation*) override;
82 
87 
91  void RecursivelyProcessTree(
93 
97  unsigned int Depth;
98 
103 
108 
113 
118 
119 private:
121  void operator=(const vtkHyperTreeGridDepthLimiter&) = delete;
122 };
123 
124 #endif // vtkHyperTreeGridDepthLimiter_h
vtkHyperTreeGridDepthLimiter::JustCreateNewMask
bool JustCreateNewMask
With or without copy.
Definition: vtkHyperTreeGridDepthLimiter.h:117
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkHyperTreeGridDepthLimiter::Depth
unsigned int Depth
Maximum depth of hyper tree grid to be extracted.
Definition: vtkHyperTreeGridDepthLimiter.h:97
vtkHyperTreeGridAlgorithm::ProcessTrees
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridNonOrientedCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedCursor.h:50
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridDepthLimiter
Hyper tree grid level extraction.
Definition: vtkHyperTreeGridDepthLimiter.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkHyperTreeGridDepthLimiter::CurrentId
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
Definition: vtkHyperTreeGridDepthLimiter.h:112
vtkHyperTreeGridDepthLimiter::OutMask
vtkBitArray * OutMask
Output mask constructed by this filter.
Definition: vtkHyperTreeGridDepthLimiter.h:107
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkHyperTreeGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:33
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkHyperTreeGridDepthLimiter::InMask
vtkBitArray * InMask
Input mask.
Definition: vtkHyperTreeGridDepthLimiter.h:102
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:47
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:96