Blender  V2.59
Public 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 Attributes

BL_ArmatureObjectm_armobj
float m_time
double m_lastArmaUpdate
float m_obmat [4][4]
bool m_releaseobject
bool m_poseApplied
bool m_recalcNormal

Detailed Description

Definition at line 53 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 66 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 82 of file BL_SkinDeformer.cpp.

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

BL_SkinDeformer::~BL_SkinDeformer ( ) [virtual]

Definition at line 105 of file BL_SkinDeformer.cpp.

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


Member Function Documentation

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

Reimplemented in BL_ModifierDeformer, and BL_ShapeDeformer.

Definition at line 94 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 162 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 172 of file BL_SkinDeformer.cpp.

References m_lastArmaUpdate, and m_releaseobject.

Referenced by GetReplica().

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

Reimplemented from BL_MeshDeformer.

Definition at line 111 of file BL_SkinDeformer.cpp.

References m_armobj, and NULL.

void BL_SkinDeformer::SetArmature ( class BL_ArmatureObject armobj)

Definition at line 236 of file BL_SkinDeformer.cpp.

References m_armobj.

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

Reimplemented from RAS_Deformer.

Definition at line 98 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 230 of file BL_SkinDeformer.cpp.

References UpdateInternal().

Referenced by Apply().

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

Reimplemented from BL_MeshDeformer.

Definition at line 81 of file BL_SkinDeformer.h.

References Apply(), and NULL.

bool BL_SkinDeformer::UpdateInternal ( bool  shape_applied)

Member Data Documentation

Definition at line 106 of file BL_SkinDeformer.h.

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

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

Definition at line 108 of file BL_SkinDeformer.h.

Referenced by BL_SkinDeformer(), and UpdateInternal().

Definition at line 110 of file BL_SkinDeformer.h.

Definition at line 109 of file BL_SkinDeformer.h.

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

float BL_SkinDeformer::m_time [protected]

Definition at line 105 of file BL_SkinDeformer.h.


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