
Public Member Functions | |
| Sphere () | |
| Sphere (const osg::Vec3 ¢er, float radius) | |
| Sphere (const Sphere &sphere, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Shape (osg, Sphere) | |
| bool | valid () const |
| void | set (const Vec3 ¢er, float radius) |
| void | setCenter (const Vec3 ¢er) |
| const Vec3 & | getCenter () const |
| void | setRadius (float radius) |
| float | getRadius () const |
Protected Member Functions | |
| virtual | ~Sphere () |
Protected Attributes | |
| Vec3 | _center |
| float | _radius |
| osg::Sphere::Sphere | ( | ) | [inline] |
| osg::Sphere::Sphere | ( | const osg::Vec3 & | center, | |
| float | radius | |||
| ) | [inline] |
| osg::Sphere::Sphere | ( | const Sphere & | sphere, | |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
| ) | [inline] |
| virtual osg::Sphere::~Sphere | ( | ) | [inline, protected, virtual] |
| osg::Sphere::META_Shape | ( | osg | , | |
| Sphere | ||||
| ) |
| bool osg::Sphere::valid | ( | ) | const [inline] |
| void osg::Sphere::set | ( | const Vec3 & | center, | |
| float | radius | |||
| ) | [inline] |
| void osg::Sphere::setCenter | ( | const Vec3 & | center | ) | [inline] |
| const Vec3& osg::Sphere::getCenter | ( | ) | const [inline] |
| void osg::Sphere::setRadius | ( | float | radius | ) | [inline] |
| float osg::Sphere::getRadius | ( | ) | const [inline] |
Vec3 osg::Sphere::_center [protected] |
float osg::Sphere::_radius [protected] |