Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkStructuredPointsReader.h

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