VTK  9.4.20250102
vtkImageDataToHyperTreeGrid.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
17#ifndef vtkImageDataToHyperTreeGrid_h
18#define vtkImageDataToHyperTreeGrid_h
19
20#include "vtkFiltersHyperTreeModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkBitArray;
25class vtkIntArray;
27class vtkDoubleArray;
30
31class VTKFILTERSHYPERTREE_EXPORT vtkImageDataToHyperTreeGrid : public vtkHyperTreeGridAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 vtkSetMacro(DepthMax, int);
39 vtkGetMacro(DepthMax, int);
40
41 vtkSetMacro(NbColors, int);
42 vtkGetMacro(NbColors, int);
43
44protected:
47
49
51
53
56
57private:
59 void operator=(const vtkImageDataToHyperTreeGrid&) = delete;
60
61 int DepthMax;
62 int NbColors;
63
64 vtkDataArray* InScalars;
65
67 vtkDoubleArray* Depth;
68 vtkBitArray* Mask;
69 int GlobalId;
70};
71
72VTK_ABI_NAMESPACE_END
73#endif // vtkImageDataToHyperTreeGrid_h
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
abstract superclass for arrays of numeric data
general representation of visualization data
dynamic, self-adjusting array of double
Superclass for algorithms that produce a hyper tree grid as output.
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
int FillInputPortInformation(int, vtkInformation *) override
Define default input and output port types.
static vtkImageDataToHyperTreeGrid * New()
~vtkImageDataToHyperTreeGrid() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ProcessPixels(vtkIntArray *, vtkHyperTreeGridNonOrientedCursor *)
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
dynamic, self-adjusting array of unsigned char