OpenGLPrakt --> events --> cEvent --> cRotationEvent
a cNamedEvent with a payload (a cQuaternion)
  cRotationEvent
  
  cRotationEvent
  
  cRotationEvent
  
  ~cRotationEvent
  
  mAngle
  
  mAxis
  
  Clone
  
  GetAngle
  
  GetAxis
  
public cRotationEvent ( const string & type = "cRotationEvent" ) ;
constructor which takes the event's name
| name | string which contains the event's name | 
public cRotationEvent ( const string & type ,
                        GLfloat angle ,
                        const cVertex & axis ) ;
constructor w/ initialization
| name | string which contains the event's name | 
| angle | angle in degree | 
| axis | axis to turn around | 
public cRotationEvent ( const cRotationEvent & e ) ;
copy constructor
public virtual ~ cRotationEvent ( ) ;
destructor
protected GLfloat mAngle
the stored angle
protected cVertex mAxis
the stored axis
public virtual cRotationEvent * Clone ( ) const ;
clone function
public virtual GLfloat GetAngle ( ) const ;
allow accessing the payload
public virtual const cVertex & GetAxis ( ) const ;
allow accessing the payload
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.