[vtkusers] Is there any one know how to program a "New file".

de Boer Ingo I.deBoer at polytec.de
Thu Mar 11 02:58:17 EST 2004


> I want to program "New file" on the menu item of the GUI.
> It removes all actors, cameras, lights and etc. in render.
> I have no idea.

Hmmm...

Couldn't you make a vtkActorCollection, add all the actors
you need and "on new" you make vtkActorCollection->RemoveAllItems()
and reset the camera ??

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 




More information about the vtkusers mailing list