[vtkusers] Re: Saving actors and their current transformations (camera angle and orientation)
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Mon Oct 23 07:45:25 EDT 2006
Taro Trabish wrote:
>
> Hi All,
> I've looked about the forum but I couldnt find anything that would allow
> me to save the the actors after being manipulated with the interactor
> (rotated or moved around) such that when they are loaded up, they appear
> just as they were on the screen before the save operation.
>
> I tried to use the vtkXMLPolyDataWriter/Reader but I was only able to
> save one actor.
>
Hi Taro,
You need to export the scene (actors, their properties and transforms
etc.). VTK doesn't have is own scene format but the
vtkVRMLExporter/vtkVRMLImporter classes are available... give them a go.
hth
Goodwin
More information about the vtkusers
mailing list