
Public Member Functions | |
| Capsule () | |
| Capsule (const osg::Vec3 ¢er, float radius, float height) | |
| Capsule (const Capsule &capsule, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Shape (osg, Capsule) | |
| bool | valid () const |
| void | set (const Vec3 ¢er, float radius, float height) |
| void | setCenter (const Vec3 ¢er) |
| const Vec3 & | getCenter () const |
| void | setRadius (float radius) |
| float | getRadius () const |
| void | setHeight (float height) |
| float | getHeight () const |
| void | setRotation (const Quat &quat) |
| const Quat & | getRotation () const |
| Matrix | computeRotationMatrix () const |
| bool | zeroRotation () const |
Protected Member Functions | |
| virtual | ~Capsule () |
Protected Attributes | |
| Vec3 | _center |
| float | _radius |
| float | _height |
| Quat | _rotation |
| osg::Capsule::Capsule | ( | ) | [inline] |
| osg::Capsule::Capsule | ( | const osg::Vec3 & | center, | |
| float | radius, | |||
| float | height | |||
| ) | [inline] |
| osg::Capsule::Capsule | ( | const Capsule & | capsule, | |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
| ) | [inline] |
| virtual osg::Capsule::~Capsule | ( | ) | [inline, protected, virtual] |
| osg::Capsule::META_Shape | ( | osg | , | |
| Capsule | ||||
| ) |
| bool osg::Capsule::valid | ( | ) | const [inline] |
| void osg::Capsule::set | ( | const Vec3 & | center, | |
| float | radius, | |||
| float | height | |||
| ) | [inline] |
| void osg::Capsule::setCenter | ( | const Vec3 & | center | ) | [inline] |
| const Vec3& osg::Capsule::getCenter | ( | ) | const [inline] |
| void osg::Capsule::setRadius | ( | float | radius | ) | [inline] |
| float osg::Capsule::getRadius | ( | ) | const [inline] |
| void osg::Capsule::setHeight | ( | float | height | ) | [inline] |
| float osg::Capsule::getHeight | ( | ) | const [inline] |
| void osg::Capsule::setRotation | ( | const Quat & | quat | ) | [inline] |
| const Quat& osg::Capsule::getRotation | ( | ) | const [inline] |
| Matrix osg::Capsule::computeRotationMatrix | ( | ) | const [inline] |
| bool osg::Capsule::zeroRotation | ( | ) | const [inline] |
Vec3 osg::Capsule::_center [protected] |
float osg::Capsule::_radius [protected] |
float osg::Capsule::_height [protected] |
Quat osg::Capsule::_rotation [protected] |