VTK
vtkDataSetSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetSource.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 =========================================================================*/
21 #ifndef __vtkDataSetSource_h
22 #define __vtkDataSetSource_h
23 
24 #include "vtkSource.h"
25 
26 class vtkDataSet;
27 
29 {
30 public:
31  vtkTypeMacro(vtkDataSetSource,vtkSource);
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
35 
36  vtkDataSet *GetOutput();
37  vtkDataSet *GetOutput(int idx);
39 
40  void SetOutput(vtkDataSet *);
41 
42 protected:
45 
46  virtual int FillOutputPortInformation(int, vtkInformation*);
47 private:
48  vtkDataSetSource(const vtkDataSetSource&); // Not implemented.
49  void operator=(const vtkDataSetSource&); // Not implemented.
50 };
51 
52 #endif
53 
54 
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
vtkDataObject * GetOutput(int idx)
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
int FillOutputPortInformation(int, vtkInformation *)
abstract class specifies interface for visualization network source
Definition: vtkSource.h:55
abstract class whose subclasses generate datasets