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
vtkImageAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
vtkHyperOctreeToUniformGridFilter::OutputCD
vtkCellData * OutputCD
Definition: vtkHyperOctreeToUniformGridFilter.h:65
vtkHyperOctreeToUniformGridFilter::Cursor
vtkHyperOctreeCursor * Cursor
Definition: vtkHyperOctreeToUniformGridFilter.h:66
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkHyperOctreeToUniformGridFilter
Flat the octree into a uniform grid.
Definition: vtkHyperOctreeToUniformGridFilter.h:42
vtkHyperOctreeCursor
Objects that can traverse hyperoctree nodes.
Definition: vtkHyperOctreeCursor.h:51
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkX3D::port
Definition: vtkX3D.h:447
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkCellData
represent and manipulate cell attribute data
Definition: vtkCellData.h:38
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkHyperOctreeToUniformGridFilter::ZExtent
int ZExtent
Definition: vtkHyperOctreeToUniformGridFilter.h:68
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkHyperOctreeToUniformGridFilter::Output
vtkImageData * Output
Definition: vtkHyperOctreeToUniformGridFilter.h:69
vtkX3D::info
Definition: vtkX3D.h:376
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkHyperOctreeToUniformGridFilter::YExtent
int YExtent
Definition: vtkHyperOctreeToUniformGridFilter.h:67
vtkImageAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkHyperOctreeToUniformGridFilter::InputCD
vtkDataSetAttributes * InputCD
Definition: vtkHyperOctreeToUniformGridFilter.h:64