VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
31 #ifndef __vtkHyperOctreeToUniformGridFilter_h
32 #define __vtkHyperOctreeToUniformGridFilter_h
33 
34 #include "vtkFiltersHyperTreeModule.h" // For export macro
35 #include "vtkImageAlgorithm.h"
36 
38 class vtkCellData;
39 class vtkDataSetAttributes;
40 
41 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeToUniformGridFilter : public vtkImageAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
48 protected:
51 
52  int RequestInformation (vtkInformation * vtkNotUsed(request),
53  vtkInformationVector **inputVector,
54  vtkInformationVector *outputVector);
55 
56  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
57  virtual int FillInputPortInformation(int port, vtkInformation *info);
58 
59  void CopyCellData(int cellExtent[6]);
60 
61  // Variables used by generate recursively.
62  // It avoids to pass to much argument.
63  vtkDataSetAttributes *InputCD;
66  int YExtent;
67  int ZExtent;
68  vtkImageData *Output;
69 
70 private:
72  void operator=(const vtkHyperOctreeToUniformGridFilter&); // Not implemented.
73 };
74 
75 #endif
represent and manipulate cell attribute data
Definition: vtkCellData.h:37
Flat the octree into a uniform grid.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Objects that can traverse hyperoctree nodes.
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)