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 "vtkIOLegacyModule.h" // For export macro
34 #include "vtkDataReader.h"
35 
36 class vtkTree;
37 
39 {
40 public:
41  static vtkTreeReader *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  vtkTree *GetOutput();
48  vtkTree *GetOutput(int idx);
49  void SetOutput(vtkTree *output);
51 
52 protected:
53  vtkTreeReader();
54  ~vtkTreeReader();
55 
58 
59  // Since the Outputs[0] has the same UpdateExtent format
60  // as the generic DataObject we can copy the UpdateExtent
61  // as a default behavior.
64 
65  virtual int FillOutputPortInformation(int, vtkInformation*);
66 private:
67  vtkTreeReader(const vtkTreeReader&); // Not implemented.
68  void operator=(const vtkTreeReader&); // Not implemented.
69 };
70 
71 #endif
read vtkTree data file
Definition: vtkTreeReader.h:38
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKIOLEGACY_EXPORT
static vtkDataReader * New()
void PrintSelf(ostream &os, vtkIndent indent)
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:48
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
A rooted tree data structure.
Definition: vtkTree.h:59