#include <OgreSkeletonDef.h>
|
| SkeletonDef (const v1::Skeleton *originalSkeleton, Real frameRate) |
| Constructs this Skeleton based on the old format's Skeleton. More...
|
|
const SkeletonAnimationDefVec & | getAnimationDefs () const |
|
const KfTransform * | getBindPose () const |
|
const BoneDataVec & | getBones () const |
|
void | getBonesPerDepth (vector< size_t >::type &out) const |
|
const BoneToSlotVec & | getBoneToSlot () const |
|
const DepthLevelInfoVec & | getDepthLevelInfo () const |
|
const String & | getNameStr () const |
|
size_t | getNumberOfBoneBlocks (size_t numLevels) const |
| Returns the total number of bone blocks to reach the given level. More...
|
|
const RawSimdUniquePtr< ArrayMatrixAf4x3, MEMCATEGORY_ANIMATION > & | getReverseBindPose () const |
|
const IndexToIndexMap & | getSlotToBone () const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
◆ BoneDataVec
◆ BoneToSlotVec
◆ DepthLevelInfoVec
◆ IndexToIndexMap
◆ SkeletonDef()
Ogre::SkeletonDef::SkeletonDef |
( |
const v1::Skeleton * |
originalSkeleton, |
|
|
Real |
frameRate |
|
) |
| |
Constructs this Skeleton based on the old format's Skeleton.
The frameRate parameter indicates at which framerate it was recorded (i.e. 15fps, 25fps) so that all keyframe time values end up rounded.
◆ blockIdxToSlotStart()
static uint32 Ogre::SkeletonDef::blockIdxToSlotStart |
( |
uint32 |
blockIdx | ) |
|
|
inlinestatic |
Convertes a block index back to a slot index.
However the slot points at the start of the SIMD block.
- See also
- slotToBlockIdx and
-
mSlotToBone
- Parameters
-
- Returns
- The slot index.
References ARRAY_PACKED_REALS.
◆ getAnimationDefs()
◆ getBindPose()
const KfTransform* Ogre::SkeletonDef::getBindPose |
( |
| ) |
const |
|
inline |
◆ getBones()
const BoneDataVec& Ogre::SkeletonDef::getBones |
( |
| ) |
const |
|
inline |
◆ getBonesPerDepth()
void Ogre::SkeletonDef::getBonesPerDepth |
( |
vector< size_t >::type & |
out | ) |
const |
◆ getBoneToSlot()
◆ getDepthLevelInfo()
◆ getNameStr()
const String& Ogre::SkeletonDef::getNameStr |
( |
| ) |
const |
|
inline |
◆ getNumberOfBoneBlocks()
size_t Ogre::SkeletonDef::getNumberOfBoneBlocks |
( |
size_t |
numLevels | ) |
const |
Returns the total number of bone blocks to reach the given level.
i.e On SSE2, If the skeleton has 1 root node, 3 children, and 5 children of children; then the total number of blocks is 1 + 1 + 2 = 4
- Parameters
-
numLevels | Level depth to reach. Must be in range [0; mDepthLevelInfoVec.size] |
◆ getReverseBindPose()
◆ getSlotToBone()
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ slotToBlockIdx()
static uint32 Ogre::SkeletonDef::slotToBlockIdx |
( |
uint32 |
slotIdx | ) |
|
|
inlinestatic |
Converts a "Slot index" to a block index.
- See also
- mSlotToBone Slot indices contain the information about the bone's depth level in the hierarchy, and an index to the exact bone. Block indices also contain the depth level, but an index to the start of the SIMD block.
- Parameters
-
- Returns
- The block index.
References ARRAY_PACKED_REALS.
◆ SkeletonInstance
The documentation for this class was generated from the following file: