TransformNode Class Reference
[Framework Module]

#include <transformnode.h>

Inheritance diagram for TransformNode:

SceneNode Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.


Detailed Description

A transform node groups its child nodes and defines position, orientation and scale of a scene node. Transformation hierarchies can be created using the object name space hierarchy.

Public Member Functions

 TransformNode (const char *id)
virtual ~TransformNode ()
virtual void Render ()
void SetTranslation (const vector2 &translation)
void SetRotation (float rotation)
const vector2GetTranslation ()
float GetRotation ()

Protected Types

enum  TransformType { TT_TRANSLATION = (1 << 0), TT_ROTATION = (1 << 1) }

Protected Attributes

vector2 translation
float rotation
byte_t flags

Member Enumeration Documentation

enum TransformNode::TransformType [protected]

Enumerator:
TT_TRANSLATION 
TT_ROTATION 


Constructor & Destructor Documentation

TransformNode::TransformNode ( const char *  id  ) 

Constructor.

TransformNode::~TransformNode (  )  [virtual]

Destructor.


Member Function Documentation

void TransformNode::Render (  )  [virtual]

Apply transformation.

Reimplemented from SceneNode.

void TransformNode::SetTranslation ( const vector2 translation  ) 

void TransformNode::SetRotation ( float  rotation  ) 

const vector2 & TransformNode::GetTranslation (  )  [inline]

float TransformNode::GetRotation (  )  [inline]


Member Data Documentation

vector2 TransformNode::translation [protected]

float TransformNode::rotation [protected]

byte_t TransformNode::flags [protected]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:36 2007 for Dark Oberon by  doxygen 1.5.3