> How would I use the object's own geometry of the object as the clickable hot
> spot?
I've been trying to implement a geode called DraggableCylinder which
inherits from the dragger. And I want this geode to also implement the
constrain() and receive() functions from osgManipulator::Constraint
and osgManipulator::DraggerCallback.
My class declaration (inheritance) now looks like this
class DraggableCylinder : public My2DDragger, private
osgManipulator::DraggerCallback, private osgManipulator::Constraint
{
};
Now I ran into the problem that the DraggableCylinder inherits three
ref() functions from several osg::Object base classes. Is there any
way to resolve this ambiguity easily? ;-) Like providing one
definitive overload of ref()/unref() that calls into the ref()/unref()
functions of the inherited osg::Objects... I realize that this is more
of a C++ question, but maybe someone has solved this issue previously?
Christian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org