PhyBox Class Reference
Inheritance diagram for PhyBox:

Public Member Functions | |
| PhyBox (real side_x, real side_y, real side_z, World *world, QString name="unamed", const wMatrix &tm=wMatrix::identity()) | |
| Create a physics Box object and insert it in the world passed. | |
| virtual | ~PhyBox () |
| Destroy this object. | |
| real | sideX () |
| return the side X | |
| real | sideY () |
| return the side Y | |
| real | sideZ () |
| return the side Z | |
Protected Member Functions | |
| void | createPrivateObject () |
| Engine encapsulation. | |
Detailed Description
Constructor & Destructor Documentation
| PhyBox | ( | real | side_x, |
| real | side_y, | ||
| real | side_z, | ||
| World * | world, | ||
| QString | name = "unamed", |
||
| const wMatrix & | tm = wMatrix::identity() |
||
| ) |
Create a physics Box object and insert it in the world passed.
- Parameters:
-
side_x dimension of the side aligned with X axis side_y dimension of the side aligned with Y axis side_z dimension of the side aligned with Z axis world The World which object will be inserted tm rotation and position at the moment of creation
Definition at line 26 of file phybox.cpp.
References PhyObject::changedMatrix(), and PhyBox::createPrivateObject().
| ~PhyBox | ( | ) | [virtual] |
Destroy this object.
Definition at line 36 of file phybox.cpp.
Member Function Documentation
| void createPrivateObject | ( | ) | [protected] |
Engine encapsulation.
Reimplemented from PhyObject.
Definition at line 42 of file phybox.cpp.
References wMatrix::identity(), PhyObject::priv, and PhyObject::setMass().
Referenced by PhyBox::PhyBox().
| real sideX | ( | ) | [inline] |
The documentation for this class was generated from the following files:
- worldsim/include/phybox.h
- worldsim/src/phybox.cpp