VTK  9.4.20250328
vtkHyperTreeGridDepthLimiter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
28#ifndef vtkHyperTreeGridDepthLimiter_h
29#define vtkHyperTreeGridDepthLimiter_h
30
31#include "vtkFiltersHyperTreeModule.h" // For export macro
33
34VTK_ABI_NAMESPACE_BEGIN
35class vtkBitArray;
38
39class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridDepthLimiter : public vtkHyperTreeGridAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
54 vtkSetMacro(JustCreateNewMask, bool);
55 vtkGetMacro(JustCreateNewMask, bool);
57
59
63 vtkSetMacro(Depth, unsigned int);
64 vtkGetMacro(Depth, unsigned int);
66
67protected:
70
76
81
87
91 unsigned int Depth;
92
97
102
107
112
113private:
115 void operator=(const vtkHyperTreeGridDepthLimiter&) = delete;
116};
117
118VTK_ABI_NAMESPACE_END
119#endif // vtkHyperTreeGridDepthLimiter_h
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
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.
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.
static vtkHyperTreeGridDepthLimiter * New()
~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:108
Store vtkAlgorithm input/output information.
int vtkIdType
Definition vtkType.h:332