VTK
vtkDataObjectSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataObjectSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
54 #ifndef __vtkDataObjectSource_h
55 #define __vtkDataObjectSource_h
56 
57 #include "vtkSource.h"
58 
59 class vtkDataObject;
60 
62 {
63 public:
65  void PrintSelf(ostream& os, vtkIndent indent);
66 
68 
71  {
72  return this->vtkSource::GetOutput(idx);
73  }
75 
76  void SetOutput(vtkDataObject *);
77 
78 protected:
81 
82  virtual int FillOutputPortInformation(int, vtkInformation*);
83 private:
84  vtkDataObjectSource(const vtkDataObjectSource&); // Not implemented.
85  void operator=(const vtkDataObjectSource&); // Not implemented.
86 };
87 
88 #endif
89