VTK
vtkHyperOctreeToUniformGridFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeToUniformGridFilter.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 vtkHyperOctreeToUniformGridFilter_h
30 #define vtkHyperOctreeToUniformGridFilter_h
31 
32 #include "vtkFiltersHyperTreeModule.h" // For export macro
33 #include "vtkImageAlgorithm.h"
34 
36 class vtkCellData;
38 
39 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeToUniformGridFilter : public vtkImageAlgorithm
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
45 
46 protected:
48  ~vtkHyperOctreeToUniformGridFilter() VTK_OVERRIDE;
49 
50  int RequestInformation (vtkInformation * vtkNotUsed(request),
51  vtkInformationVector **inputVector,
52  vtkInformationVector *outputVector) VTK_OVERRIDE;
53 
54  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
55  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
56 
57  void CopyCellData(int cellExtent[6]);
58 
59  // Variables used by generate recursively.
60  // It avoids to pass to much argument.
62  vtkCellData *OutputCD;
64  int YExtent;
65  int ZExtent;
66  vtkImageData *Output;
67 
68 private:
70  void operator=(const vtkHyperOctreeToUniformGridFilter&) VTK_DELETE_FUNCTION;
71 };
72 
73 #endif
Store vtkAlgorithm input/output information.
represent and manipulate cell attribute data
Definition: vtkCellData.h:32
Flat the octree into a uniform grid.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
represent and manipulate attribute data in a dataset
Objects that can traverse hyperoctree nodes.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.