iso::visual::SceneTransformNode Class Reference

#include <iso_visual_scene_transform_node.h>

Inherited by iso::visual::CameraTransformNode.

Inheritance diagram for iso::visual::SceneTransformNode:

Inheritance graph
[legend]
Collaboration diagram for iso::visual::SceneTransformNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SceneTransformNode (SceneObject *pSceneObject)
 SceneTransformNode (SceneObject *pSceneObject, SceneTransformProperty *pProperty)
 ~SceneTransformNode ()
bool contains (SceneTransformNode *pNode) const
void add (SceneTransformNode *pNode)
void remove (SceneTransformNode *pNode)
bool changed () const
SceneTransformPropertyproperty ()
SceneTransformNodeparent ()
const math::Vector3< real > & position () const
 return positon (in world coordinates)
const math::Quaternion< real > & orientation () const
 return orientation (in world coordinates)
const math::Vector3< real > & scale () const
 return scale (in world coordinates)
const math::Matrix4< real > & matrix () const
 return transformation matrix (in world coordinates)
const math::Matrix4< real > & glMatrix () const
 return opengl transformation matrix (in world coordinates)
math::Matrix4< real > & glMatrix ()
 return opengl transformation matrix (in world coordinates)
void setPosition (real pX, real pY, real pZ)
 set position (in object coordinates)
void setPosition (const math::Vector3< real > &pPosition)
 set position (in object coordinates)
void changePosition (real pX, real pY, real pZ)
 change position (in object coordinates)
void changePosition (const math::Vector3< real > &pPosition)
 change position (in object coordinates)
void setOrientationX (real pAngle)
 set orientation around x axis (in object coordinates)
void setOrientationY (real pAngle)
 set orientation around y axis (in object coordinates)
void setOrientationZ (real pAngle)
 set orientation around z axis (in object coordinates)
void setOrientation (const math::Vector3< real > &pAxis, real pAngle)
 set camera orientation (in object coordinates)
void setOrientation (const math::Quaternion< real > &pOrientation)
 change camera orientation (in object coordinates)
void changeOrientationX (real pAngle)
 change orientation around x axis (in object coordinates)
void changeOrientationY (real pAngle)
 change orientation around y axis (in object coordinates)
void changeOrientationZ (real pAngle)
 change orientation around z axis (in object coordinates)
void changeOrientation (const math::Vector3< real > &pAxis, real pAngle)
 change camera orientation (in object coordinates)
void changeOrientation (const math::Quaternion< real > &pOrientation)
 change camera orientation (in object coordinates)
void setScale (real pScale)
 set uniform scale (in object coordinates)
void setScale (real pX, real pY, real pZ)
 set nonuniform scale (in object coordinates)
void setScale (const math::Vector3< real > pScale)
 set nonuniform scale (in object coordinates)
void changeScale (real pScale)
 change unform scale (in object coordinates)
void changeScale (real pX, real pY, real pZ)
 change nonuniform scale (in object coordinates)
void changeScale (const math::Vector3< real > pScale)
 change nonunform scale (in object coordinates)
void update ()
void updateWorldCoordinates ()

Protected Attributes

SceneObjectmSceneObject
SceneTransformPropertymProperty
SceneTransformProperty mInheritedProperty
SceneTransformNodemParent
 parent transform node
QList< SceneTransformNode * > mChildren
 children transform nodes
math::Matrix4< realmGLMatrix
 opengl transformation matrix
bool mChanged
 flag indicating whether world matrix is out of date

Constructor & Destructor Documentation

SceneTransformNode::SceneTransformNode ( SceneObject pSceneObject  ) 

SceneTransformNode::SceneTransformNode ( SceneObject pSceneObject,
SceneTransformProperty pProperty 
)

SceneTransformNode::~SceneTransformNode (  ) 


Member Function Documentation

bool SceneTransformNode::contains ( SceneTransformNode pNode  )  const

void SceneTransformNode::add ( SceneTransformNode pNode  ) 

void SceneTransformNode::remove ( SceneTransformNode pNode  ) 

bool SceneTransformNode::changed (  )  const

SceneTransformProperty * SceneTransformNode::property (  ) 

SceneTransformNode * SceneTransformNode::parent (  ) 

const math::Vector3< visual::real > & SceneTransformNode::position (  )  const

return positon (in world coordinates)

Returns:
world position

const math::Quaternion< visual::real > & SceneTransformNode::orientation (  )  const

return orientation (in world coordinates)

Returns:
world orientation

