Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DModel Class Reference

#include <J3DModel.h>

+ Collaboration diagram for J3DModel:

Public Member Functions

 J3DModel ()
 
 J3DModel (J3DModelData *param_0, u32 param_1, u32 param_2)
 
void initialize ()
 
s32 entryModelData (J3DModelData *, u32, u32)
 
s32 createShapePacket (J3DModelData *)
 
s32 createMatPacket (J3DModelData *, u32)
 
s32 newDifferedDisplayList (u32)
 
void lock ()
 
void unlock ()
 
void diff ()
 
s32 setDeformData (J3DDeformData *, u32)
 
s32 setSkinDeform (J3DSkinDeform *, u32)
 
void calcAnmMtx ()
 
void calcWeightEnvelopeMtx ()
 
void calcNrmMtx ()
 
void calcBumpMtx ()
 
void calcBBoardMtx ()
 
void prepareShapePackets ()
 
virtual void update ()
 
virtual void entry ()
 
virtual void calc ()
 
virtual void calcMaterial ()
 
virtual void calcDiffTexMtx ()
 
virtual void viewCalc ()
 
virtual ~J3DModel ()
 
J3DModelDatagetModelData ()
 
void onFlag (u32 flag)
 
void offFlag (u32 flag)
 
bool checkFlag (u32 flag) const
 
bool isCpuSkinningOn () const
 
MtxgetBaseTRMtx ()
 
void setBaseTRMtx (Mtx m)
 
u32 getMtxCalcMode () const
 
J3DVertexBuffergetVertexBuffer () const
 
J3DMatPacketgetMatPacket (u16 idx) const
 
J3DShapePacketgetShapePacket (u16 idx) const
 
J3DMtxBuffergetMtxBuffer () const
 
void setScaleFlag (int idx, u8 flag)
 
Mtx33getBumpMtxPtr (int idx) const
 
Mtx33getNrmMtxPtr () const
 
MtxgetDrawMtxPtr () const
 
void setBaseScale (const Vec &scale)
 
void setUserArea (u32 area)
 
u32 getUserArea () const
 
VecgetBaseScale ()
 
void setAnmMtx (int jointNo, Mtx m)
 
MtxP getAnmMtx (int jointNo)
 

Public Attributes

J3DModelDatamModelData
 
u32 mFlags
 
u32 mDiffFlag
 
J3DCalcCallBack mCalcCallBack
 
u32 mUserArea
 
Vec mBaseScale
 
Mtx mBaseTransformMtx
 
Mtx mInternalView
 
J3DMtxBuffermMtxBuffer
 
J3DVertexBuffer mVertexBuffer
 
J3DMatPacketmMatPacket
 
J3DShapePacketmShapePacket
 
J3DDeformDatamDeformData
 
J3DSkinDeformmSkinDeform
 
J3DVtxColorCalcmVtxColorCalc
 
J3DUnkCalc1mUnkCalc1
 
J3DUnkCalc2mUnkCalc2
 

Constructor & Destructor Documentation

◆ J3DModel() [1/2]

J3DModel::J3DModel ( )
inline

◆ J3DModel() [2/2]

J3DModel::J3DModel ( J3DModelData param_0,
u32  param_1,
u32  param_2 
)
inline

◆ ~J3DModel()

virtual J3DModel::~J3DModel ( )
inlinevirtual

Member Function Documentation

◆ calc()

void J3DModel::calc ( )
virtual

◆ calcAnmMtx()

void J3DModel::calcAnmMtx ( )

◆ calcBBoardMtx()

void J3DModel::calcBBoardMtx ( )

◆ calcBumpMtx()

void J3DModel::calcBumpMtx ( )

◆ calcDiffTexMtx()

void J3DModel::calcDiffTexMtx ( )
virtual

◆ calcMaterial()

void J3DModel::calcMaterial ( )
virtual

◆ calcNrmMtx()

void J3DModel::calcNrmMtx ( )

◆ calcWeightEnvelopeMtx()

void J3DModel::calcWeightEnvelopeMtx ( )

◆ checkFlag()

bool J3DModel::checkFlag ( u32  flag) const
inline

◆ createMatPacket()

s32 J3DModel::createMatPacket ( J3DModelData p_modelData,
u32  flag 
)

◆ createShapePacket()

s32 J3DModel::createShapePacket ( J3DModelData p_modelData)

◆ diff()

void J3DModel::diff ( )

◆ entry()

void J3DModel::entry ( )
virtual

