OpenSceneGraph/include/osgManipulator
Robert Osfield f804d7dd81 From Vladimir Cheaev, "
I worked with a osg::Constraint and found strange part of code:
class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced
{
    public:
...
        virtual bool constrain(ScaleUniformCommand& command) const     { return constrain((MotionCommand&)command); }
        virtual bool constrain(const Rotate3DCommand& command)         { return constrain((MotionCommand&)command); }
...

If i use osgManipulator::Rotate3DCommand then method Rotate3DCommand::accept(const Constraint& constraint) calls Constraint::constrain(MotionCommand&) instead Constraint:: constrain(const Rotate3DCommand&).

If you replace
        virtual bool constrain(const Rotate3DCommand& command)         { return constrain((MotionCommand&)command); }
on to
        virtual bool constrain(Rotate3DCommand& command) const         { return constrain((MotionCommand&)command); }
then all works correctly.
"
2012-09-20 11:27:57 +00:00
..
AntiSquish Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Command Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
CommandManager Added constructor and destructor body 2009-07-01 14:49:30 +00:00
Constraint From Vladimir Cheaev, " 2012-09-20 11:27:57 +00:00
Dragger Added Dragger::get/setActivationMouseButtonMask(uint). 2012-05-25 15:32:51 +00:00
Export From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
Projector Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
RotateCylinderDragger From Chuck Seberino, "Attached are modified versions of RotateCylinderDragger and Projector files that clean up the use of _onCylinder / isProjectionOnCylinder(). 2012-03-09 10:20:23 +00:00
RotateSphereDragger From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
Scale1DDragger From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
Scale2DDragger From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
ScaleAxisDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
Selection Completed refactor of osgManipulator, key changes are: 2009-07-01 14:01:09 +00:00
TabBoxDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
TabBoxTrackballDragger Introduced TabBoxTrackballDragger 2009-08-05 16:02:44 +00:00
TabPlaneDragger From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger 2012-05-25 08:56:25 +00:00
TabPlaneTrackballDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
TrackballDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
Translate1DDragger From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
Translate2DDragger From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the 2010-04-28 20:16:44 +00:00
TranslateAxisDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
TranslatePlaneDragger From David Callu, "osgManipulator Object have not META_Object macro call in class definition. 2009-03-11 11:29:00 +00:00
Version Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00