VTK
vtkUnstructuredGridSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridSource.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 =========================================================================*/
25 #ifndef __vtkUnstructuredGridSource_h
26 #define __vtkUnstructuredGridSource_h
27 
28 #include "vtkSource.h"
29 
30 class vtkUnstructuredGrid;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkUnstructuredGrid *GetOutput();
41  vtkUnstructuredGrid *GetOutput(int idx);
42  void SetOutput(vtkUnstructuredGrid *output);
44 
45 protected:
48 
49  // Since the Outputs[0] has the same UpdateExtent format
50  // as the generic DataObject we can copy the UpdateExtent
51  // as a default behavior.
53 
54  virtual int FillOutputPortInformation(int, vtkInformation*);
55 private:
56  vtkUnstructuredGridSource(const vtkUnstructuredGridSource&); // Not implemented.
57  void operator=(const vtkUnstructuredGridSource&); // Not implemented.
58 };
59 
60 #endif
61 
62