Section: Visualization Toolkit Common Classes
To create an instance of class vtkFileOutputWindow, simply invoke its constructor as follows
obj = vtkFileOutputWindow
obj
is an instance of the vtkFileOutputWindow class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkFileOutputWindow = obj.NewInstance ()
vtkFileOutputWindow = obj.SafeDownCast (vtkObject o)
obj.DisplayText (string )
- Put the text into the log file.
New lines are converted to carriage return new lines.
obj.SetFileName (string )
- Sets the name for the log file.
string = obj.GetFileName ()
- Sets the name for the log file.
obj.SetFlush (int )
- Turns on buffer flushing for the output
to the log file.
int = obj.GetFlush ()
- Turns on buffer flushing for the output
to the log file.
obj.FlushOn ()
- Turns on buffer flushing for the output
to the log file.
obj.FlushOff ()
- Turns on buffer flushing for the output
to the log file.
obj.SetAppend (int )
- Setting append will cause the log file to be
opened in append mode. Otherwise, if the log file exists,
it will be overwritten each time the vtkFileOutputWindow
is created.
int = obj.GetAppend ()
- Setting append will cause the log file to be
opened in append mode. Otherwise, if the log file exists,
it will be overwritten each time the vtkFileOutputWindow
is created.
obj.AppendOn ()
- Setting append will cause the log file to be
opened in append mode. Otherwise, if the log file exists,
it will be overwritten each time the vtkFileOutputWindow
is created.
obj.AppendOff ()
- Setting append will cause the log file to be
opened in append mode. Otherwise, if the log file exists,
it will be overwritten each time the vtkFileOutputWindow
is created.