Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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 =========================================================================*/
00040 #ifndef __vtkStructuredPointsReader_h
00041 #define __vtkStructuredPointsReader_h
00042 
00043 #include "vtkDataReader.h"
00044 
00045 class vtkStructuredPoints;
00046 
00047 class VTK_IO_EXPORT vtkStructuredPointsReader : public vtkDataReader
00048 {
00049 public:
00050   static vtkStructuredPointsReader *New();
00051   vtkTypeRevisionMacro(vtkStructuredPointsReader,vtkDataReader);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   void SetOutput(vtkStructuredPoints *output);
00057   vtkStructuredPoints *GetOutput(int idx)
00058     {return (vtkStructuredPoints *) this->vtkSource::GetOutput(idx); };
00059   vtkStructuredPoints *GetOutput();
00061   
00062 protected:
00063   vtkStructuredPointsReader();
00064   ~vtkStructuredPointsReader();
00065 
00066   void Execute();
00067 
00068   // Default method performs Update to get information.  Not all the old
00069   // structured points sources compute information
00070   void ExecuteInformation();
00071 
00072 private:
00073   vtkStructuredPointsReader(const vtkStructuredPointsReader&);  // Not implemented.
00074   void operator=(const vtkStructuredPointsReader&);  // Not implemented.
00075 };
00076 
00077 #endif
00078 
00079