Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Filtering/vtkImageToStructuredPoints.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageToStructuredPoints.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00044 #ifndef __vtkImageToStructuredPoints_h
00045 #define __vtkImageToStructuredPoints_h
00046 
00047 #include "vtkSource.h"
00048  
00049 class vtkImageData;
00050 class vtkStructuredPoints;
00051 
00052 class VTK_FILTERING_EXPORT vtkImageToStructuredPoints : public vtkSource
00053 {
00054 public:
00055   static vtkImageToStructuredPoints *New();
00056   vtkTypeRevisionMacro(vtkImageToStructuredPoints,vtkSource);
00057   void PrintSelf(ostream& os, vtkIndent indent);
00058   
00060 
00061   void SetInput(vtkImageData *input);
00062   vtkImageData *GetInput();
00064 
00065 
00067 
00068   void SetVectorInput(vtkImageData *input);
00069   vtkImageData *GetVectorInput();
00071 
00073 
00074   vtkStructuredPoints *GetOutput();
00075   vtkStructuredPoints *GetOutput(int idx);
00077   
00078 protected:
00079   vtkImageToStructuredPoints();
00080   ~vtkImageToStructuredPoints();
00081 
00082   // to translate the wholeExtent to have min 0 ( I do not like this hack).
00083   int Translate[3];
00084   
00085   void Execute();
00086   void ExecuteInformation();
00087   void ComputeInputUpdateExtents(vtkDataObject *data);
00088 
00089   
00090 private:
00091   vtkImageToStructuredPoints(const vtkImageToStructuredPoints&);  // Not implemented.
00092   void operator=(const vtkImageToStructuredPoints&);  // Not implemented.
00093 };
00094 
00095 
00096 #endif
00097 
00098