Frapper  1.0a
Public Member Functions | Protected Attributes | List of all members
S3DGameNode::SpherePath Class Reference

#include <S3DGamePaths.h>

Inheritance diagram for S3DGameNode::SpherePath:
Inheritance graph
[legend]
Collaboration diagram for S3DGameNode::SpherePath:
Collaboration graph
[legend]

Public Member Functions

 SpherePath (Vec3 startPosition, Vec3 endPosition, Vec3 origin=Vec3(0, 0, 0))
 
virtual Vec3 GetPosition (const float &alpha)
 
virtual Quat GetOrientation (const float &alpha)
 
virtual PathType GetPathType ()
 
- Public Member Functions inherited from S3DGameNode::Path
 Path ()
 
 Path (Vec3 position, Quat orientation)
 
 Path (Vec3 startPosition, Vec3 endPosition)
 
 Path (Vec3 startPosition, Vec3 endPosition, Quat orientation)
 
virtual ~Path ()
 
virtual Vec3 GetStartPos () const
 
virtual Vec3 GetEndPos () const
 
virtual float GetNormalizedLength ()
 
virtual void SetNormalizedLength (float val)
 
QList< GameEvent * > & Events ()
 
QString Name () const
 
void Name (QString val)
 

Protected Attributes

Ogre::Radian mAngle
 
Vec3 mNormal
 
Vec3 mO
 
- Protected Attributes inherited from S3DGameNode::Path
Vec3 mPosition
 
Vec3 mStartPos
 
Vec3 mEndPos
 
Quat mOrientation
 
float mLength
 
QString mName
 
QList< GameEvent * > mEvents
 

Additional Inherited Members

- Public Types inherited from S3DGameNode::Path
enum  PathType {
  BASE, STILL, SPHERE, JUMP,
  LINE, SLING, FALL
}
 

Constructor & Destructor Documentation

S3DGameNode::SpherePath::SpherePath ( Vec3  startPosition,
Vec3  endPosition,
Vec3  origin = Vec3(0,0,0) 
)
inline

Member Function Documentation

virtual Vec3 S3DGameNode::SpherePath::GetPosition ( const float &  alpha)
inlinevirtual

Reimplemented from S3DGameNode::Path.

virtual Quat S3DGameNode::SpherePath::GetOrientation ( const float &  alpha)
inlinevirtual

Reimplemented from S3DGameNode::Path.

Reimplemented in S3DGameNode::JumpPath.

virtual PathType S3DGameNode::SpherePath::GetPathType ( )
inlinevirtual

Reimplemented from S3DGameNode::Path.

Reimplemented in S3DGameNode::JumpPath.

Member Data Documentation

Ogre::Radian S3DGameNode::SpherePath::mAngle
protected
Vec3 S3DGameNode::SpherePath::mNormal
protected
Vec3 S3DGameNode::SpherePath::mO
protected

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