|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::TransformIterator:

Public Member Functions | |
| bool | valid () const |
| Utils::Result | next () |
| bool | index (unsigned int index) |
| unsigned int | add (const Maths::Vec3f &position, const Maths::Vec3f &scale, const Maths::Quat4f &orientation, unsigned int parent) |
| unsigned int | add (const Maths::Vec3f &position, const Maths::Vec3f &scale, const Maths::Quat4f &orientation) |
| Utils::Result | add (const Geom &g) |
| Utils::Result | remove (const Geom &g) |
| Maths::Vec3f | position () const |
| Maths::Vec3f | scale () const |
| Maths::Quat4f | orientation () const |
| bool | getParent (unsigned int &) const |
| List | geoms () const |
| TransformIterator & | operator++ () |
Iterates over the individual transforms within a Cluster.
|
|
Add a Q::Geom to this transform. |
|
||||||||||||||||
|
Add a transform without a parent. The orientation should be normalised. Return the index of the new transform. The iterator is not updated to reference the new transform. |
|
||||||||||||||||||||
|
Add a transform with a parent. The parent is the transform at the specified index and must have been added already. The orientation should be normalised. Return the index of the new transform. The iterator is not updated to reference the new transform. |
|
|
Return the geoms associated with this transform. |
|
|
Get the index of the parent transform. Return |
|
|
Set the iterator to reference the given transform in the collection. Transform indices start at zero. This returns |
|
|
Advance the iterator to the next object in the list or if the current object is the last object in the list, then set the state of the iterator to invalid. Return Utils::Success. |
|
|
|
|
|
Return the orientation of the current transform. |
|
|
Return the position of the current transform. |
|
|
Remove a Q::Geom from this transform. If |
|
|
Return the scale of the current transform. |
|
|
Return Reimplemented from Q::ObjectBase. |
|
|
|
Qube Software Limited © 2000-2004
|
|