Hi Robert,
I've seen these method on the documentation but I don't know how to define
my callback, I'm a newbie and I want to know if there are some example of
callback definition.
Thank you.


2006/12/11, Robert Osfield <[EMAIL PROTECTED]>:

Hi Alex,

On 12/11/06, amalric alexandre <[EMAIL PROTECTED]> wrote:
> I was wondering how to compute bounds of an osg::group whitout some
nodes
> (wich are marked with a specific description). Is there a way to apply a
> filter on the getBound function to avoid some nodes in the computing ? I
> thought about making a temporary osg::group not containing those nodes,
but
> if there is a simplest way, it would better for me...

       /** Set the compute bound callback to override the default
computeBound.*/
       void
setComputeBoundingSphereCallback(ComputeBoundingSphereCallback*
callback) { _computeBoundCallback = callback; }

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to