
Public Member Functions | |
| Box () | |
| Box (const osg::Vec3 ¢er, float width) | |
| Box (const osg::Vec3 ¢er, float lengthX, float lengthY, float lengthZ) | |
| Box (const Box &box, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Shape (osg, Box) | |
| bool | valid () const |
| void | set (const Vec3 ¢er, const Vec3 &halfLengths) |
| void | setCenter (const Vec3 ¢er) |
| const Vec3 & | getCenter () const |
| void | setHalfLengths (const Vec3 &halfLengths) |
| const Vec3 & | getHalfLengths () const |
| void | setRotation (const Quat &quat) |
| const Quat & | getRotation () const |
| Matrix | computeRotationMatrix () const |
| bool | zeroRotation () const |
Protected Member Functions | |
| virtual | ~Box () |
Protected Attributes | |
| Vec3 | _center |
| Vec3 | _halfLengths |
| Quat | _rotation |
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|