#include <OgrePose.h>
Public Types | |
typedef std::map< size_t, Vector3 > | VertexOffsetMap |
A collection of vertex offsets based on the vertex index. | |
typedef MapIterator< VertexOffsetMap > | VertexOffsetIterator |
An iterator over the vertex offsets. | |
typedef ConstMapIterator< VertexOffsetMap > | ConstVertexOffsetIterator |
An iterator over the vertex offsets. | |
Public Member Functions | |
Pose (ushort target, const String &name=StringUtil::BLANK) | |
Constructor. | |
virtual | ~Pose () |
const String & | getName (void) const |
Return the name of the pose (may be blank). | |
ushort | getTarget (void) const |
Return the target geometry index of the pose. | |
void | addVertex (size_t index, const Vector3 &offset) |
Adds an offset to a vertex for this pose. | |
void | removeVertex (size_t index) |
Remove a vertex offset. | |
void | clearVertexOffsets (void) |
Clear all vertex offsets. | |
ConstVertexOffsetIterator | getVertexOffsetIterator (void) const |
Gets an iterator over all the vertex offsets. | |
VertexOffsetIterator | getVertexOffsetIterator (void) |
Gets an iterator over all the vertex offsets. | |
const VertexOffsetMap & | getVertexOffsets (void) const |
Gets a const reference to the vertex offsets. | |
const HardwareVertexBufferSharedPtr & | _getHardwareVertexBuffer (size_t numVertices) const |
Get a hardware vertex buffer version of the vertex offsets. | |
Protected Attributes | |
ushort | mTarget |
Target geometry index. | |
String | mName |
Optional name. | |
VertexOffsetMap | mVertexOffsetMap |
Primary storage, sparse vertex use. | |
HardwareVertexBufferSharedPtr | mBuffer |
Derived hardware buffer, covers all vertices. |
Definition at line 45 of file OgrePose.h.
|
An iterator over the vertex offsets.
Definition at line 64 of file OgrePose.h. |
|
An iterator over the vertex offsets.
Definition at line 62 of file OgrePose.h. |
|
A collection of vertex offsets based on the vertex index.
Definition at line 60 of file OgrePose.h. Referenced by getVertexOffsets(). |
|
Constructor.
|
|
|
|
Get a hardware vertex buffer version of the vertex offsets.
|
|
Adds an offset to a vertex for this pose.
|
|
Clear all vertex offsets.
|
|
Return the name of the pose (may be blank).
Definition at line 56 of file OgrePose.h. References Ogre::String. |
|
Return the target geometry index of the pose.
Definition at line 58 of file OgrePose.h. References Ogre::ushort. |
|
Gets an iterator over all the vertex offsets.
|
|
Gets an iterator over all the vertex offsets.
|
|
Gets a const reference to the vertex offsets.
Definition at line 83 of file OgrePose.h. References VertexOffsetMap. |
|
Remove a vertex offset.
|
|
Derived hardware buffer, covers all vertices.
Definition at line 95 of file OgrePose.h. |
|
Optional name.
Definition at line 91 of file OgrePose.h. |
|
Target geometry index.
Definition at line 89 of file OgrePose.h. |
|
Primary storage, sparse vertex use.
Definition at line 93 of file OgrePose.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:41:42 2006