◆ entryModelData()

s32 J3DModel::entryModelData ( J3DModelData p_modelData,
u32  modelFlag,
u32  mtxBufferFlag 
)

◆ getAnmMtx()

MtxP J3DModel::getAnmMtx ( int  jointNo)
inline

◆ getBaseScale()

Vec * J3DModel::getBaseScale ( )
inline

◆ getBaseTRMtx()

Mtx & J3DModel::getBaseTRMtx ( )
inline

◆ getBumpMtxPtr()

Mtx33 * J3DModel::getBumpMtxPtr ( int  idx) const
inline

◆ getDrawMtxPtr()

Mtx * J3DModel::getDrawMtxPtr ( ) const
inline

◆ getMatPacket()

J3DMatPacket * J3DModel::getMatPacket ( u16  idx) const
inline

◆ getModelData()

J3DModelData * J3DModel::getModelData ( )
inline

◆ getMtxBuffer()

J3DMtxBuffer * J3DModel::getMtxBuffer ( ) const
inline

◆ getMtxCalcMode()

u32 J3DModel::getMtxCalcMode ( ) const
inline

◆ getNrmMtxPtr()

Mtx33 * J3DModel::getNrmMtxPtr ( ) const
inline

◆ getShapePacket()

J3DShapePacket * J3DModel::getShapePacket ( u16  idx) const
inline

◆ getUserArea()

u32 J3DModel::getUserArea ( ) const
inline

◆ getVertexBuffer()

J3DVertexBuffer * J3DModel::getVertexBuffer ( ) const
inline

◆ initialize()

void J3DModel::initialize ( )

◆ isCpuSkinningOn()

bool J3DModel::isCpuSkinningOn ( ) const
inline

◆ lock()

void J3DModel::lock ( )

◆ newDifferedDisplayList()

s32 J3DModel::newDifferedDisplayList ( u32  flag)

◆ offFlag()

void J3DModel::offFlag ( u32  flag)
inline

◆ onFlag()

void J3DModel::onFlag ( u32  flag)
inline

◆ prepareShapePackets()

void J3DModel::prepareShapePackets ( )

◆ setAnmMtx()

void J3DModel::setAnmMtx ( int  jointNo,
Mtx  m 
)
inline

◆ setBaseScale()

void J3DModel::setBaseScale ( const Vec scale)
inline

◆ setBaseTRMtx()

void J3DModel::setBaseTRMtx ( Mtx  m)
inline

◆ setDeformData()

s32 J3DModel::setDeformData ( J3DDeformData p_deformData,
u32  param_1 
)

◆ setScaleFlag()

void J3DModel::setScaleFlag ( int  idx,
u8  flag 
)
inline

◆ setSkinDeform()

s32 J3DModel::setSkinDeform ( J3DSkinDeform p_skinDeform,
u32  flags 
)

◆ setUserArea()

void J3DModel::setUserArea ( u32  area)
inline

◆ unlock()

void J3DModel::unlock ( )

◆ update()

void J3DModel::update ( )
virtual

◆ viewCalc()

void J3DModel::viewCalc ( )
virtual

Member Data Documentation

◆ mBaseScale

Vec J3DModel::mBaseScale

◆ mBaseTransformMtx

Mtx J3DModel::mBaseTransformMtx

◆ mCalcCallBack

J3DCalcCallBack J3DModel::mCalcCallBack

◆ mDeformData

J3DDeformData* J3DModel::mDeformData

◆ mDiffFlag

u32 J3DModel::mDiffFlag

◆ mFlags

u32 J3DModel::mFlags

◆ mInternalView

Mtx J3DModel::mInternalView

◆ mMatPacket

J3DMatPacket* J3DModel::mMatPacket

◆ mModelData

J3DModelData* J3DModel::mModelData

◆ mMtxBuffer

J3DMtxBuffer* J3DModel::mMtxBuffer

◆ mShapePacket

J3DShapePacket* J3DModel::mShapePacket

◆ mSkinDeform

J3DSkinDeform* J3DModel::mSkinDeform

◆ mUnkCalc1

J3DUnkCalc1* J3DModel::mUnkCalc1

◆ mUnkCalc2

J3DUnkCalc2* J3DModel::mUnkCalc2

◆ mUserArea

u32 J3DModel::mUserArea

◆ mVertexBuffer

J3DVertexBuffer J3DModel::mVertexBuffer

◆ mVtxColorCalc

J3DVtxColorCalc* J3DModel::mVtxColorCalc

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