VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkFileOutputWindow.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFileOutputWindow.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
=========================================================================*/
26
#ifndef __vtkFileOutputWindow_h
27
#define __vtkFileOutputWindow_h
28
29
#include "
vtkOutputWindow.h
"
30
31
32
class
VTK_COMMON_EXPORT
vtkFileOutputWindow
:
public
vtkOutputWindow
33
{
34
public
:
35
vtkTypeMacro(
vtkFileOutputWindow
,
vtkOutputWindow
);
36
37
static
vtkFileOutputWindow
*
New
();
38
39
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
43
virtual
void
DisplayText
(
const
char
*);
44
46
47
vtkSetStringMacro(FileName);
48
vtkGetStringMacro(FileName);
50
52
53
vtkSetMacro(Flush,
int
);
54
vtkGetMacro(Flush,
int
);
55
vtkBooleanMacro(Flush,
int
);
57
59
62
vtkSetMacro(Append,
int
);
63
vtkGetMacro(Append,
int
);
64
vtkBooleanMacro(Append,
int
);
66
67
protected
:
68
vtkFileOutputWindow
();
69
virtual
~
vtkFileOutputWindow
();
70
void
Initialize();
71
72
char
*
FileName
;
73
ofstream*
OStream
;
74
int
Flush
;
75
int
Append
;
76
77
private
:
78
vtkFileOutputWindow
(
const
vtkFileOutputWindow
&);
// Not implemented.
79
void
operator=(
const
vtkFileOutputWindow
&);
// Not implemented.
80
};
81
82
83
#endif
Generated on Sun Sep 9 2012 13:03:26 for VTK by
1.8.1.2