VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Geometry
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 "vtkIOGeometryModule.h"
// For export macro
34
#include "
vtkDataReader.h
"
35
36
class
vtkTree
;
37
38
class
VTKIOGEOMETRY_EXPORT
vtkTreeReader
:
public
vtkDataReader
39
{
40
public
:
41
static
vtkTreeReader
*
New
();
42
vtkTypeMacro(
vtkTreeReader
,
vtkDataReader
);
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
56
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
57
vtkInformationVector
*);
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.
62
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
63
vtkInformationVector
*);
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
72
73
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1