VTK
vtkImageToStructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataToStructuredGridFilter.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  =========================================================================*/
26 #ifndef vtkImageToStructuredGrid_h
27 #define vtkImageToStructuredGrid_h
28 
29 #include "vtkCommonExecutionModelModule.h" // For export macro
31 
32 class vtkStructuredGrid;
33 class vtkImageData;
34 class vtkInformation;
36 
39 {
40  public:
41  static vtkImageToStructuredGrid* New();
43  void PrintSelf(ostream &oss, vtkIndent indent );
44 
45  protected:
47  virtual ~vtkImageToStructuredGrid();
48 
49  virtual int RequestData(
50  vtkInformation* request,
51  vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector );
53 
55 
56  void CopyPointData( vtkImageData*, vtkStructuredGrid* );
57  void CopyCellData( vtkImageData*, vtkStructuredGrid* );
59 
60  virtual int FillInputPortInformation(int, vtkInformation* info);
61  virtual int FillOutputPortInformation(int, vtkInformation* info );
62 
63  private:
65  const vtkImageToStructuredGrid& ); //Not implemented
66  void operator=(const vtkImageToStructuredGrid&);//Not implemented
67 
68 
69 };
70 
71 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkStructuredGridAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Superclass for algorithms that produce only structured grid as output.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
topologically regular array of data
Store zero or more vtkInformation instances.