Hi Robert, I was wondering how you would use osg::Observer and are there
any examples. Would you construct it as
osg::observer_ptr<osg::Object> pagedLODObserver ?
and catch page unloads by testing for objectDeleted() ?
On Thu, 2008-01-24 at 09:01 +0000, Robert Osfield wrote:
> Hi Michael,
>
> To monitor file loads you just need to assign a custom
> osdDB::Registry::ReadCallback to the Registry..
>
> To catch unloads you have two routes, add an custom osg::Observer to
> PagedLOD objects to get informed when they get deleted or to create
> your own DatabasePager subclass.
>
> Robert.
>
> On Jan 23, 2008 10:47 PM, Guerrero, Michael (CIV) <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Hi, I'm searching for a convenient way to be alerted when a PagedLOD node
> > gets either paged in or out. Is there a preferred method of doing this?
> >
> >
> >
> > Thanks,
> >
> > Michael
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT
1914. If you have received this email in error, you are requested to contact
the sender and delete the email.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org