VTK
dox/Filtering/vtkDataSetSource.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkDataSetSource.h
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 =========================================================================*/
00021 #ifndef __vtkDataSetSource_h
00022 #define __vtkDataSetSource_h
00023 
00024 #include "vtkSource.h"
00025 
00026 class vtkDataSet;
00027 
00028 class VTK_FILTERING_EXPORT vtkDataSetSource : public vtkSource
00029 {
00030 public:
00031   vtkTypeMacro(vtkDataSetSource,vtkSource);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035 
00036   vtkDataSet *GetOutput();
00037   vtkDataSet *GetOutput(int idx);
00039 
00040   void SetOutput(vtkDataSet *);
00041   
00042 protected:  
00043   vtkDataSetSource();
00044   ~vtkDataSetSource() {};
00045 
00046   virtual int FillOutputPortInformation(int, vtkInformation*);
00047 private:
00048   vtkDataSetSource(const vtkDataSetSource&);  // Not implemented.
00049   void operator=(const vtkDataSetSource&);  // Not implemented.
00050 };
00051 
00052 #endif
00053 
00054