doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idMayaExport Class Reference

#include <exporter.h>

Public Member Functions

 idMayaExport (idExportOptions &exportOptions)
 
 ~idMayaExport ()
 
void ConvertModel (void)
 
void ConvertToMD3 (void)
 

Private Member Functions

void FreeDagNodes (void)
 
float TimeForFrame (int num) const
 
int GetMayaFrameNum (int num) const
 
void SetFrame (int num)
 
void GetBindPose (MObject &jointNode, idExportJoint *joint, float scale)
 
void GetLocalTransform (idExportJoint *joint, idVec3 &pos, idMat3 &mat)
 
void GetWorldTransform (idExportJoint *joint, idVec3 &pos, idMat3 &mat, float scale)
 
void CreateJoints (float scale)
 
void PruneJoints (idStrList &keepjoints, idStr &prefix)
 
void RenameJoints (idList< idNamePair > &renamejoints, idStr &prefix)
 
bool RemapParents (idList< idNamePair > &remapjoints)
 
MObject FindShader (MObject &setNode)
 
void GetTextureForMesh (idExportMesh *mesh, MFnDagNode &dagNode)
 
idExportMeshCopyMesh (MFnSkinCluster &skinCluster, float scale)
 
void CreateMesh (float scale)
 
void CombineMeshes (void)
 
void GetAlignment (idStr &alignName, idMat3 &align, float rotate, int startframe)
 
const char * GetObjectType (MObject object)
 
float GetCameraFov (idExportJoint *joint)
 
void GetCameraFrame (idExportJoint *camera, idMat3 &align, cameraFrame_t *cam)
 
void CreateCameraAnim (idMat3 &align)
 
void GetDefaultPose (idMat3 &align)
 
void CreateAnimation (idMat3 &align)
 

Private Attributes

idExportModel model
 
idExportOptionsoptions
 

Detailed Description

Definition at line 412 of file exporter.h.

Constructor & Destructor Documentation

idMayaExport::idMayaExport ( idExportOptions exportOptions)
inline

Definition at line 452 of file exporter.h.

idMayaExport::~idMayaExport ( )

Definition at line 1289 of file maya_main.cpp.

Member Function Documentation

void idMayaExport::CombineMeshes ( void  )
private

Definition at line 2233 of file maya_main.cpp.

void idMayaExport::ConvertModel ( void  )

Definition at line 2794 of file maya_main.cpp.

void idMayaExport::ConvertToMD3 ( void  )

Definition at line 2904 of file maya_main.cpp.

idExportMesh * idMayaExport::CopyMesh ( MFnSkinCluster &  skinCluster,
float  scale 
)
private

Definition at line 1921 of file maya_main.cpp.

void idMayaExport::CreateAnimation ( idMat3 align)
private

Definition at line 2626 of file maya_main.cpp.

void idMayaExport::CreateCameraAnim ( idMat3 align)
private

Definition at line 2417 of file maya_main.cpp.

void idMayaExport::CreateJoints ( float  scale)
private

Definition at line 1600 of file maya_main.cpp.

void idMayaExport::CreateMesh ( float  scale)
private

Definition at line 2077 of file maya_main.cpp.

MObject idMayaExport::FindShader ( MObject &  setNode)
private

Definition at line 1786 of file maya_main.cpp.

void idMayaExport::FreeDagNodes ( void  )
private

Definition at line 1461 of file maya_main.cpp.

void idMayaExport::GetAlignment ( idStr alignName,
idMat3 align,
float  rotate,
int  startframe 
)
private

Definition at line 2281 of file maya_main.cpp.

void idMayaExport::GetBindPose ( MObject &  jointNode,
idExportJoint joint,
float  scale 
)
private

Definition at line 1475 of file maya_main.cpp.

float idMayaExport::GetCameraFov ( idExportJoint joint)
private

Definition at line 2352 of file maya_main.cpp.

void idMayaExport::GetCameraFrame ( idExportJoint camera,
idMat3 align,
cameraFrame_t cam 
)
private

Definition at line 2390 of file maya_main.cpp.

void idMayaExport::GetDefaultPose ( idMat3 align)
private

Definition at line 2536 of file maya_main.cpp.

void idMayaExport::GetLocalTransform ( idExportJoint joint,
idVec3 pos,
idMat3 mat 
)
private

Definition at line 1541 of file maya_main.cpp.

int idMayaExport::GetMayaFrameNum ( int  num) const
private

Definition at line 1315 of file maya_main.cpp.

const char * idMayaExport::GetObjectType ( MObject  object)
private

Definition at line 2328 of file maya_main.cpp.

void idMayaExport::GetTextureForMesh ( idExportMesh mesh,
MFnDagNode &  dagNode 
)
private

Definition at line 1816 of file maya_main.cpp.

void idMayaExport::GetWorldTransform ( idExportJoint joint,
idVec3 pos,
idMat3 mat,
float  scale 
)
private

Definition at line 1576 of file maya_main.cpp.

void idMayaExport::PruneJoints ( idStrList keepjoints,
idStr prefix 
)
private

Definition at line 1363 of file maya_main.cpp.

bool idMayaExport::RemapParents ( idList< idNamePair > &  remapjoints)
private

Definition at line 1722 of file maya_main.cpp.

void idMayaExport::RenameJoints ( idList< idNamePair > &  renamejoints,
idStr prefix 
)
private

Definition at line 1693 of file maya_main.cpp.

void idMayaExport::SetFrame ( int  num)
private

Definition at line 1346 of file maya_main.cpp.

float idMayaExport::TimeForFrame ( int  num) const
private

Definition at line 1301 of file maya_main.cpp.

Member Data Documentation

idExportModel idMayaExport::model
private

Definition at line 414 of file exporter.h.

idExportOptions& idMayaExport::options
private

Definition at line 415 of file exporter.h.


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