Public Member Functions | |
Cone () | |
Cone (const osg::Vec3 ¢er, float radius, float height) | |
Cone (const Cone &cone, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_Shape (osg, Cone) | |
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 |
float | getBaseOffsetFactor () const |
float | getBaseOffset () const |
Protected Member Functions | |
virtual | ~Cone () |
Protected Attributes | |
Vec3 | _center |
float | _radius |
float | _height |
Quat | _rotation |
osg::Cone::Cone | ( | ) | [inline] |
osg::Cone::Cone | ( | const osg::Vec3 & | center, | |
float | radius, | |||
float | height | |||
) | [inline] |
virtual osg::Cone::~Cone | ( | ) | [inline, protected, virtual] |
osg::Cone::META_Shape | ( | osg | , | |
Cone | ||||
) |
bool osg::Cone::valid | ( | ) | const [inline] |
void osg::Cone::set | ( | const Vec3 & | center, | |
float | radius, | |||
float | height | |||
) | [inline] |
void osg::Cone::setCenter | ( | const Vec3 & | center | ) | [inline] |
const Vec3& osg::Cone::getCenter | ( | ) | const [inline] |
void osg::Cone::setRadius | ( | float | radius | ) | [inline] |
float osg::Cone::getRadius | ( | ) | const [inline] |
void osg::Cone::setHeight | ( | float | height | ) | [inline] |
float osg::Cone::getHeight | ( | ) | const [inline] |
void osg::Cone::setRotation | ( | const Quat & | quat | ) | [inline] |
const Quat& osg::Cone::getRotation | ( | ) | const [inline] |
Matrix osg::Cone::computeRotationMatrix | ( | ) | const [inline] |
bool osg::Cone::zeroRotation | ( | ) | const [inline] |
float osg::Cone::getBaseOffsetFactor | ( | ) | const [inline] |
float osg::Cone::getBaseOffset | ( | ) | const [inline] |
Vec3 osg::Cone::_center [protected] |
float osg::Cone::_radius [protected] |
float osg::Cone::_height [protected] |
Quat osg::Cone::_rotation [protected] |