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 VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
27 #define VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
28 
30 
31 class vtkStructuredGrid;
32 class vtkImageData;
33 class vtkInformation;
35 
38 {
39  public:
40  static vtkImageToStructuredGrid* New();
42  void PrintSelf( std::ostream &oss, vtkIndent indent );
43 
44  protected:
46  virtual ~vtkImageToStructuredGrid();
47 
48  virtual int RequestData(
49  vtkInformation* request,
50  vtkInformationVector** inputVector,
51  vtkInformationVector* outputVector );
52 
54 
55  void CopyPointData( vtkImageData*, vtkStructuredGrid* );
56  void CopyCellData( vtkImageData*, vtkStructuredGrid* );
58 
59  virtual int FillInputPortInformation(int, vtkInformation* info);
60  virtual int FillOutputPortInformation(int, vtkInformation* info );
61 
62  private:
64  const vtkImageToStructuredGrid& ); //Not implemented
65  void operator=(const vtkImageToStructuredGrid&);//Not implemented
66 
67 
68 };
69 
70 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */