iso::visual::SceneTransformProperty Class Reference

#include <iso_visual_scene_transform_property.h>

List of all members.

Public Member Functions

 SceneTransformProperty ()
 ~SceneTransformProperty ()
bool changed () const
 check if transform has been changed
const math::Vector3< real > & position () const
 return positon
const math::Quaternion< real > & orientation () const
 return orientation
const math::Vector3< real > & scale () const
 return scale
const math::Matrix4< real > & matrix () const
 return object transformation matrix
void setPosition (real pX, real pY, real pZ)
 set position
void setPosition (const math::Vector3< real > &pPosition)
 set position
void changePosition (real pX, real pY, real pZ)
 change position
void changePosition (const math::Vector3< real > &pPosition)
 change position
void setOrientationX (real pAngle)
 set orientation around x axis
void setOrientationY (real pAngle)
 set orientation around y axis
void setOrientationZ (real pAngle)
 set orientation around z axis
void setOrientation (const math::Vector3< real > &pAxis, real pAngle)
 set camera orientation
void setOrientation (const math::Quaternion< real > &pOrientation)
 change camera orientation
void changeOrientationX (real pAngle)
 change orientation around x axis
void changeOrientationY (real pAngle)
 change orientation around y axis
void changeOrientationZ (real pAngle)
 change orientation around z axis
void changeOrientation (const math::Vector3< real > &pAxis, real pAngle)
 change camera orientation
void changeOrientation (const math::Quaternion< real > &pOrientation)
 change camera orientation
void setScale (real pScale)
 set uniform scale
void setScale (real pX, real pY, real pZ)
 set nonuniform scale
void setScale (const math::Vector3< real > pScale)
 set nonuniform scale
void changeScale (real pScale)
 change unform scale
void changeScale (real pX, real pY, real pZ)
 change nonuniform scale
void changeScale (const math::Vector3< real > pScale)
 change nonunform scale
void update ()

Protected Member Functions

void updateCoordinates ()

Protected Attributes

math::Vector3< realmPosition
 position
math::Quaternion< realmOrientation
 orientation
math::Vector3< realmScale
 scale
math::Matrix4< realmMatrix
 object transformation matrix
bool mChanged
 flag indicating whether matrix is out of date
math::Matrix4< realmTmpOrientMatrix
 temporary orientation matrix
math::Matrix4< realmTmpScaleMatrix
 temporary scale matrix
math::Quaternion< realmTmpQuaternion

Static Protected Attributes

static const math::Vector3<
real
sXAxis
static const math::Vector3<
real
sYAxis
static const math::Vector3<
real
sZAxis

Friends

class SceneTransformNode


Constructor & Destructor Documentation

SceneTransformProperty::SceneTransformProperty (  ) 

SceneTransformProperty::~SceneTransformProperty (  ) 


Member Function Documentation

bool SceneTransformProperty::changed (  )  const

check if transform has been changed

Returns:
true if it has been changed, false otherwise

const math::Vector3< real > & SceneTransformProperty::position (  )  const

return positon

Returns:
position

const math::Quaternion< real > & SceneTransformProperty::orientation (  )  const

return orientation

Returns:
orientation

const math::Vector3< real > & SceneTransformProperty::scale (  )  const

return scale

Returns:
scale

const math::Matrix4< real > & SceneTransformProperty::matrix (  )  const

return object transformation matrix

Returns:
object transformation matrix

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

set position

Parameters:
pX position x
pY position y
pZ position z

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

set position

Parameters:
pPosition position

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

change position

Parameters:
pX position x
pY position y
pZ position z

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

change position

Parameters:
pPosition position

void SceneTransformProperty::setOrientationX ( real  pAngle  ) 

set orientation around x axis

Parameters:
pAngle rotation angle

void SceneTransformProperty::setOrientationY ( real  pAngle  ) 

set orientation around y axis

Parameters:
pAngle rotation angle

void SceneTransformProperty::setOrientationZ ( real  pAngle  ) 

set orientation around z axis

Parameters:
pAngle rotation angle

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

set camera orientation

Parameters:
pAxis rotation axis
pAngle rotation angle

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

change camera orientation

Parameters:
pOrientation orientation

void SceneTransformProperty::changeOrientationX ( real  pAngle  ) 

change orientation around x axis

Parameters:
pAngle rotation angle

void SceneTransformProperty::changeOrientationY ( real  pAngle  ) 

change orientation around y axis

Parameters:
pAngle rotation angle

void SceneTransformProperty::changeOrientationZ ( real  pAngle  ) 

change orientation around z axis

Parameters:
pAngle rotation angle

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

change camera orientation

Parameters:
pAxis rotation axis
pAngle rotation angle

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

change camera orientation

Parameters:
pOrientation orientation

void SceneTransformProperty::setScale ( real  pScale  ) 

set uniform scale

Parameters:
pScale scale

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

set nonuniform scale

Parameters:
pX scale x
pY scale y
pZ scale z

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

set nonuniform scale

Parameters:
pScale scale

void SceneTransformProperty::changeScale ( real  pScale  ) 

change unform scale

Parameters:
pScale scale

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

change nonuniform scale

Parameters:
pX scale x
pY scale y
pZ scale z

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

change nonunform scale

Parameters:
pScale scale

void SceneTransformProperty::update (  ) 

void SceneTransformProperty::updateCoordinates (  )  [protected]


Friends And Related Function Documentation

friend class SceneTransformNode [friend]


Member Data Documentation

math::Vector3<real> iso::visual::SceneTransformProperty::mPosition [protected]

position

math::Quaternion<real> iso::visual::SceneTransformProperty::mOrientation [protected]

orientation

math::Vector3<real> iso::visual::SceneTransformProperty::mScale [protected]

scale

math::Matrix4<real> iso::visual::SceneTransformProperty::mMatrix [protected]

object transformation matrix

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

flag indicating whether matrix is out of date

math::Matrix4<real> iso::visual::SceneTransformProperty::mTmpOrientMatrix [protected]

temporary orientation matrix

math::Matrix4<real> iso::visual::SceneTransformProperty::mTmpScaleMatrix [protected]

temporary scale matrix

math::Quaternion<real> iso::visual::SceneTransformProperty::mTmpQuaternion [protected]

const math::Vector3< real > SceneTransformProperty::sXAxis [static, protected]

const math::Vector3< real > SceneTransformProperty::sYAxis [static, protected]

const math::Vector3< real > SceneTransformProperty::sZAxis [static, protected]


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