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);
48 
49 protected:
52 
53  int RequestInformation (vtkInformation * vtkNotUsed(request),
54  vtkInformationVector **inputVector,
55  vtkInformationVector *outputVector);
56 
59 
60  void CopyCellData(int cellExtent[6]);
61 
62  // Variables used by generate recursively.
63  // It avoids to pass to much argument.
67  int YExtent;
68  int ZExtent;
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
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
represent and manipulate attribute data in a dataset
Objects that can traverse hyperoctree nodes.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
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.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.