PhyCone class. More...

Inheritance diagram for PhyCone:

List of all members.

Public Member Functions

 PhyCone (real radius, real height, World *world, QString name="unamed", const wMatrix &tm=wMatrix::identity())
 Create a physics cone object and insert it in the world passed.
virtual ~PhyCone ()
 Destroy this object.
real height ()
 return the height
real radius ()
 return the radius

Protected Member Functions

void createPrivateObject ()
 Engine encapsulation.

Detailed Description

PhyCone class.

\

Motivation
Represent a physical cone object.
Description
Warnings
Warnings

Definition at line 37 of file phycone.h.


Constructor & Destructor Documentation

PhyCone ( real  radius,
real  height,
World world,
QString  name = "unamed",
const wMatrix tm = wMatrix::identity() 
)

Create a physics cone object and insert it in the world passed.

Parameters:
worldThe World which object will be inserted
tmrotation and position at the moment of creation

Definition at line 26 of file phycone.cpp.

References PhyObject::changedMatrix(), PhyCone::createPrivateObject(), PhyCone::height(), and PhyCone::radius().

~PhyCone ( ) [virtual]

Destroy this object.

Definition at line 35 of file phycone.cpp.


Member Function Documentation

void createPrivateObject ( ) [protected]

Engine encapsulation.

Reimplemented from PhyObject.

Definition at line 41 of file phycone.cpp.

References wMatrix::identity(), PhyObject::priv, and PhyObject::setMass().

Referenced by PhyCone::PhyCone().

real height ( ) [inline]

return the height

Definition at line 52 of file phycone.h.

Referenced by PhyCone::PhyCone().

real radius ( ) [inline]

return the radius

Definition at line 48 of file phycone.h.

Referenced by PhyCone::PhyCone().


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