|
RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <cbulletproperties.h>
Public Types | |
| enum | ShapeTypes { Sphere = 0, Box = 1, Cylinder = 2, Capsule = 3, Cone = 4, Convex = 5, ConvexTriangle = 6, StaticPlane = 7 } |
| enum | ActivationState { ActiveTag = 1, IslandSleeping = 2, WantsDeactivation = 3, DisableDeactivation = 4, DisableSimulation = 5 } |
Public Member Functions | |
| CBulletProperties () | |
| CBulletProperties (const CBulletProperties &original_obj) | |
| const CBulletProperties & | operator= (const CBulletProperties &original_obj) |
| virtual void | copyValuesFromObject (const CBulletProperties &original_obj) |
| const bool | physicsEnabled () const |
| void | setPhysicsEnabled (bool physics_enabled) |
| const float | mass () const |
| void | setMass (float mass) |
| const float | restitution () const |
| void | setRestitution (float restitution) |
| const float | friction () const |
| void | setFriction (float friction) |
| const btVector3 & | linearFactor () const |
| void | setLinearFactor (const btVector3 &linear_factor) |
| const btVector3 & | angularFactor () const |
| void | setAngularFactor (const btVector3 &angular_factor) |
| const ShapeTypes | shapeType () const |
| void | setShapeType (ShapeTypes shape_type) |
| const float | height () const |
| void | setHeight (float height) |
| const float | radius () const |
| void | setRadius (float radius) |
| const btVector3 & | size () const |
| void | setSize (const btVector3 &size) |
| const btVector3 & | planeNormal () const |
| void | setPlaneNormal (const btVector3 &plane_normal) |
| const float | planeConstant () const |
| void | setPlaneConstant (float plane_constant) |
| const QString & | vertices () const |
| void | setVertices (const QString &vertices) |
| btRigidBody * | rigidBody () const |
| void | setRigidBody (btRigidBody *rigid_body) |
| CBulletProperties::ActivationState | activationState () const |
| void | setActivationState (const CBulletProperties::ActivationState &activationState) |
| ~CBulletProperties () | |
Public Member Functions inherited from CObject | |
| CObject () | |
| CObject (const CObject &object) | |
| CObject & | operator= (const CObject &object) |
| CObject * | retain () |
| unsigned int | release () const |
| CObject * | autorelease () |
| unsigned int | retainCount () const |
| bool | isValidCObject () const |
| virtual | ~CObject () |
Additional Inherited Members | |
Static Public Member Functions inherited from CObject | |
| static void | safeRetain (void *pointer) |
| template<class T > | |
| static void | safeRelease (T *pointer) |
| template<class T > | |
| static void | safeReleaseArray (T *array) |
| static void | safeRelease (const char *pointer) |
Protected Member Functions inherited from CObject | |
| virtual void | copyValuesFromObject (const CObject &object) |
Class that represents the most common properties of a btRigidBody (see bullet physics engine and Rigid Bodies)
Definition at line 40 of file cbulletproperties.h.
| Enumerator | |
|---|---|
| ActiveTag | |
| IslandSleeping | |
| WantsDeactivation | |
| DisableDeactivation | |
| DisableSimulation | |
Definition at line 49 of file cbulletproperties.h.
| Enumerator | |
|---|---|
| Sphere | |
| Box | |
| Cylinder | |
| Capsule | |
| Cone | |
| Convex | |
| ConvexTriangle | |
| StaticPlane | |
Definition at line 46 of file cbulletproperties.h.
| CBulletProperties::CBulletProperties | ( | ) |
Definition at line 35 of file cbulletproperties.cpp.
| CBulletProperties::CBulletProperties | ( | const CBulletProperties & | original_obj | ) |
Definition at line 55 of file cbulletproperties.cpp.
| CBulletProperties::~CBulletProperties | ( | void | ) |
Definition at line 274 of file cbulletproperties.cpp.
| CBulletProperties::ActivationState CBulletProperties::activationState | ( | ) | const |
Definition at line 262 of file cbulletproperties.cpp.
| const btVector3 & CBulletProperties::angularFactor | ( | ) | const |
Definition at line 151 of file cbulletproperties.cpp.
|
virtual |
Definition at line 61 of file cbulletproperties.cpp.
| const float CBulletProperties::friction | ( | ) | const |
Definition at line 127 of file cbulletproperties.cpp.
| const float CBulletProperties::height | ( | ) | const |
Definition at line 175 of file cbulletproperties.cpp.
| const btVector3 & CBulletProperties::linearFactor | ( | ) | const |
Definition at line 139 of file cbulletproperties.cpp.
| const float CBulletProperties::mass | ( | ) | const |
Definition at line 103 of file cbulletproperties.cpp.
| const CBulletProperties & CBulletProperties::operator= | ( | const CBulletProperties & | original_obj | ) |
Definition at line 79 of file cbulletproperties.cpp.
| const bool CBulletProperties::physicsEnabled | ( | ) | const |
Definition at line 91 of file cbulletproperties.cpp.
| const float CBulletProperties::planeConstant | ( | ) | const |
Definition at line 223 of file cbulletproperties.cpp.
| const btVector3 & CBulletProperties::planeNormal | ( | ) | const |
Definition at line 211 of file cbulletproperties.cpp.
| const float CBulletProperties::radius | ( | ) | const |
Definition at line 187 of file cbulletproperties.cpp.
| const float CBulletProperties::restitution | ( | ) | const |
Definition at line 115 of file cbulletproperties.cpp.
| btRigidBody * CBulletProperties::rigidBody | ( | ) | const |
Definition at line 247 of file cbulletproperties.cpp.
| void CBulletProperties::setActivationState | ( | const CBulletProperties::ActivationState & | activationState | ) |
Definition at line 268 of file cbulletproperties.cpp.
| void CBulletProperties::setAngularFactor | ( | const btVector3 & | angular_factor | ) |
Definition at line 157 of file cbulletproperties.cpp.
| void CBulletProperties::setFriction | ( | float | friction | ) |
Definition at line 133 of file cbulletproperties.cpp.
| void CBulletProperties::setHeight | ( | float | height | ) |
Definition at line 181 of file cbulletproperties.cpp.
| void CBulletProperties::setLinearFactor | ( | const btVector3 & | linear_factor | ) |
Definition at line 145 of file cbulletproperties.cpp.
| void CBulletProperties::setMass | ( | float | mass | ) |
Definition at line 109 of file cbulletproperties.cpp.
| void CBulletProperties::setPhysicsEnabled | ( | bool | physics_enabled | ) |
Definition at line 97 of file cbulletproperties.cpp.
| void CBulletProperties::setPlaneConstant | ( | float | plane_constant | ) |
Definition at line 229 of file cbulletproperties.cpp.
| void CBulletProperties::setPlaneNormal | ( | const btVector3 & | plane_normal | ) |
Definition at line 217 of file cbulletproperties.cpp.
| void CBulletProperties::setRadius | ( | float | radius | ) |
Definition at line 193 of file cbulletproperties.cpp.
| void CBulletProperties::setRestitution | ( | float | restitution | ) |
Definition at line 121 of file cbulletproperties.cpp.
| void CBulletProperties::setRigidBody | ( | btRigidBody * | rigid_body | ) |
Definition at line 253 of file cbulletproperties.cpp.
| void CBulletProperties::setShapeType | ( | CBulletProperties::ShapeTypes | shape_type | ) |
Definition at line 169 of file cbulletproperties.cpp.
| void CBulletProperties::setSize | ( | const btVector3 & | size | ) |
Definition at line 205 of file cbulletproperties.cpp.
| void CBulletProperties::setVertices | ( | const QString & | vertices | ) |
Definition at line 241 of file cbulletproperties.cpp.
| const CBulletProperties::ShapeTypes CBulletProperties::shapeType | ( | ) | const |
Definition at line 163 of file cbulletproperties.cpp.
| const btVector3 & CBulletProperties::size | ( | ) | const |
Definition at line 199 of file cbulletproperties.cpp.
| const QString & CBulletProperties::vertices | ( | ) | const |
Definition at line 235 of file cbulletproperties.cpp.