PhyBox class. More...

Inheritance diagram for PhyBox:

List of all members.

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

PhyBox class.

\

Motivation
Represent a physical Box object.
Description
Warnings
Warnings

Definition at line 37 of file phybox.h.


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_xdimension of the side aligned with X axis
side_ydimension of the side aligned with Y axis
side_zdimension of the side aligned with Z axis
worldThe World which object will be inserted
tmrotation 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]

return the side X

Definition at line 51 of file phybox.h.

Referenced by PhyiCub::PhyiCub().

real sideY ( ) [inline]

return the side Y

Definition at line 55 of file phybox.h.

real sideZ ( ) [inline]

return the side Z

Definition at line 59 of file phybox.h.


The documentation for this class was generated from the following files: