HyperspaceExplorer 0.7.1
Public Member Functions | Protected Member Functions | Private Attributes
Script::XformStmt Class Reference

"transform <rotation>" More...

#include <Statement.h>

Inheritance diagram for Script::XformStmt:
Inheritance graph
[legend]
Collaboration diagram for Script::XformStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XformStmt (const Parser *p, const std::string &_arg)
virtual bool execute ()
 Executes the statement in the current context.

Protected Member Functions

VecMath::Rotation< 4 > & r ()

Private Attributes

VecMath::Rotation< 4 > _r
 The rotation state of the object.

Detailed Description

"transform <rotation>"

sets the transform of the current object

Todo:
add support for translations and 3D rotation

Constructor & Destructor Documentation

Script::XformStmt::XformStmt ( const Parser p,
const std::string _arg 
)
Parameters:
pThe context in which the Statement is executed
_argThe argument supplied to the Statement

References _r, and Script::Statement::arg().

Here is the call graph for this function:


Member Function Documentation

VecMath::Rotation<4>& Script::XformStmt::r ( ) [inline, protected]
Returns:
The rotation state of the object

References _r.

Referenced by Script::DeltaStmt::execute(), and execute().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:19 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo