|
Blender
V2.59
|
#include <BL_DeformableGameObject.h>

Public Member Functions | |
| CValue * | GetReplica () |
| double | GetLastFrame () |
| Object * | GetBlendObject () |
| virtual void | Relink (CTR_Map< CTR_HashedPtr, void * > *map) |
| void | ProcessReplica () |
| BL_DeformableGameObject (Object *blendobj, void *sgReplicationInfo, SG_Callbacks callbacks) | |
| virtual | ~BL_DeformableGameObject () |
| bool | SetActiveAction (class BL_ShapeActionActuator *act, short priority, double curtime) |
| bool | GetShape (vector< float > &shape) |
| Key * | GetKey () |
| virtual void | SetDeformer (class RAS_Deformer *deformer) |
| virtual class RAS_Deformer * | GetDeformer () |
Protected Attributes | |
| RAS_Deformer * | m_pDeformer |
| class BL_ShapeActionActuator * | m_activeAct |
| double | m_lastframe |
| Object * | m_blendobj |
| short | m_activePriority |
Definition at line 50 of file BL_DeformableGameObject.h.
| BL_DeformableGameObject::BL_DeformableGameObject | ( | Object * | blendobj, |
| void * | sgReplicationInfo, | ||
| SG_Callbacks | callbacks | ||
| ) | [inline] |
Definition at line 71 of file BL_DeformableGameObject.h.
References KX_GameObject::m_isDeformable.
Referenced by GetReplica().
| BL_DeformableGameObject::~BL_DeformableGameObject | ( | ) | [virtual] |
Definition at line 41 of file BL_DeformableGameObject.cpp.
References m_pDeformer.
| Object* BL_DeformableGameObject::GetBlendObject | ( | ) | [inline] |
Definition at line 59 of file BL_DeformableGameObject.h.
References m_blendobj.
Referenced by BL_ModifierDeformer::GetPhysicsMesh(), BL_ShapeDeformer::Update(), and BL_ModifierDeformer::Update().
| virtual class RAS_Deformer* BL_DeformableGameObject::GetDeformer | ( | ) | [inline, virtual] |
Reimplemented from KX_GameObject.
Definition at line 104 of file BL_DeformableGameObject.h.
References m_pDeformer.
Referenced by BL_ConvertBlenderObjects(), and KX_Scene::ReplaceMesh().
| Key* BL_DeformableGameObject::GetKey | ( | ) | [inline] |
Definition at line 85 of file BL_DeformableGameObject.h.
References BL_MeshDeformer::GetMesh(), Mesh::key, m_pDeformer, and NULL.
Referenced by BL_ShapeActionActuator::Update().
| double BL_DeformableGameObject::GetLastFrame | ( | ) | [inline] |
Definition at line 55 of file BL_DeformableGameObject.h.
References m_lastframe.
Referenced by BL_MeshDeformer::Apply(), BL_ShapeDeformer::Update(), and BL_ModifierDeformer::Update().
| CValue * BL_DeformableGameObject::GetReplica | ( | void | ) | [virtual] |
Inherited from CValue -- return a new copy of this instance allocated on the heap. Ownership of the new object belongs with the caller.
Reimplemented from KX_GameObject.
Definition at line 55 of file BL_DeformableGameObject.cpp.
References BL_DeformableGameObject(), and ProcessReplica().
| bool BL_DeformableGameObject::GetShape | ( | vector< float > & | shape | ) |
Definition at line 87 of file BL_DeformableGameObject.cpp.
References Key::block, KeyBlock::curval, ListBase::first, Mesh::key, KEY_RELATIVE, m_pDeformer, KeyBlock::next, and Key::type.
Referenced by BL_ShapeActionActuator::Update().
| void BL_DeformableGameObject::ProcessReplica | ( | ) | [virtual] |
Inherited from CValue -- Makes sure any internal data owned by this class is deep copied. Called internally
Reimplemented from KX_GameObject.
Definition at line 47 of file BL_DeformableGameObject.cpp.
References RAS_Deformer::GetReplica(), and m_pDeformer.
Referenced by GetReplica().
| virtual void BL_DeformableGameObject::Relink | ( | CTR_Map< CTR_HashedPtr, void * > * | map | ) | [inline, virtual] |
Reimplemented from KX_GameObject.
Definition at line 63 of file BL_DeformableGameObject.h.
References m_pDeformer, and RAS_Deformer::Relink().
| bool BL_DeformableGameObject::SetActiveAction | ( | class BL_ShapeActionActuator * | act, |
| short | priority, | ||
| double | curtime | ||
| ) |
Definition at line 63 of file BL_DeformableGameObject.cpp.
References m_activeAct, m_activePriority, m_lastframe, NULL, and BL_ShapeActionActuator::SetBlendTime().
Referenced by BL_ShapeActionActuator::Update().
| void BL_DeformableGameObject::SetDeformer | ( | class RAS_Deformer * | deformer | ) | [virtual] |
Reimplemented from KX_GameObject.
Definition at line 107 of file BL_DeformableGameObject.cpp.
References SG_QList::iterator< T >::begin(), SG_QList::iterator< T >::end(), KX_GameObject::m_meshSlots, and m_pDeformer.
Referenced by KX_Scene::ReplaceMesh().
class BL_ShapeActionActuator* BL_DeformableGameObject::m_activeAct [protected] |
Definition at line 115 of file BL_DeformableGameObject.h.
Referenced by SetActiveAction().
short BL_DeformableGameObject::m_activePriority [protected] |
Definition at line 118 of file BL_DeformableGameObject.h.
Referenced by SetActiveAction().
Object* BL_DeformableGameObject::m_blendobj [protected] |
Definition at line 117 of file BL_DeformableGameObject.h.
Referenced by GetBlendObject().
double BL_DeformableGameObject::m_lastframe [protected] |
Definition at line 116 of file BL_DeformableGameObject.h.
Referenced by GetLastFrame(), and SetActiveAction().
RAS_Deformer* BL_DeformableGameObject::m_pDeformer [protected] |
Definition at line 113 of file BL_DeformableGameObject.h.
Referenced by GetDeformer(), GetKey(), GetShape(), ProcessReplica(), Relink(), SetDeformer(), and ~BL_DeformableGameObject().