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

IO/vtkStructuredPointsReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredPointsReader.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 =========================================================================*/
00052 #ifndef __vtkStructuredPointsReader_h
00053 #define __vtkStructuredPointsReader_h
00054 
00055 #include "vtkDataReader.h"
00056 
00057 class vtkStructuredPoints;
00058 
00059 class VTK_IO_EXPORT vtkStructuredPointsReader : public vtkDataReader
00060 {
00061 public:
00062   static vtkStructuredPointsReader *New();
00063   vtkTypeRevisionMacro(vtkStructuredPointsReader,vtkDataReader);
00064   void PrintSelf(ostream& os, vtkIndent indent);
00065 
00067 
00068   void SetOutput(vtkStructuredPoints *output);
00069   vtkStructuredPoints *GetOutput(int idx)
00070     {return (vtkStructuredPoints *) this->vtkSource::GetOutput(idx); };
00071   vtkStructuredPoints *GetOutput();
00073   
00074 protected:
00075   vtkStructuredPointsReader();
00076   ~vtkStructuredPointsReader();
00077 
00078   void Execute();
00079 
00080   // Default method performs Update to get information.  Not all the old
00081   // structured points sources compute information
00082   void ExecuteInformation();
00083 
00084 private:
00085   vtkStructuredPointsReader(const vtkStructuredPointsReader&);  // Not implemented.
00086   void operator=(const vtkStructuredPointsReader&);  // Not implemented.
00087 };
00088 
00089 #endif
00090 
00091