OpenSceneGraph
3.4.0
|
Class that performs the Anti Squish by making the scaling uniform along all axes. More...
Public Member Functions | |
AntiSquish () | |
AntiSquish (const osg::Vec3d &pivot) | |
AntiSquish (const osg::Vec3d &pivot, const osg::Vec3d &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. | |
virtual const char * | libraryName () const |
return the name of the node's library. | |
virtual const char * | className () const |
return the name of the node's class type. | |
void | setPivot (const osg::Vec3d &pvt) |
const osg::Vec3d & | getPivot () const |
void | setPosition (const osg::Vec3d &pos) |
const osg::Vec3d & | getPosition () const |
bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *) const |
bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *) const |
Protected Member Functions | |
virtual | ~AntiSquish () |
bool | computeUnSquishedMatrix (osg::Matrix &) const |
Protected Attributes | |
osg::Vec3d | _pivot |
bool | _usePivot |
osg::Vec3d | _position |
bool | _usePosition |
OpenThreads::Mutex | _cacheLock |
bool | _cacheDirty |
osg::Matrix | _cacheLocalToWorld |
osg::Matrix | _cache |
Class that performs the Anti Squish by making the scaling uniform along all axes.
osgManipulator::AntiSquish::AntiSquish | ( | const osg::Vec3d & | pivot | ) |
osgManipulator::AntiSquish::AntiSquish | ( | const osg::Vec3d & | pivot, |
const osg::Vec3d & | position | ||
) |
osgManipulator::AntiSquish::AntiSquish | ( | const AntiSquish & | pat, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osgManipulator::AntiSquish::~AntiSquish | ( | ) | [protected, virtual] |
virtual const char* osgManipulator::AntiSquish::className | ( | ) | const [inline, virtual] |
return the name of the node's class type.
Reimplemented from osg::Node.
virtual osg::Object* osgManipulator::AntiSquish::clone | ( | const osg::CopyOp & | copyop | ) | const [inline, virtual] |
return a clone of a node, with Object* return type.
Reimplemented from osg::Node.
virtual osg::Object* osgManipulator::AntiSquish::cloneType | ( | ) | const [inline, virtual] |
clone an object of the same type as the node.
Reimplemented from osg::Node.
bool osgManipulator::AntiSquish::computeLocalToWorldMatrix | ( | osg::Matrix & | matrix, |
osg::NodeVisitor * | |||
) | const [virtual] |
Reimplemented from osg::Transform.
bool osgManipulator::AntiSquish::computeUnSquishedMatrix | ( | osg::Matrix & | ) | const [protected] |
bool osgManipulator::AntiSquish::computeWorldToLocalMatrix | ( | osg::Matrix & | matrix, |
osg::NodeVisitor * | |||
) | const [virtual] |
Reimplemented from osg::Transform.
const osg::Vec3d& osgManipulator::AntiSquish::getPivot | ( | ) | const [inline] |
const osg::Vec3d& osgManipulator::AntiSquish::getPosition | ( | ) | const [inline] |
virtual bool osgManipulator::AntiSquish::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
virtual const char* osgManipulator::AntiSquish::libraryName | ( | ) | const [inline, virtual] |
return the name of the node's library.
Reimplemented from osg::Node.
void osgManipulator::AntiSquish::setPivot | ( | const osg::Vec3d & | pvt | ) | [inline] |
void osgManipulator::AntiSquish::setPosition | ( | const osg::Vec3d & | pos | ) | [inline] |
osg::Matrix osgManipulator::AntiSquish::_cache [mutable, protected] |
bool osgManipulator::AntiSquish::_cacheDirty [mutable, protected] |
osg::Matrix osgManipulator::AntiSquish::_cacheLocalToWorld [mutable, protected] |
OpenThreads::Mutex osgManipulator::AntiSquish::_cacheLock [mutable, protected] |
osg::Vec3d osgManipulator::AntiSquish::_pivot [protected] |
osg::Vec3d osgManipulator::AntiSquish::_position [protected] |
bool osgManipulator::AntiSquish::_usePivot [protected] |
bool osgManipulator::AntiSquish::_usePosition [protected] |
![]() | Generated at Tue Dec 8 2015 00:14:29 for the OpenSceneGraph by doxygen 1.7.6.1. |