Blender V2.61 - r43446
Public Member Functions | Protected Attributes

BL_ShapeDeformer Class Reference

#include <BL_ShapeDeformer.h>

Inheritance diagram for BL_ShapeDeformer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BL_ShapeDeformer (BL_DeformableGameObject *gameobj, Object *bmeshobj, RAS_MeshObject *mesh)
 BL_ShapeDeformer (BL_DeformableGameObject *gameobj, struct Object *bmeshobj_old, struct Object *bmeshobj_new, class RAS_MeshObject *mesh, bool release_object, bool recalc_normal, BL_ArmatureObject *arma=NULL)
virtual RAS_DeformerGetReplica ()
virtual void ProcessReplica ()
virtual ~BL_ShapeDeformer ()
bool Update (void)
bool LoadShapeDrivers (Object *arma)
bool ExecuteShapeDrivers (void)
struct KeyGetKey ()
void SetKey (struct Key *key)
void ForceUpdate ()

Protected Attributes

bool m_useShapeDrivers
double m_lastShapeUpdate
struct Keym_key

Detailed Description

Definition at line 43 of file BL_ShapeDeformer.h.


Constructor & Destructor Documentation

BL_ShapeDeformer::BL_ShapeDeformer ( BL_DeformableGameObject gameobj,
Object bmeshobj,
RAS_MeshObject mesh 
)

Definition at line 69 of file BL_ShapeDeformer.cpp.

References copy_key(), Mesh::key, BL_MeshDeformer::m_bmesh, and m_key.

Referenced by GetReplica().

BL_ShapeDeformer::BL_ShapeDeformer ( BL_DeformableGameObject gameobj,
struct Object bmeshobj_old,
struct Object bmeshobj_new,
class RAS_MeshObject mesh,
bool  release_object,
bool  recalc_normal,
BL_ArmatureObject arma = NULL 
)

Definition at line 82 of file BL_ShapeDeformer.cpp.

References copy_key(), Mesh::key, BL_MeshDeformer::m_bmesh, and m_key.

BL_ShapeDeformer::~BL_ShapeDeformer ( ) [virtual]

Definition at line 98 of file BL_ShapeDeformer.cpp.

References free_key(), Mesh::key, BL_MeshDeformer::m_bmesh, and m_key.


Member Function Documentation

bool BL_ShapeDeformer::ExecuteShapeDrivers ( void  )
void BL_ShapeDeformer::ForceUpdate ( ) [inline]

Reimplemented from BL_SkinDeformer.

Reimplemented in BL_ModifierDeformer.

Definition at line 70 of file BL_ShapeDeformer.h.

References m_lastShapeUpdate.

Referenced by ExecuteShapeDrivers(), and Update().

Key * BL_ShapeDeformer::GetKey ( ) [read]
RAS_Deformer * BL_ShapeDeformer::GetReplica ( void  ) [virtual]

Reimplemented from BL_SkinDeformer.

Reimplemented in BL_ModifierDeformer.

Definition at line 107 of file BL_ShapeDeformer.cpp.

References BL_ShapeDeformer(), and ProcessReplica().

bool BL_ShapeDeformer::LoadShapeDrivers ( Object arma)

Definition at line 122 of file BL_ShapeDeformer.cpp.

References m_useShapeDrivers.

Referenced by gameobject_from_blenderobject(), and KX_Scene::ReplaceMesh().

void BL_ShapeDeformer::ProcessReplica ( ) [virtual]

Reimplemented from BL_SkinDeformer.

Reimplemented in BL_ModifierDeformer.

Definition at line 116 of file BL_ShapeDeformer.cpp.

References m_lastShapeUpdate.

Referenced by GetReplica().

void BL_ShapeDeformer::SetKey ( struct Key key)

Definition at line 208 of file BL_ShapeDeformer.cpp.

References Mesh::key, and BL_MeshDeformer::m_bmesh.

bool BL_ShapeDeformer::Update ( void  ) [virtual]

Member Data Documentation

struct Key* BL_ShapeDeformer::m_key [protected]

Definition at line 78 of file BL_ShapeDeformer.h.

Referenced by BL_ShapeDeformer(), and ~BL_ShapeDeformer().

Definition at line 77 of file BL_ShapeDeformer.h.

Referenced by ForceUpdate(), ProcessReplica(), and Update().

Definition at line 73 of file BL_ShapeDeformer.h.

Referenced by ExecuteShapeDrivers(), and LoadShapeDrivers().


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