const math::Vector3< visual::real > & SceneTransformNode::scale (  )  const

return scale (in world coordinates)

Returns:
world scale

const math::Matrix4< visual::real > & SceneTransformNode::matrix (  )  const

return transformation matrix (in world coordinates)

Returns:
world transformation matrix

const math::Matrix4< visual::real > & SceneTransformNode::glMatrix (  )  const

return opengl transformation matrix (in world coordinates)

Returns:
opengl world transformation matrix

math::Matrix4< visual::real > & SceneTransformNode::glMatrix (  ) 

return opengl transformation matrix (in world coordinates)

Returns:
opengl world transformation matrix

void SceneTransformNode::setPosition ( real  pX,
real  pY,
real  pZ 
)

set position (in object coordinates)

Parameters:
pX position x
pY position y
pZ position z

void SceneTransformNode::setPosition ( const math::Vector3< real > &  pPosition  ) 

set position (in object coordinates)

Parameters:
pPosition position

void SceneTransformNode::changePosition ( real  pX,
real  pY,
real  pZ 
)

change position (in object coordinates)

Parameters:
pX position x
pY position y
pZ position z

void SceneTransformNode::changePosition ( const math::Vector3< real > &  pPosition  ) 

change position (in object coordinates)

Parameters:
pPosition position

void SceneTransformNode::setOrientationX ( real  pAngle  ) 

set orientation around x axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::setOrientationY ( real  pAngle  ) 

set orientation around y axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::setOrientationZ ( real  pAngle  ) 

set orientation around z axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::setOrientation ( const math::Vector3< real > &  pAxis,
real  pAngle 
)

set camera orientation (in object coordinates)

Parameters:
pAxis rotation axis
pAngle rotation angle

void SceneTransformNode::setOrientation ( const math::Quaternion< real > &  pOrientation  ) 

change camera orientation (in object coordinates)

Parameters:
pOrientation orientation

void SceneTransformNode::changeOrientationX ( real  pAngle  ) 

change orientation around x axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::changeOrientationY ( real  pAngle  ) 

change orientation around y axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::changeOrientationZ ( real  pAngle  ) 

change orientation around z axis (in object coordinates)

Parameters:
pAngle rotation angle

void SceneTransformNode::changeOrientation ( const math::Vector3< real > &  pAxis,
real  pAngle 
)

change camera orientation (in object coordinates)

Parameters:
pAxis rotation axis
pAngle rotation angle

void SceneTransformNode::changeOrientation ( const math::Quaternion< real > &  pOrientation  ) 

change camera orientation (in object coordinates)

Parameters:
pOrientation orientation

void SceneTransformNode::setScale ( real  pScale  ) 

set uniform scale (in object coordinates)

Parameters:
pScale scale

void SceneTransformNode::setScale ( real  pX,
real  pY,
real  pZ 
)

set nonuniform scale (in object coordinates)

Parameters:
pX scale x
pY scale y
pZ scale z

void SceneTransformNode::setScale ( const math::Vector3< real pScale  ) 

set nonuniform scale (in object coordinates)

Parameters:
pScale scale

void SceneTransformNode::changeScale ( real  pScale  ) 

change unform scale (in object coordinates)

Parameters:
pScale scale

void SceneTransformNode::changeScale ( real  pX,
real  pY,
real  pZ 
)

change nonuniform scale (in object coordinates)

Parameters:
pX scale x
pY scale y
pZ scale z

void SceneTransformNode::changeScale ( const math::Vector3< real pScale  ) 

change nonunform scale (in object coordinates)

Parameters:
pScale scale

void SceneTransformNode::update (  ) 

void SceneTransformNode::updateWorldCoordinates (  ) 


Member Data Documentation

SceneObject* iso::visual::SceneTransformNode::mSceneObject [protected]

SceneTransformProperty* iso::visual::SceneTransformNode::mProperty [protected]

scene object this node belongs to

SceneTransformProperty iso::visual::SceneTransformNode::mInheritedProperty [protected]

SceneTransformNode* iso::visual::SceneTransformNode::mParent [protected]

parent transform node

QList< SceneTransformNode* > iso::visual::SceneTransformNode::mChildren [protected]

children transform nodes

math::Matrix4<real> iso::visual::SceneTransformNode::mGLMatrix [protected]

opengl transformation matrix

bool iso::visual::SceneTransformNode::mChanged [protected]

flag indicating whether world matrix is out of date


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:23:41 2011 for iso visual by  doxygen 1.5.1