Panda3D
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.