Public Types | Public Member Functions | Protected Attributes | Friends
Ogre::InstancedGeometry::InstancedObject Class Reference

#include <OgreInstancedGeometry.h>

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

List of all members.

Public Types

typedef vector< GeometryBucket * >
::type 
GeometryBucketList
 list of Geometry Buckets that contains the instanced object
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)
AnimationStategetAnimationState (const String &name) const
GeometryBucketListgetGeometryBucketList (void)
Matrix3 getLocalAxes (void) const
QuaterniongetOrientation (void)
const Vector3getPosition (void) const
const Vector3getScale () const
SkeletonInstancegetSkeletonInstance (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
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
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

AnimationStateSetmAnimationState
 State of animation for animable meshes.
Matrix4mBoneMatrices
 Cached bone matrices in skeleton local space.
Matrix4mBoneWorldMatrices
 Cached bone matrices, including any world transform.
unsigned long mFrameAnimationLastUpdated
 Records the last frame in which animation was updated.
GeometryBucketList mGeometryBucketList
unsigned short mIndex
unsigned short mNumBoneMatrices
Quaternion mOrientation
Vector3 mPosition
Vector3 mScale
SkeletonInstancemSkeletonInstance
Matrix4 mTransformation

Friends

class GeometryBucket

Detailed Description

Definition at line 261 of file OgreInstancedGeometry.h.


Member Typedef Documentation

list of Geometry Buckets that contains the instanced object

Definition at line 275 of file OgreInstancedGeometry.h.


Member Enumeration Documentation

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

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

Member Function Documentation

Definition at line 310 of file OgreInstancedGeometry.h.

Definition at line 316 of file OgreInstancedGeometry.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr) [inherited]

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
) [inherited]

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr) [inherited]

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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.

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.

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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.

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.

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.

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

Friends And Related Function Documentation

friend class GeometryBucket [friend]

Definition at line 263 of file OgreInstancedGeometry.h.


Member Data Documentation

State of animation for animable meshes.

Definition at line 289 of file OgreInstancedGeometry.h.

Cached bone matrices in skeleton local space.

Definition at line 287 of file OgreInstancedGeometry.h.

Cached bone matrices, including any world transform.

Definition at line 285 of file OgreInstancedGeometry.h.

Records the last frame in which animation was updated.

Definition at line 292 of file OgreInstancedGeometry.h.

Definition at line 277 of file OgreInstancedGeometry.h.

Definition at line 278 of file OgreInstancedGeometry.h.

Definition at line 290 of file OgreInstancedGeometry.h.

Definition at line 280 of file OgreInstancedGeometry.h.

Definition at line 282 of file OgreInstancedGeometry.h.

Definition at line 281 of file OgreInstancedGeometry.h.

Definition at line 283 of file OgreInstancedGeometry.h.

Definition at line 279 of file OgreInstancedGeometry.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:18