VTK
dox/Graphics/vtkImageDataToPointSet.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkRectilinearGridToTetrahedra.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 =========================================================================*/
00015 /*----------------------------------------------------------------------------
00016  Copyright (c) Sandia Corporation
00017  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00018 ----------------------------------------------------------------------------*/
00019 
00035 #ifndef __vtkImageDataToPointSet_h
00036 #define __vtkImageDataToPointSet_h
00037 
00038 #include "vtkStructuredGridAlgorithm.h"
00039 
00040 class vtkImageData;
00041 class vtkStructuredData;
00042 
00043 class VTK_GRAPHICS_EXPORT vtkImageDataToPointSet : public vtkStructuredGridAlgorithm
00044 {
00045 public:
00046   vtkTypeMacro(vtkImageDataToPointSet, vtkStructuredGridAlgorithm);
00047   virtual void PrintSelf(ostream &os, vtkIndent indent);
00048 
00049   static vtkImageDataToPointSet *New();
00050 
00051 protected:
00052   vtkImageDataToPointSet();
00053   ~vtkImageDataToPointSet();
00054 
00055   int RequestData(vtkInformation *request,
00056                   vtkInformationVector **inputVector,
00057                   vtkInformationVector *outputVector);
00058 
00059   virtual int FillInputPortInformation(int port, vtkInformation *info);
00060 
00061 private:
00062   vtkImageDataToPointSet(const vtkImageDataToPointSet &); // Not implemented
00063   void operator=(const vtkImageDataToPointSet &);         // Not implemented
00064 
00065   int CopyStructure(vtkStructuredGrid *outData, vtkImageData *inData);
00066 };
00067 
00068 
00069 #endif //__vtkImageDataToPointSet_h