Panda3D
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
mayaEggLoader.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandatoolbase.h"
#include "notifyCategoryProxy.h"
#include "eggBin.h"
#include "eggData.h"
#include "eggTable.h"
#include "eggVertex.h"
#include "eggPolygon.h"
#include "eggComment.h"
#include "eggXfmSAnim.h"
#include "eggSAnimData.h"
#include "eggPrimitive.h"
#include "eggGroupNode.h"
#include "eggVertexPool.h"
#include "eggPolysetMaker.h"
#include "eggNurbsSurface.h"
#include "texture.h"
#include "texturePool.h"
#include "pre_maya_include.h"
#include <maya/MStatus.h>
#include <maya/MPxCommand.h>
#include <maya/MString.h>
#include <maya/MStringArray.h>
#include <maya/MArgList.h>
#include <maya/MGlobal.h>
#include <maya/MObject.h>
#include <maya/MFloatPoint.h>
#include <maya/MFloatPointArray.h>
#include <maya/MFloatArray.h>
#include <maya/MPointArray.h>
#include <maya/MFnMesh.h>
#include <maya/MFnDependencyNode.h>
#include <maya/MFnTransform.h>
#include <maya/MFnLambertShader.h>
#include <maya/MPlug.h>
#include <maya/MFnSet.h>
#include <maya/MDGModifier.h>
#include <maya/MSelectionList.h>
#include <maya/MDagPath.h>
#include <maya/MFnSingleIndexedComponent.h>
#include <maya/MFnDoubleIndexedComponent.h>
#include <maya/MPlugArray.h>
#include <maya/MDagPathArray.h>
#include <maya/MMatrix.h>
#include <maya/MTransformationMatrix.h>
#include <maya/MFnIkJoint.h>
#include <maya/MFnSkinCluster.h>
#include <maya/MAnimControl.h>
#include <maya/MFnAnimCurve.h>
#include <maya/MFnNurbsSurface.h>
#include <maya/MFnEnumAttribute.h>
#include "post_maya_include.h"
#include "mayaEggLoader.h"

Go to the source code of this file.

Macros

#define CTRLJOINT_DEFORM   ((EggGroup*)((char*)(-1)))
 

Typedefs

typedef phash_map< LColor, int > CVertTable
 
typedef std::pair< double, EggGroup * > MayaEggWeight
 
typedef phash_map< LTexCoordd, int > TVertTable
 
typedef phash_set< MayaEggVertex, MEV_Compare > VertTable
 

Functions

MStatus create_enum_attribute (MObject &node, MString fullName, MString briefName, MStringArray fieldNames, unsigned fieldIndex)
 
MColor MakeMayaColor (const LColor &vec)
 
MFloatPoint MakeMayaPoint (const LVector3d &vec)
 
MVector MakeMayaVector (const LVector3d &vec)
 
MPoint MakeMPoint (const LVector3d &vec)
 
bool MayaLoadEggData (EggData *data, bool merge, bool model, bool anim, bool respect_normals)
 
bool MayaLoadEggFile (const char *name, bool merge, bool model, bool anim, bool respect_normals)
 
 NotifyCategoryDeclNoExport (mayaloader)
 
 NotifyCategoryDef (mayaloader, "")
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
jyelon
Date
2005-07-20

This file contains the code for class MayaEggLoader. This class does the actual work of copying an EggData tree into the maya scene.

Definition in file mayaEggLoader.cxx.

Macro Definition Documentation

◆ CTRLJOINT_DEFORM

#define CTRLJOINT_DEFORM   ((EggGroup*)((char*)(-1)))

Definition at line 868 of file mayaEggLoader.cxx.

Typedef Documentation

◆ CVertTable

typedef phash_map<LColor, int> CVertTable

Definition at line 914 of file mayaEggLoader.cxx.

◆ MayaEggWeight

typedef std::pair<double, EggGroup *> MayaEggWeight

Definition at line 626 of file mayaEggLoader.cxx.

◆ TVertTable

typedef phash_map<LTexCoordd, int> TVertTable

Definition at line 913 of file mayaEggLoader.cxx.

◆ VertTable

typedef phash_set<MayaEggVertex, MEV_Compare> VertTable

Definition at line 705 of file mayaEggLoader.cxx.

Function Documentation

◆ create_enum_attribute()

MStatus create_enum_attribute ( MObject & node,
MString fullName,
MString briefName,
MStringArray fieldNames,
unsigned fieldIndex )

Definition at line 164 of file mayaEggLoader.cxx.

◆ MakeMayaColor()

MColor MakeMayaColor ( const LColor & vec)

Definition at line 157 of file mayaEggLoader.cxx.

◆ MakeMayaPoint()

MFloatPoint MakeMayaPoint ( const LVector3d & vec)

Definition at line 147 of file mayaEggLoader.cxx.

◆ MakeMayaVector()

MVector MakeMayaVector ( const LVector3d & vec)

Definition at line 152 of file mayaEggLoader.cxx.

◆ MakeMPoint()

MPoint MakeMPoint ( const LVector3d & vec)

Definition at line 142 of file mayaEggLoader.cxx.

◆ MayaLoadEggData()

bool MayaLoadEggData ( EggData * data,
bool merge,
bool model,
bool anim,
bool respect_normals )

Definition at line 2198 of file mayaEggLoader.cxx.

◆ MayaLoadEggFile()

bool MayaLoadEggFile ( const char * name,
bool merge,
bool model,
bool anim,
bool respect_normals )

Definition at line 2205 of file mayaEggLoader.cxx.