Public Member Functions | |
AntiSquish () | |
AntiSquish (const osg::Vec3 &pivot) | |
AntiSquish (const osg::Vec3 &pivot, const osg::Vec3 &position) | |
AntiSquish (const AntiSquish &pat, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual osg::Object * | cloneType () const |
clone an object of the same type as the node. | |
virtual osg::Object * | clone (const osg::CopyOp ©op) const |
return a clone of a node, with Object* return type. | |
virtual bool | isSameKindAs (const osg::Object *obj) const |
return true if this and obj are of the same kind of object. | |
void | setPivot (const osg::Vec3 &pvt) |
const osg::Vec3 & | getPivot () |
void | setPosition (const osg::Vec3 &pos) |
const osg::Vec3 & | getPosition () |
virtual | ~AntiSquish () |
osg::Matrix | computeUnSquishedMatrix (const osg::Matrix &, bool &flag) |
Protected Attributes | |
osg::NodeCallback * | _asqCallback |
osg::Vec3 | _pivot |
bool | _usePivot |
osg::Vec3 | _position |
bool | _usePosition |
bool | _dirty |
osg::Matrix | _cachedLocalToWorld |
osgManipulator::AntiSquish::AntiSquish | ( | ) |
osgManipulator::AntiSquish::AntiSquish | ( | const osg::Vec3 & | pivot | ) |
osgManipulator::AntiSquish::AntiSquish | ( | const AntiSquish & | pat, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
virtual osgManipulator::AntiSquish::~AntiSquish | ( | ) | [virtual] |
virtual osg::Object* osgManipulator::AntiSquish::cloneType | ( | ) | const [inline, virtual] |
virtual osg::Object* osgManipulator::AntiSquish::clone | ( | const osg::CopyOp & | copyop | ) | const [inline, virtual] |
virtual bool osgManipulator::AntiSquish::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
void osgManipulator::AntiSquish::setPivot | ( | const osg::Vec3 & | pvt | ) | [inline] |
const osg::Vec3& osgManipulator::AntiSquish::getPivot | ( | ) | [inline] |
void osgManipulator::AntiSquish::setPosition | ( | const osg::Vec3 & | pos | ) | [inline] |
const osg::Vec3& osgManipulator::AntiSquish::getPosition | ( | ) | [inline] |
osg::Matrix osgManipulator::AntiSquish::computeUnSquishedMatrix | ( | const osg::Matrix & | , | |
bool & | flag | |||
) |
osg::Vec3 osgManipulator::AntiSquish::_pivot [protected] |
bool osgManipulator::AntiSquish::_usePivot [protected] |
osg::Vec3 osgManipulator::AntiSquish::_position [protected] |
bool osgManipulator::AntiSquish::_usePosition [protected] |
bool osgManipulator::AntiSquish::_dirty [protected] |