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

vtkDataSetSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetSource.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 =========================================================================*/
00034 #ifndef __vtkDataSetSource_h
00035 #define __vtkDataSetSource_h
00036 
00037 #include "vtkSource.h"
00038 
00039 class vtkDataSet;
00040 
00041 class VTK_FILTERING_EXPORT vtkDataSetSource : public vtkSource
00042 {
00043 public:
00044   vtkTypeRevisionMacro(vtkDataSetSource,vtkSource);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00049   vtkDataSet *GetOutput();
00050   vtkDataSet *GetOutput(int idx);
00052 
00053   void SetOutput(vtkDataSet *);
00054   
00055 protected:  
00056   vtkDataSetSource();
00057   ~vtkDataSetSource() {};
00058 
00059   virtual int FillOutputPortInformation(int, vtkInformation*);
00060 private:
00061   vtkDataSetSource(const vtkDataSetSource&);  // Not implemented.
00062   void operator=(const vtkDataSetSource&);  // Not implemented.
00063 };
00064 
00065 #endif
00066 
00067