Project

General

Profile

SO3Engine
SO3::SShapeChamferCylinder Class Reference

#include <SO3ShapeChamferCylinder.h>

Inheritance diagram for SO3::SShapeChamferCylinder:
SO3::SShape SO3::SData

Public Member Functions

 SShapeChamferCylinder (const std::string &shapeName, SNode *node, const Ogre::Real &radius, const Ogre::Real &height)
 
 SShapeChamferCylinder (const std::string &shapeName, SNode *node, const Ogre::Real &radius, const Ogre::Real &height, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat)
 
 ~SShapeChamferCylinder ()
 
Ogre::Real GetRadius ()
 
Ogre::Real GetHeight ()
 
- Public Member Functions inherited from SO3::SShape
 SShape (const std::string &shapeName, const ShapeType &shapeType)
 
virtual ~SShape ()
 
ShapeType GetType ()
 
Ogre::Vector3 GetBaseOffset ()
 
Ogre::Vector3 GetComputedOffset ()
 
Ogre::Quaternion GetBaseRotation ()
 
Ogre::Vector3 GetBaseScale ()
 
OgreNewt::CollisionPtr GetOgreNewtCollisionPtr ()
 
- Public Member Functions inherited from SO3::SData
 SData (const std::string &dataName)
 
virtual ~SData ()
 
std::string GetName () const
 
SUserObjectBindingsGetUserObjectBindings ()
 
const SUserObjectBindingsGetUserObjectBindings () const
 

Additional Inherited Members

- Public Types inherited from SO3::SShape
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_CONCAVE_COLLISION , SO3_TREE_COLLISION
}
 
- Protected Attributes inherited from SO3::SShape
OgreNewt::CollisionPtr mCollisionPtr
 
Ogre::Quaternion mBaseRotation
 
Ogre::Vector3 mBaseOffset
 
Ogre::Vector3 mBaseScale
 
Ogre::Vector3 mComputedOffset
 
- Protected Attributes inherited from SO3::SData
std::string name
 

Detailed Description

Definition at line 40 of file SO3ShapeChamferCylinder.h.

Constructor & Destructor Documentation

◆ SShapeChamferCylinder() [1/2]

SShapeChamferCylinder::SShapeChamferCylinder ( const std::string &  shapeName,
SNode node,
const Ogre::Real &  radius,
const Ogre::Real &  height 
)

Definition at line 21 of file SO3ShapeChamferCylinder.cpp.

◆ SShapeChamferCylinder() [2/2]

SShapeChamferCylinder::SShapeChamferCylinder ( const std::string &  shapeName,
SNode node,
const Ogre::Real &  radius,
const Ogre::Real &  height,
const Ogre::Vector3 &  offset,
const Ogre::Quaternion &  quat 
)

Definition at line 44 of file SO3ShapeChamferCylinder.cpp.

◆ ~SShapeChamferCylinder()

SShapeChamferCylinder::~SShapeChamferCylinder ( )

Definition at line 69 of file SO3ShapeChamferCylinder.cpp.

Member Function Documentation

◆ GetHeight()

Ogre::Real SShapeChamferCylinder::GetHeight ( )

Definition at line 78 of file SO3ShapeChamferCylinder.cpp.

◆ GetRadius()

Ogre::Real SShapeChamferCylinder::GetRadius ( )

Definition at line 73 of file SO3ShapeChamferCylinder.cpp.


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