42#include "vtkIOExportModule.h"
131 void (*StartWrite)(
void*);
132 void (*StartWriteArgDelete)(
void*);
134 void (*EndWrite)(
void*);
135 void (*EndWriteArgDelete)(
void*);
abstract class to write a scene to a file
virtual void Write()
Write data to output.
vtkMTimeType GetMTime() override
Returns the MTime also considering the RenderWindow.
vtkRenderWindow * RenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void WriteData()=0
void SetInput(vtkRenderWindow *renWin)
These methods are provided for backward compatibility.
void SetEndWrite(void(*f)(void *), void *arg)
Specify a function to be called after data is written.
void SetStartWrite(void(*f)(void *), void *arg)
Specify a function to be called before data is written.
vtkRenderer * ActiveRenderer
void SetStartWriteArgDelete(void(*f)(void *))
Set the arg delete method.
void SetEndWriteArgDelete(void(*f)(void *))
Set the arg delete method.
vtkRenderWindow * GetInput()
These methods are provided for backward compatibility.
virtual void SetRenderWindow(vtkRenderWindow *)
Set/Get the rendering window that contains the scene to be written.
void Update()
Convenient alias for Write() method.
virtual void SetActiveRenderer(vtkRenderer *)
Set/Get the renderer that contains actors to be written.
a simple class to control print indentation
abstract base class for most VTK objects
create a window for renderers to draw into
abstract specification for renderers
vtkTypeUInt32 vtkMTimeType