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

BL_SkinDeformer Class Reference

#include <BL_SkinDeformer.h>

Inheritance diagram for BL_SkinDeformer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void Relink (CTR_Map< class CTR_HashedPtr, void * > *map)
void SetArmature (class BL_ArmatureObject *armobj)
 BL_SkinDeformer (BL_DeformableGameObject *gameobj, struct Object *bmeshobj, class RAS_MeshObject *mesh, BL_ArmatureObject *arma=NULL)
 BL_SkinDeformer (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_SkinDeformer ()
bool Update (void)
bool UpdateInternal (bool shape_applied)
bool Apply (class RAS_IPolyMaterial *polymat)
bool UpdateBuckets (void)
bool PoseUpdated (void)
void ForceUpdate ()
virtual bool ShareVertexArray ()

Protected Member Functions

void BlenderDeformVerts ()
void BGEDeformVerts ()

Protected Attributes

BL_ArmatureObjectm_armobj
float m_time
double m_lastArmaUpdate
float m_obmat [4][4]
bool m_releaseobject
bool m_poseApplied
bool m_recalcNormal
bool m_copyNormals
struct bPoseChannel ** m_dfnrToPC

Detailed Description

Definition at line 51 of file BL_SkinDeformer.h.


Constructor & Destructor Documentation

BL_SkinDeformer::BL_SkinDeformer ( BL_DeformableGameObject gameobj,
struct Object bmeshobj,
class RAS_MeshObject mesh,
BL_ArmatureObject arma = NULL 
)

Definition at line 69 of file BL_SkinDeformer.cpp.

References copy_m4_m4(), m_obmat, and Object::obmat.

Referenced by GetReplica().

BL_SkinDeformer::BL_SkinDeformer ( 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 87 of file BL_SkinDeformer.cpp.

References copy_m4_m4(), m_obmat, and Object::obmat.

BL_SkinDeformer::~BL_SkinDeformer ( ) [virtual]

Definition at line 112 of file BL_SkinDeformer.cpp.

References m_armobj, m_dfnrToPC, m_releaseobject, and CValue::Release().


Member Function Documentation

bool BL_SkinDeformer::Apply ( class RAS_IPolyMaterial polymat) [virtual]
void BL_SkinDeformer::BGEDeformVerts ( ) [protected]
void BL_SkinDeformer::BlenderDeformVerts ( ) [protected]
void BL_SkinDeformer::ForceUpdate ( ) [inline]

Reimplemented in BL_ModifierDeformer, and BL_ShapeDeformer.

Definition at line 92 of file BL_SkinDeformer.h.

References m_lastArmaUpdate.

RAS_Deformer * BL_SkinDeformer::GetReplica ( void  ) [virtual]

Reimplemented from BL_MeshDeformer.

Reimplemented in BL_ModifierDeformer, and BL_ShapeDeformer.

Definition at line 176 of file BL_SkinDeformer.cpp.

References BL_SkinDeformer(), and ProcessReplica().

bool BL_SkinDeformer::PoseUpdated ( void  ) [inline]
void BL_SkinDeformer::ProcessReplica ( ) [virtual]

Reimplemented from BL_MeshDeformer.

Reimplemented in BL_ModifierDeformer, and BL_ShapeDeformer.

Definition at line 186 of file BL_SkinDeformer.cpp.

References m_dfnrToPC, m_lastArmaUpdate, m_releaseobject, and NULL.

Referenced by GetReplica().

void BL_SkinDeformer::Relink ( CTR_Map< class CTR_HashedPtr, void * > *  map) [virtual]

Reimplemented from BL_MeshDeformer.

Definition at line 120 of file BL_SkinDeformer.cpp.

References m_armobj, and NULL.

void BL_SkinDeformer::SetArmature ( class BL_ArmatureObject armobj)

Definition at line 353 of file BL_SkinDeformer.cpp.

References m_armobj.

virtual bool BL_SkinDeformer::ShareVertexArray ( ) [inline, virtual]

Reimplemented from RAS_Deformer.

Definition at line 96 of file BL_SkinDeformer.h.

bool BL_SkinDeformer::Update ( void  ) [virtual]

Reimplemented from BL_MeshDeformer.

Reimplemented in BL_ModifierDeformer, and BL_ShapeDeformer.

Definition at line 347 of file BL_SkinDeformer.cpp.

References UpdateInternal().

Referenced by Apply().

bool BL_SkinDeformer::UpdateBuckets ( void  ) [inline, virtual]

Reimplemented from BL_MeshDeformer.

Definition at line 79 of file BL_SkinDeformer.h.

References Apply(), and NULL.

bool BL_SkinDeformer::UpdateInternal ( bool  shape_applied)

Member Data Documentation

Definition at line 110 of file BL_SkinDeformer.h.

Referenced by Apply(), and BGEDeformVerts().

Definition at line 111 of file BL_SkinDeformer.h.

Referenced by BGEDeformVerts(), ProcessReplica(), and ~BL_SkinDeformer().

Definition at line 104 of file BL_SkinDeformer.h.

Referenced by ForceUpdate(), PoseUpdated(), ProcessReplica(), and UpdateInternal().

float BL_SkinDeformer::m_obmat[4][4] [protected]

Definition at line 106 of file BL_SkinDeformer.h.

Referenced by BL_SkinDeformer(), and BlenderDeformVerts().

Definition at line 108 of file BL_SkinDeformer.h.

Definition at line 107 of file BL_SkinDeformer.h.

Referenced by ProcessReplica(), and ~BL_SkinDeformer().

float BL_SkinDeformer::m_time [protected]

Definition at line 103 of file BL_SkinDeformer.h.


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