VTK
dox/Filtering/vtkImageToStructuredGrid.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003  Program:   Visualization Toolkit
00004  Module:    vtkImageDataToStructuredGridFilter.h
00005 
00006  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007  All rights reserved.
00008  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010  This software is distributed WITHOUT ANY WARRANTY; without even
00011  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012  PURPOSE.  See the above copyright notice for more information.
00013 
00014  =========================================================================*/
00026 #ifndef VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
00027 #define VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
00028 
00029 #include "vtkStructuredGridAlgorithm.h"
00030 
00031 class vtkStructuredGrid;
00032 class vtkImageData;
00033 class vtkInformation;
00034 class vtkInformationVector;
00035 
00036 class VTK_FILTERING_EXPORT vtkImageToStructuredGrid:
00037   public vtkStructuredGridAlgorithm
00038 {
00039   public:
00040     static vtkImageToStructuredGrid* New();
00041     vtkTypeMacro(vtkImageToStructuredGrid,vtkStructuredGridAlgorithm);
00042     void PrintSelf( std::ostream &oss, vtkIndent indent );
00043 
00044   protected:
00045     vtkImageToStructuredGrid();
00046     virtual ~vtkImageToStructuredGrid();
00047 
00048     virtual int RequestData(
00049         vtkInformation* request,
00050         vtkInformationVector** inputVector,
00051         vtkInformationVector* outputVector );
00052 
00054 
00055     void CopyPointData( vtkImageData*, vtkStructuredGrid* );
00056     void CopyCellData( vtkImageData*, vtkStructuredGrid*  );
00058 
00059     virtual int FillInputPortInformation(int, vtkInformation* info);
00060     virtual int FillOutputPortInformation(int, vtkInformation* info );
00061 
00062   private:
00063     vtkImageToStructuredGrid(
00064         const vtkImageToStructuredGrid& ); //Not implemented
00065     void operator=(const vtkImageToStructuredGrid&);//Not implemented
00066 
00067 
00068 };
00069 
00070 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */