VTK  9.1.0
vtkImageDataToHyperTreeGrid.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageDataToHyperTreeGrid.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=========================================================================*/
29#ifndef vtkImageDataToHyperTreeGrid_h
30#define vtkImageDataToHyperTreeGrid_h
31
32#include "vtkFiltersHyperTreeModule.h" // For export macro
34
35class vtkBitArray;
36class vtkIntArray;
38class vtkDoubleArray;
41
42class VTKFILTERSHYPERTREE_EXPORT vtkImageDataToHyperTreeGrid : public vtkHyperTreeGridAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
49 vtkSetMacro(DepthMax, int);
50 vtkGetMacro(DepthMax, int);
51
52 vtkSetMacro(NbColors, int);
53 vtkGetMacro(NbColors, int);
54
55protected:
58
60
62
64
67
68private:
70 void operator=(const vtkImageDataToHyperTreeGrid&) = delete;
71
72 int DepthMax;
73 int NbColors;
74
75 vtkDataArray* InScalars;
76
78 vtkDoubleArray* Depth;
79 vtkBitArray* Mask;
80 int GlobalId;
81};
82
83#endif // vtkImageDataToHyperTreeGrid_h
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:149
dynamic, self-adjusting array of unsigned char