VTK
vtkUnstructuredGridReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridReader.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 =========================================================================*/
36 #ifndef __vtkUnstructuredGridReader_h
37 #define __vtkUnstructuredGridReader_h
38 
39 #include "vtkDataReader.h"
40 
42 
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
52  vtkUnstructuredGrid *GetOutput();
53  vtkUnstructuredGrid *GetOutput(int idx);
54  void SetOutput(vtkUnstructuredGrid *output);
56 
57 protected:
60 
63 
64  // Since the Outputs[0] has the same UpdateExtent format
65  // as the generic DataObject we can copy the UpdateExtent
66  // as a default behavior.
69 
70  virtual int FillOutputPortInformation(int, vtkInformation*);
71 private:
72  vtkUnstructuredGridReader(const vtkUnstructuredGridReader&); // Not implemented.
73  void operator=(const vtkUnstructuredGridReader&); // Not implemented.
74 };
75 
76 #endif
77 
78