Pose Struct Reference
[Scene Mangement]

Inherits Attribute.

Inherited by Physics, and PoseImpl.

List of all members.

Public Methods

virtual void setPosition (Float x, Float y, Float z)=0
virtual Vector3 getPosition () const=0
virtual void setEulerRotation (Float h, Float r, Float p)=0
virtual Quaternion getRotation () const=0
virtual Matrix44 getMatrix () const=0
virtual const Matrix44getWorldMatrix () const=0


Detailed Description

Defines a position and orientation for the entity.

Note that a pose only effects the attributes that appear after it in the entity's attribute list.


Member Function Documentation

virtual Matrix44 Pose::getMatrix   const [pure virtual]
 

Retrieve a local-space transformation matrix.

virtual Vector3 Pose::getPosition   const [pure virtual]
 

Get the position.

virtual Quaternion Pose::getRotation   const [pure virtual]
 

Get the rotation.

virtual const Matrix44& Pose::getWorldMatrix   const [pure virtual]
 

Get the local->world transformation matrix. Note that this method returns a reference to the matrix; each implementation is required to cache the world matrix and keep it up to date. This cached matrix is used by the engine subsystems during the update and render passes, and may be referenced elsewhere as well.

virtual void Pose::setEulerRotation Float    h,
Float    r,
Float    p
[pure virtual]
 

Set the rotation from a euler representation.

virtual void Pose::setPosition Float    x,
Float    y,
Float    z
[pure virtual]
 

Set the position.


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen