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 =========================================================================*/
32 #ifndef vtkHyperOctreeToUniformGridFilter_h
33 #define vtkHyperOctreeToUniformGridFilter_h
34 
35 #include "vtkFiltersHyperTreeModule.h" // For export macro
36 #include "vtkImageAlgorithm.h"
37 
39 class vtkCellData;
41 
42 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeToUniformGridFilter : public vtkImageAlgorithm
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48 
49 protected:
51  ~vtkHyperOctreeToUniformGridFilter() VTK_OVERRIDE;
52 
53  int RequestInformation (vtkInformation * vtkNotUsed(request),
54  vtkInformationVector **inputVector,
55  vtkInformationVector *outputVector) VTK_OVERRIDE;
56 
57  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
58  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
59 
60  void CopyCellData(int cellExtent[6]);
61 
62  // Variables used by generate recursively.
63  // It avoids to pass to much argument.
65  vtkCellData *OutputCD;
67  int YExtent;
68  int ZExtent;
69  vtkImageData *Output;
70 
71 private:
73  void operator=(const vtkHyperOctreeToUniformGridFilter&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
Store vtkAlgorithm input/output information.
represent and manipulate cell attribute data
Definition: vtkCellData.h:38
Flat the octree into a uniform grid.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
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.