88 void addVertex(
size_t index,
const Vector3& offset);
94 void addVertex(
size_t index,
const Vector3& offset,
const Vector3& normal);
97 void removeVertex(
size_t index);
100 void clearVertices(
void);
103 ConstVertexOffsetIterator getVertexOffsetIterator(
void)
const;
105 VertexOffsetIterator getVertexOffsetIterator(
void);
110 ConstNormalsIterator getNormalsIterator(
void)
const;
112 NormalsIterator getNormalsIterator(
void);
114 const NormalsMap&
getNormals(
void)
const {
return mNormalsMap; }
122 Pose* clone(
void)
const;
ushort mTarget
Target geometry index.
NormalsMap mNormalsMap
Primary storage, sparse vertex use.
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
ushort getTarget(void) const
Return the target geometry index of the pose.
vector< Pose * >::type PoseList
Summary class collecting together vertex source information.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Concrete IteratorWrapper for const access to the underlying key-value container.
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
VertexOffsetMap mVertexOffsetMap
Primary storage, sparse vertex use.
ConstMapIterator< NormalsMap > ConstNormalsIterator
An iterator over the vertex offsets.
map< size_t, Vector3 >::type VertexOffsetMap
A collection of vertex offsets based on the vertex index.
Standard 3-dimensional vector.
Shared pointer implementation used to share vertex buffers.
String mName
Optional name.
bool getIncludesNormals() const
Return whether the pose vertices include normals.
HardwareVertexBufferSharedPtr mBuffer
Derived hardware buffer, covers all vertices.
MapIterator< VertexOffsetMap > VertexOffsetIterator
An iterator over the vertex offsets.
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex offsets.
map< size_t, Vector3 >::type NormalsMap
A collection of normals based on the vertex index.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
A pose is a linked set of vertex offsets applying to one set of vertex data.
const String & getName(void) const
Return the name of the pose (may be blank)