Re: [osg-users] MatrixManipulator and Callback

2008-04-03 Thread Vincent Bourdier
Ok, Thanks, the Handle method is already implemented, and it is a particular situation, so I'll try an other way... Thank you very much. Vincent. 2008/4/2, Robert Osfield <[EMAIL PROTECTED]>: > > On Wed, Apr 2, 2008 at 5:03 PM, Vincent Bourdier < > [EMAIL PROTECTED]> wrote: > > > Hi Robert, >

Re: [osg-users] MatrixManipulator and Callback

2008-04-02 Thread Robert Osfield
On Wed, Apr 2, 2008 at 5:03 PM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > Hi Robert, > > I don't understand why and how overriding handle() method can help ? > The MatrixManipulator is effectively just a callback for catching events, you implement the callback by subclassing from handle(..).

Re: [osg-users] MatrixManipulator and Callback

2008-04-02 Thread Vincent Bourdier
Hi Robert, I don't understand why and how overriding handle() method can help ? thanks. Regards, Vincent. 2008/4/2, Robert Osfield <[EMAIL PROTECTED]>: > > Hi Vincent, > > A MatrixManipulator isn't a class that has a setUpdateCallback(), its not > a node, drawable and state attribute, its ju

Re: [osg-users] MatrixManipulator and Callback

2008-04-02 Thread Robert Osfield
Hi Vincent, A MatrixManipulator isn't a class that has a setUpdateCallback(), its not a node, drawable and state attribute, its just an form of event handler, which itself is a form of callback. Now you can override the handle(..) method if you wish... Robert. On Wed, Apr 2, 2008 at 4:08 PM, Vi

[osg-users] MatrixManipulator and Callback

2008-04-02 Thread Vincent Bourdier
Hi all, I'm trying to put a callback on my manipulator, inherited from MatrixManipulator. but a the line : myManipulator->setUpdateCallback(...) I got a error of compilation : error C2039: 'setUpdateCallback' : is not member of 'MyManipulator' I don't understand why I cannot set my callback