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 
38 #if !defined(VTK_LEGACY_REMOVE)
40 class vtkCellData;
42 
43 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeToUniformGridFilter : public vtkImageAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
50 protected:
53 
54  int RequestInformation (vtkInformation * vtkNotUsed(request),
55  vtkInformationVector **inputVector,
56  vtkInformationVector *outputVector) override;
57 
60 
61  void CopyCellData(int cellExtent[6]);
62 
63  // Variables used by generate recursively.
64  // It avoids to pass to much argument.
68  int YExtent;
69  int ZExtent;
71 
72 private:
74  void operator=(const vtkHyperOctreeToUniformGridFilter&) = delete;
75 };
76 #endif // LEGACY remove
77 
78 #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.