VTK  9.7.1
vtkHyperTreeGridValidCellStrategy.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
14 #ifndef vtkHyperTreeGridValidCellStrategy_h
15 #define vtkHyperTreeGridValidCellStrategy_h
16 
17 #include "vtkFiltersHyperTreeModule.h" // For export macro
19 #include "vtkNew.h"
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 
23 class vtkBitArray;
25 
26 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridValidCellStrategy
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
38  void Initialize(vtkHyperTreeGrid* inputHTG) override;
39 
46 
51 
52 private:
55 
56  // Input data
57  vtkUnsignedCharArray* InputGhost = nullptr;
58 
59  // Output array
60  vtkNew<vtkBitArray> ValidCellsArray;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif // vtkHyperTreeGridValidCellStrategy_h
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Define the ValidCell field used in vtkHyperTreeGridGenerateFields.
virtual vtkDataArray * GetAndFinalizeArray()=0
Reimplement to build the output array from internally stored values.
a simple class to control print indentation
Definition: vtkIndent.h:28
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
Abstract class for field definition used by vtkHyperTreeGridGenerateFields.
dynamic, self-adjusting array of unsigned char
virtual void Initialize([[maybe_unused]] vtkHyperTreeGrid *inputHTG)
Reimplement to initialize internal structures based on the given input HTG.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:32
virtual void Compute(vtkHyperTreeGridNonOrientedGeometryCursor *)
Reimplement to compute the data for the current cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...