Public Member Functions | |
PositionAttitudeTransform () | |
PositionAttitudeTransform (const PositionAttitudeTransform &pat, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_Node (osg, PositionAttitudeTransform) | |
virtual PositionAttitudeTransform * | asPositionAttitudeTransform () |
virtual const PositionAttitudeTransform * | asPositionAttitudeTransform () const |
void | setPosition (const Vec3d &pos) |
const Vec3d & | getPosition () const |
void | setAttitude (const Quat &quat) |
const Quat & | getAttitude () const |
void | setScale (const Vec3d &scale) |
const Vec3d & | getScale () const |
void | setPivotPoint (const Vec3d &pivot) |
const Vec3d & | getPivotPoint () const |
virtual bool | computeLocalToWorldMatrix (Matrix &matrix, NodeVisitor *nv) const |
virtual bool | computeWorldToLocalMatrix (Matrix &matrix, NodeVisitor *nv) const |
Protected Member Functions | |
virtual | ~PositionAttitudeTransform () |
Protected Attributes | |
Vec3d | _position |
Quat | _attitude |
Vec3d | _scale |
Vec3d | _pivotPoint |
Sets the coordinate transform via a Vec3 position and Quat attitude.
osg::PositionAttitudeTransform::PositionAttitudeTransform | ( | ) |
osg::PositionAttitudeTransform::PositionAttitudeTransform | ( | const PositionAttitudeTransform & | pat, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
virtual osg::PositionAttitudeTransform::~PositionAttitudeTransform | ( | ) | [inline, protected, virtual] |
osg::PositionAttitudeTransform::META_Node | ( | osg | , | |
PositionAttitudeTransform | ||||
) |
virtual PositionAttitudeTransform* osg::PositionAttitudeTransform::asPositionAttitudeTransform | ( | ) | [inline, virtual] |
Reimplemented from osg::Transform.
virtual const PositionAttitudeTransform* osg::PositionAttitudeTransform::asPositionAttitudeTransform | ( | ) | const [inline, virtual] |
Reimplemented from osg::Transform.
void osg::PositionAttitudeTransform::setPosition | ( | const Vec3d & | pos | ) | [inline] |
const Vec3d& osg::PositionAttitudeTransform::getPosition | ( | ) | const [inline] |
void osg::PositionAttitudeTransform::setAttitude | ( | const Quat & | quat | ) | [inline] |
const Quat& osg::PositionAttitudeTransform::getAttitude | ( | ) | const [inline] |
void osg::PositionAttitudeTransform::setScale | ( | const Vec3d & | scale | ) | [inline] |
const Vec3d& osg::PositionAttitudeTransform::getScale | ( | ) | const [inline] |
void osg::PositionAttitudeTransform::setPivotPoint | ( | const Vec3d & | pivot | ) | [inline] |
const Vec3d& osg::PositionAttitudeTransform::getPivotPoint | ( | ) | const [inline] |
virtual bool osg::PositionAttitudeTransform::computeLocalToWorldMatrix | ( | Matrix & | matrix, | |
NodeVisitor * | nv | |||
) | const [virtual] |
Reimplemented from osg::Transform.
virtual bool osg::PositionAttitudeTransform::computeWorldToLocalMatrix | ( | Matrix & | matrix, | |
NodeVisitor * | nv | |||
) | const [virtual] |
Reimplemented from osg::Transform.
Vec3d osg::PositionAttitudeTransform::_position [protected] |
Quat osg::PositionAttitudeTransform::_attitude [protected] |
Vec3d osg::PositionAttitudeTransform::_scale [protected] |
Vec3d osg::PositionAttitudeTransform::_pivotPoint [protected] |