VTK
dox/Common/ExecutionModel/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 "vtkCommonExecutionModelModule.h" // For export macro
00030 #include "vtkStructuredGridAlgorithm.h"
00031 
00032 class vtkStructuredGrid;
00033 class vtkImageData;
00034 class vtkInformation;
00035 class vtkInformationVector;
00036 
00037 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid:
00038   public vtkStructuredGridAlgorithm
00039 {
00040   public:
00041     static vtkImageToStructuredGrid* New();
00042     vtkTypeMacro(vtkImageToStructuredGrid,vtkStructuredGridAlgorithm);
00043     void PrintSelf(ostream &oss, vtkIndent indent );
00044 
00045   protected:
00046     vtkImageToStructuredGrid();
00047     virtual ~vtkImageToStructuredGrid();
00048 
00049     virtual int RequestData(
00050         vtkInformation* request,
00051         vtkInformationVector** inputVector,
00052         vtkInformationVector* outputVector );
00053 
00055 
00056     void CopyPointData( vtkImageData*, vtkStructuredGrid* );
00057     void CopyCellData( vtkImageData*, vtkStructuredGrid*  );
00059 
00060     virtual int FillInputPortInformation(int, vtkInformation* info);
00061     virtual int FillOutputPortInformation(int, vtkInformation* info );
00062 
00063   private:
00064     vtkImageToStructuredGrid(
00065         const vtkImageToStructuredGrid& ); //Not implemented
00066     void operator=(const vtkImageToStructuredGrid&);//Not implemented
00067 
00068 
00069 };
00070 
00071 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */