Go to the documentation of this file.
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);
122 Pose* clone(
void)
const;
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
const String & getName(void) const
Return the name of the pose (may be blank)
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
ConstMapIterator< NormalsMap > ConstNormalsIterator
An iterator over the vertex offsets.
String mName
Optional name.
map< size_t, Vector3 >::type NormalsMap
A collection of normals based on the vertex index.
A pose is a linked set of vertex offsets applying to one set of vertex data.
VertexOffsetMap mVertexOffsetMap
Primary storage, sparse vertex use.
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
Summary class collecting together vertex source information.
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
vector< Pose * >::type PoseList
Shared pointer implementation used to share vertex buffers.
ushort getTarget(void) const
Return the target geometry index of the pose.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
HardwareVertexBufferSharedPtr mBuffer
Derived hardware buffer, covers all vertices.
bool getIncludesNormals() const
Return whether the pose vertices include normals.
MapIterator< VertexOffsetMap > VertexOffsetIterator
An iterator over the vertex offsets.
Concrete IteratorWrapper for const access to the underlying key-value container.
NormalsMap mNormalsMap
Primary storage, sparse vertex use.
ushort mTarget
Target geometry index.
Standard 3-dimensional vector.
map< size_t, Vector3 >::type VertexOffsetMap
A collection of vertex offsets based on the vertex index.
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex offsets.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15