Ogre::InstancedGeometry::InstancedObject Class Reference

`#include <OgreInstancedGeometry.h>`

Inheritance diagram for Ogre::InstancedGeometry::InstancedObject:
[legend]

## Public Types

typedef vector< GeometryBucket * >::type | GeometryBucketList
| list of Geometry Buckets that contains the instanced object More...
enum | TransformSpace { TS_LOCAL, TS_PARENT, TS_WORLD }

## Public Member Functions

| InstancedObject (unsigned short index)
| InstancedObject (unsigned short index, SkeletonInstance *skeleton, AnimationStateSet *animations)
| ~InstancedObject ()
void | addBucketToList (GeometryBucket *bucket)
AnimationState * | getAnimationState (const String &name) const
GeometryBucketList & | getGeometryBucketList (void)
Matrix3 | getLocalAxes (void) const
Quaternion & | getOrientation (void)
const Vector3 & | getPosition (void) const
const Vector3 & | getScale () const
SkeletonInstance * | getSkeletonInstance (void)
void | needUpdate ()
void | operator delete (void *ptr)
void | operator delete (void *ptr, void *)
void | operator delete (void *ptr, const char *, int, const char *)
void | operator delete[] (void *ptr)
void | operator delete[] (void *ptr, const char *, int, const char *)
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 * | operator new (size_t sz, void *ptr)
| placement operator new More...
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info More...
void * | operator new[] (size_t sz)
void | pitch (const Radian &angle)
void | roll (const Radian &angle)
void | rotate (const Quaternion &q)
void | setOrientation (const Quaternion &q)
void | setPosition (Vector3 position)
void | setPositionAndOrientation (Vector3 p, const Quaternion &q)
void | setScale (const Vector3 &scale)
void | translate (const Matrix3 &axes, const Vector3 &move)
void | translate (const Vector3 &d)
void | updateAnimation (void)
void | yaw (const Radian &angle)

## Protected Attributes

AnimationStateSet * | mAnimationState
| State of animation for animable meshes. More...
Matrix4 * | mBoneMatrices
| Cached bone matrices in skeleton local space. More...
Matrix4 * | mBoneWorldMatrices
| Cached bone matrices, including any world transform. More...
unsigned long | mFrameAnimationLastUpdated
| Records the last frame in which animation was updated. More...
GeometryBucketList | mGeometryBucketList
unsigned short | mIndex
unsigned short | mNumBoneMatrices
Quaternion | mOrientation
Vector3 | mPosition
Vector3 | mScale
SkeletonInstance * | mSkeletonInstance
Matrix4 | mTransformation

## Friends

class | GeometryBucket

## Detailed Description

Definition at line 261 of file OgreInstancedGeometry.h.

## Member Typedef Documentation

## GeometryBucketList

typedef vector<GeometryBucket*>::type Ogre::InstancedGeometry::InstancedObject::GeometryBucketList

list of Geometry Buckets that contains the instanced object

Definition at line 275 of file OgreInstancedGeometry.h.

## Member Enumeration Documentation

## TransformSpace

enum Ogre::InstancedGeometry::InstancedObject::TransformSpace

Enumerator
TS_LOCAL | Transform is relative to the local space.
TS_PARENT | Transform is relative to the space of the parent node.
TS_WORLD | Transform is relative to world space.

Definition at line 265 of file OgreInstancedGeometry.h.

## Constructor & Destructor Documentation

## InstancedObject() [1/2]

Ogre::InstancedGeometry::InstancedObject::InstancedObject | ( | unsigned short | index | ) |

## InstancedObject() [2/2]

Ogre::InstancedGeometry::InstancedObject::InstancedObject | ( | unsigned short | index,
|  | SkeletonInstance * | skeleton,
|  | AnimationStateSet * | animations
| ) |  |

## ~InstancedObject()

Ogre::InstancedGeometry::InstancedObject::~InstancedObject | ( |  | ) |

## Member Function Documentation

## addBucketToList()

void Ogre::InstancedGeometry::InstancedObject::addBucketToList | ( | GeometryBucket * | bucket | ) |

## getAnimationState()

AnimationState* Ogre::InstancedGeometry::InstancedObject::getAnimationState | ( | const String & | name | ) | const

## getGeometryBucketList()

GeometryBucketList& Ogre::InstancedGeometry::InstancedObject::getGeometryBucketList | ( | void |  | ) |

Definition at line 310 of file OgreInstancedGeometry.h.

## getLocalAxes()

Matrix3 Ogre::InstancedGeometry::InstancedObject::getLocalAxes | ( | void |  | ) | const

## getOrientation()

Quaternion& Ogre::InstancedGeometry::InstancedObject::getOrientation | ( | void |  | ) |

