|
OGRE
1.9.0
|
Defines an object property which is animable, i.e. More...
#include <OgreAnimable.h>

Public Types | |
| enum | ValueType { INT , REAL , VECTOR2 , VECTOR3 , VECTOR4 , QUATERNION , COLOUR , RADIAN , DEGREE } |
| The type of the value being animated. More... | |
Public Member Functions | |
| AnimableValue (ValueType t) | |
| virtual | ~AnimableValue () |
| virtual void | applyDeltaValue (const Any &val) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const ColourValue &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Degree &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Quaternion &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Radian &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Vector2 &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Vector3 &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (const Vector4 &) |
| Apply delta value. | |
| virtual void | applyDeltaValue (int) |
| Apply delta value. | |
| virtual void | applyDeltaValue (Real) |
| Set value. | |
| ValueType | getType (void) const |
| Gets the value type of this animable value. | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| 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 | |
| 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 *ptr) |
| placement operator new | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| 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 | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| virtual void | resetToBaseValue (void) |
| virtual void | setCurrentStateAsBaseValue (void)=0 |
| Sets the current state as the 'base' value; used for delta animation. | |
| virtual void | setValue (const Any &val) |
| Set value. | |
| virtual void | setValue (const ColourValue &) |
| Set value. | |
| virtual void | setValue (const Degree &) |
| Set value. | |
| virtual void | setValue (const Quaternion &) |
| Set value. | |
| virtual void | setValue (const Radian &) |
| Set value. | |
| virtual void | setValue (const Vector2 &) |
| Set value. | |
| virtual void | setValue (const Vector3 &) |
| Set value. | |
| virtual void | setValue (const Vector4 &) |
| Set value. | |
| virtual void | setValue (int) |
| Set value. | |
| virtual void | setValue (Real) |
| Set value. | |
Protected Member Functions | |
| virtual void | setAsBaseValue (const Any &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const ColourValue &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Degree &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Quaternion &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Radian &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Vector2 &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Vector3 &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (const Vector4 &val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (int val) |
| Internal method to set a value as base. | |
| virtual void | setAsBaseValue (Real val) |
| Internal method to set a value as base. | |
Protected Attributes | ||
| union { | ||
| int mBaseValueInt | ||
| Real mBaseValueReal [4] | ||
| }; | ||
| Base value data. | ||
| ValueType | mType | |
| Value type. | ||
Defines an object property which is animable, i.e.
may be keyframed.
Definition at line 72 of file OgreAnimable.h.
The type of the value being animated.
| Enumerator | |
|---|---|
| INT | |
| REAL | |
| VECTOR2 | |
| VECTOR3 | |
| VECTOR4 | |
| QUATERNION | |
| COLOUR | |
| RADIAN | |
| DEGREE | |
Definition at line 76 of file OgreAnimable.h.
| Ogre::AnimableValue::AnimableValue | ( | ValueType | t | ) |
Definition at line 138 of file OgreAnimable.h.
References mType.
|
virtual |
Definition at line 139 of file OgreAnimable.h.
|
virtual |
Apply delta value.
|
virtual |
Apply delta value.
Definition at line 214 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 218 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 210 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 222 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 198 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 202 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 206 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
Definition at line 190 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 194 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
| ValueType Ogre::AnimableValue::getType | ( | void | ) | const |
Gets the value type of this animable value.
Definition at line 142 of file OgreAnimable.h.
References mType.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
virtual |
|
protectedvirtual |
Internal method to set a value as base.
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 118 of file OgreAnimable.h.
References Ogre::ColourValue::a, Ogre::ColourValue::b, Ogre::ColourValue::g, mBaseValueReal, and Ogre::ColourValue::r.
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 131 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Degree::valueRadians().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 113 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Quaternion::ptr().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 126 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Radian::valueRadians().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 104 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Vector2::ptr().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 107 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Vector3::ptr().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 110 of file OgreAnimable.h.
References mBaseValueReal, and Ogre::Vector4::ptr().
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 100 of file OgreAnimable.h.
References mBaseValueInt.
|
protectedvirtual |
Internal method to set a value as base.
Definition at line 102 of file OgreAnimable.h.
References mBaseValueReal.
|
pure virtual |
Sets the current state as the 'base' value; used for delta animation.
|
virtual |
Set value.
|
virtual |
Set value.
Definition at line 172 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 180 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 168 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 176 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 156 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 160 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 164 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 148 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
Definition at line 152 of file OgreAnimable.h.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
| union { ... } Ogre::AnimableValue |
Base value data.
| int Ogre::AnimableValue::mBaseValueInt |
Definition at line 95 of file OgreAnimable.h.
Referenced by setAsBaseValue().
| Real Ogre::AnimableValue::mBaseValueReal[4] |
Definition at line 96 of file OgreAnimable.h.
Referenced by setAsBaseValue(), setAsBaseValue(), setAsBaseValue(), setAsBaseValue(), setAsBaseValue(), setAsBaseValue(), setAsBaseValue(), and setAsBaseValue().
|
protected |
Value type.
Definition at line 90 of file OgreAnimable.h.
Referenced by AnimableValue(), and getType().
1.13.2