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

vtkDataObjectSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataObjectSource.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 =========================================================================*/
00066 #ifndef __vtkDataObjectSource_h
00067 #define __vtkDataObjectSource_h
00068 
00069 #include "vtkSource.h"
00070 
00071 class vtkDataObject;
00072 
00073 class VTK_FILTERING_EXPORT vtkDataObjectSource : public vtkSource
00074 {
00075 public:
00076   vtkTypeRevisionMacro(vtkDataObjectSource,vtkSource);
00077   void PrintSelf(ostream& os, vtkIndent indent);
00078 
00080 
00081   vtkDataObject *GetOutput();
00082   vtkDataObject *GetOutput(int idx)
00083     {return (vtkDataObject *) this->vtkSource::GetOutput(idx); };
00084   void SetOutput(vtkDataObject *);
00086   
00087 protected:
00088   vtkDataObjectSource();
00089   ~vtkDataObjectSource() {};
00090 
00091   virtual int FillOutputPortInformation(int, vtkInformation*);
00092 private:
00093   vtkDataObjectSource(const vtkDataObjectSource&);  // Not implemented.
00094   void operator=(const vtkDataObjectSource&);  // Not implemented.
00095 };
00096 
00097 #endif
00098