## getPosition()

const Vector3& Ogre::InstancedGeometry::InstancedObject::getPosition | ( | void |  | ) | const

## getScale()

const Vector3& Ogre::InstancedGeometry::InstancedObject::getScale | ( |  | ) | const

## getSkeletonInstance()

SkeletonInstance* Ogre::InstancedGeometry::InstancedObject::getSkeletonInstance | ( | void |  | ) |

Definition at line 316 of file OgreInstancedGeometry.h.

## needUpdate()

void Ogre::InstancedGeometry::InstancedObject::needUpdate | ( |  | ) |

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr
| ) |  |

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) |

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

## pitch()

void Ogre::InstancedGeometry::InstancedObject::pitch | ( | const Radian & | angle | ) |

## roll()

void Ogre::InstancedGeometry::InstancedObject::roll | ( | const Radian & | angle | ) |

## rotate()

void Ogre::InstancedGeometry::InstancedObject::rotate | ( | const Quaternion & | q | ) |

## setOrientation()

void Ogre::InstancedGeometry::InstancedObject::setOrientation | ( | const Quaternion & | q | ) |

## setPosition()

void Ogre::InstancedGeometry::InstancedObject::setPosition | ( | Vector3 | position | ) |

## setPositionAndOrientation()

void Ogre::InstancedGeometry::InstancedObject::setPositionAndOrientation | ( | Vector3 | p,
|  | const Quaternion & | q
| ) |  |

## setScale()

void Ogre::InstancedGeometry::InstancedObject::setScale | ( | const Vector3 & | scale | ) |

## translate() [1/2]

void Ogre::InstancedGeometry::InstancedObject::translate | ( | const Matrix3 & | axes,
|  | const Vector3 & | move
| ) |  |

## translate() [2/2]

void Ogre::InstancedGeometry::InstancedObject::translate | ( | const Vector3 & | d | ) |

## updateAnimation()

void Ogre::InstancedGeometry::InstancedObject::updateAnimation | ( | void |  | ) |

## yaw()

void Ogre::InstancedGeometry::InstancedObject::yaw | ( | const Radian & | angle | ) |

## Friends And Related Function Documentation

## GeometryBucket

friend class GeometryBucket

friend

Definition at line 263 of file OgreInstancedGeometry.h.

## Member Data Documentation

## mAnimationState

AnimationStateSet* Ogre::InstancedGeometry::InstancedObject::mAnimationState

protected

State of animation for animable meshes.

Definition at line 289 of file OgreInstancedGeometry.h.

## mBoneMatrices

Matrix4* Ogre::InstancedGeometry::InstancedObject::mBoneMatrices

protected

Cached bone matrices in skeleton local space.

Definition at line 287 of file OgreInstancedGeometry.h.

## mBoneWorldMatrices

Matrix4* Ogre::InstancedGeometry::InstancedObject::mBoneWorldMatrices

protected

Cached bone matrices, including any world transform.

Definition at line 285 of file OgreInstancedGeometry.h.

## mFrameAnimationLastUpdated

unsigned long Ogre::InstancedGeometry::InstancedObject::mFrameAnimationLastUpdated

protected

Records the last frame in which animation was updated.

Definition at line 292 of file OgreInstancedGeometry.h.

## mGeometryBucketList

GeometryBucketList Ogre::InstancedGeometry::InstancedObject::mGeometryBucketList

protected

Definition at line 277 of file OgreInstancedGeometry.h.

## mIndex

unsigned short Ogre::InstancedGeometry::InstancedObject::mIndex

protected

Definition at line 278 of file OgreInstancedGeometry.h.

## mNumBoneMatrices

unsigned short Ogre::InstancedGeometry::InstancedObject::mNumBoneMatrices

protected

Definition at line 290 of file OgreInstancedGeometry.h.

## mOrientation

Quaternion Ogre::InstancedGeometry::InstancedObject::mOrientation

protected

Definition at line 280 of file OgreInstancedGeometry.h.

## mPosition

Vector3 Ogre::InstancedGeometry::InstancedObject::mPosition

protected

Definition at line 282 of file OgreInstancedGeometry.h.

## mScale

Vector3 Ogre::InstancedGeometry::InstancedObject::mScale

protected

Definition at line 281 of file OgreInstancedGeometry.h.

## mSkeletonInstance

SkeletonInstance* Ogre::InstancedGeometry::InstancedObject::mSkeletonInstance

protected

Definition at line 283 of file OgreInstancedGeometry.h.

## mTransformation

Matrix4 Ogre::InstancedGeometry::InstancedObject::mTransformation

protected

Definition at line 279 of file OgreInstancedGeometry.h.

The documentation for this class was generated from the following file:

- OgreInstancedGeometry.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.