VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkTreeWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTreeWriter.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
=========================================================================*/
24
#ifndef __vtkTreeWriter_h
25
#define __vtkTreeWriter_h
26
27
#include "
vtkDataWriter.h
"
28
29
class
vtkTree
;
30
31
class
VTK_IO_EXPORT
vtkTreeWriter
:
public
vtkDataWriter
32
{
33
public
:
34
static
vtkTreeWriter
*
New
();
35
vtkTypeMacro(
vtkTreeWriter
,
vtkDataWriter
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
40
vtkTree
*
GetInput
();
41
vtkTree
*
GetInput
(
int
port
);
43
44
protected
:
45
vtkTreeWriter
() {};
46
~vtkTreeWriter
() {};
47
48
void
WriteData
();
49
50
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
51
52
private
:
53
vtkTreeWriter
(
const
vtkTreeWriter
&);
// Not implemented.
54
void
operator=(
const
vtkTreeWriter
&);
// Not implemented.
55
56
void
WriteEdges(ostream& Stream,
vtkTree
* Tree,
vtkIdType
Vertex);
57
};
58
59
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2