SO3::SShape Class Reference

#include <SO3Shape.h>

Inheritance diagram for SO3::SShape:
SO3::SData SO3::SShapeBox SO3::SShapeCapsule SO3::SShapeChamferCylinder SO3::SShapeCone SO3::SShapeConvexHull SO3::SShapeCylinder SO3::SShapeEllipsoid SO3::SShapePyramid SO3::SShapeTree

List of all members.

Public Types

enum  ShapeType {
  SO3_NULL_COLLISION, SO3_BOX_COLLISION, SO3_CONE_COLLISION, SO3_ELLIPSOID_COLLISION,
  SO3_CAPSULE_COLLISION, SO3_CYLINDER_COLLISION, SO3_COMPOUND_COLLISION, SO3_CHAMFERCYLINDRE_COLLISION,
  SO3_PYRAMID_COLLISION, SO3_SHAPE_COLLISION, SO3_TREE_COLLISION
}

Public Member Functions

 SShape (std::string shapeName, ShapeType shapeType)
 ~SShape ()
ShapeType GetType ()
OgreNewt::CollisionPtr GetOgreNewtCollisionPtr ()
virtual Ogre::Vector3 SShape::CalculateInertialMatrix ()=0
virtual Ogre::Vector3 SShape::CalculateOffset ()=0

Protected Attributes

OgreNewt::CollisionPtr mCollisionPtr

Detailed Description

Definition at line 45 of file SO3Shape.h.


Member Enumeration Documentation

Enumerator:
SO3_NULL_COLLISION 
SO3_BOX_COLLISION 
SO3_CONE_COLLISION 
SO3_ELLIPSOID_COLLISION 
SO3_CAPSULE_COLLISION 
SO3_CYLINDER_COLLISION 
SO3_COMPOUND_COLLISION 
SO3_CHAMFERCYLINDRE_COLLISION 
SO3_PYRAMID_COLLISION 
SO3_SHAPE_COLLISION 
SO3_TREE_COLLISION 

Definition at line 48 of file SO3Shape.h.


Constructor & Destructor Documentation

SShape::SShape ( std::string  shapeName,
ShapeType  shapeType 
)

Definition at line 18 of file SO3Shape.cpp.

SShape::~SShape (  ) 

Definition at line 26 of file SO3Shape.cpp.


Member Function Documentation

OgreNewt::CollisionPtr SShape::GetOgreNewtCollisionPtr (  ) 

Definition at line 35 of file SO3Shape.cpp.

SShape::ShapeType SShape::GetType (  ) 

Definition at line 30 of file SO3Shape.cpp.

virtual Ogre::Vector3 SO3::SShape::SShape::CalculateInertialMatrix (  )  [pure virtual]
virtual Ogre::Vector3 SO3::SShape::SShape::CalculateOffset (  )  [pure virtual]

Member Data Documentation

OgreNewt::CollisionPtr SO3::SShape::mCollisionPtr [protected]

Definition at line 64 of file SO3Shape.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:36 2011 for SO3Engine by  doxygen 1.6.3