VTK
vtkTreeReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeReader.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 =========================================================================*/
30 #ifndef __vtkTreeReader_h
31 #define __vtkTreeReader_h
32 
33 #include "vtkDataReader.h"
34 
35 class vtkTree;
36 
38 {
39 public:
40  static vtkTreeReader *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkTree *GetOutput();
47  vtkTree *GetOutput(int idx);
48  void SetOutput(vtkTree *output);
50 
51 protected:
52  vtkTreeReader();
53  ~vtkTreeReader();
54 
57 
58  // Since the Outputs[0] has the same UpdateExtent format
59  // as the generic DataObject we can copy the UpdateExtent
60  // as a default behavior.
63 
64  virtual int FillOutputPortInformation(int, vtkInformation*);
65 private:
66  vtkTreeReader(const vtkTreeReader&); // Not implemented.
67  void operator=(const vtkTreeReader&); // Not implemented.
68 };
69 
70 #endif
71 
72