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 
48  vtkTree *GetOutput(int idx);
49  void SetOutput(vtkTree *output);
51 
52 protected:
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 
66 private:
67  vtkTreeReader(const vtkTreeReader&); // Not implemented.
68  void operator=(const vtkTreeReader&); // Not implemented.
69 };
70 
71 #endif
vtkDataReader
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:49
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
VTKIOLEGACY_EXPORT
#define VTKIOLEGACY_EXPORT
Definition: vtkIOLegacyModule.h:15
vtkTreeReader::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTreeReader::~vtkTreeReader
~vtkTreeReader()
vtkIOLegacyModule.h
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:60
vtkDataReader.h
vtkTreeReader::vtkTreeReader
vtkTreeReader()
vtkTreeReader::GetOutput
vtkTree * GetOutput(int idx)
vtkTreeReader::GetOutput
vtkTree * GetOutput()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTreeReader::SetOutput
void SetOutput(vtkTree *output)
vtkTreeReader::New
static vtkTreeReader * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkTreeReader
read vtkTree data file
Definition: vtkTreeReader.h:39
vtkTreeReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTreeReader::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
vtkTreeReader::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)