Section: Visualization Toolkit Rendering Classes
vtkExporter provides the convenience methods StartWrite() and EndWrite(). These methods are executed before and after execution of the Write() method. You can also specify arguments to these methods. This class defines SetInput and GetInput methods which take or return a vtkRenderWindow.
To create an instance of class vtkExporter, simply invoke its constructor as follows
obj = vtkExporter
obj
is an instance of the vtkExporter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkExporter = obj.NewInstance ()
vtkExporter = obj.SafeDownCast (vtkObject o)
obj.Write ()
- Write data to output. Method executes subclasses WriteData() method, as
well as StartWrite() and EndWrite() methods.
obj.Update ()
- Convenient alias for Write() method.
obj.SetRenderWindow (vtkRenderWindow )
- Set/Get the rendering window that contains the scene to be written.
vtkRenderWindow = obj.GetRenderWindow ()
- Set/Get the rendering window that contains the scene to be written.
obj.SetInput (vtkRenderWindow renWin)
- These methods are provided for backward compatibility. Will disappear
soon.
vtkRenderWindow = obj.GetInput ()
- These methods are provided for backward compatibility. Will disappear
soon.
long = obj.GetMTime ()
- Returns the MTime also considering the RenderWindow.