15 #ifndef OSGMANIPULATOR_COMMAND
16 #define OSGMANIPULATOR_COMMAND 1
18 #include <osgManipulator/Constraint>
20 #include <osg/LineSegment>
70 _localToWorld = localToWorld;
71 _worldToLocal = worldToLocal;
220 double _referencePoint;
void setTranslation(const osg::Vec3 &t)
void setReferencePoint(const osg::Vec3d &rp)
virtual osg::Matrix getMotionMatrix() const
const osg::Matrix & getWorldToLocal() const
void setScale(const osg::Vec2d &s)
static Matrixd translate(const Vec3f &dv)
virtual bool receive(const MotionCommand &)
#define OSGMANIPULATOR_EXPORT
double getScaleCenter() const
virtual osg::Matrix getMotionMatrix() const
virtual void accept(const Constraint &constraint)
void setStage(const Stage s)
virtual void accept(DraggerCallback &callback)
virtual void accept(DraggerCallback &callback)
void setScaleCenter(double center)
void setLine(const osg::LineSegment::vec_type &s, const osg::LineSegment::vec_type &e)
void setMinScale(const osg::Vec2d &min)
const osg::LineSegment::vec_type & getLineEnd() const
static Matrixd rotate(const Vec3f &from, const Vec3f &to)
const osg::Matrix & getLocalToWorld() const
virtual void accept(DraggerCallback &callback)
const osg::LineSegment::vec_type & getLineStart() const
void setTranslation(const osg::Vec3d &t)
void setMinScale(double min)
void setReferencePoint(double rp)
virtual osg::Matrix getMotionMatrix() const
double getMinScale() const
const osg::Vec2d & getMinScale() const
virtual void accept(const Constraint &constraint)
const osg::Vec2d & getReferencePoint() const
virtual void accept(DraggerCallback &callback)
virtual void accept(const Constraint &constraint)
virtual void accept(DraggerCallback &callback)
A plane class. It can be used to represent an infinite plane.
virtual void accept(const Constraint &constraint)
void setScaleCenter(const osg::Vec2d ¢er)
const osg::Vec3d & getReferencePoint() const
void setReferencePoint(const osg::Vec2d &rp)
virtual void accept(const Constraint &constraint)
const osg::Vec3d & getTranslation() const
virtual void accept(DraggerCallback &callback)
static Matrixd scale(const Vec3f &sv)
virtual osg::Matrix getMotionMatrix() const
void setRotation(const osg::Quat &rotation)
const osg::Plane & getPlane() const
virtual void accept(const Constraint &constraint)
double getReferencePoint() const
const osg::Vec3d & getTranslation() const
virtual bool constrain(MotionCommand &) const
void setPlane(const osg::Plane &plane)
const osg::Vec2d & getScaleCenter() const
const osg::Quat & getRotation() const
void setLocalToWorldAndWorldToLocal(const osg::Matrix &localToWorld, const osg::Matrix &worldToLocal)
const osg::Vec2d & getScale() const
virtual osg::Matrix getMotionMatrix() const