[IGSTK-Users] Scene Graph & Memory

Jake McIvor jdmcivor at interchange.ubc.ca
Wed Jun 9 19:16:35 EDT 2010


I have a question on the workings of the Scene Graph:

Based on my understanding, a new instance of the SceneGraph class is created
the first time a SceneGraphObserver is created through the coordinate system
interface. Whenever a new object is created, a new SceneGraphObserver is
created and a new SceneGraphNode is added to the existing SceneGraph (a
singleton pattern).

When an object is destroyed, the SceneGraphObserver is destroyed.

When/how should the SceneGraphNodes and SceneGraph be deleted?


Jake

--
Jake McIvor
MASc Candidate, Biomedical Engineering
University of British Columbia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20100609/d8b6b9dc/attachment.html>


More information about the IGSTK-Users mailing list