17 #include "AL/usdmaya/fileio/ExportParams.h"
18 #include "AL/usdmaya/fileio/translators/TranslatorBase.h"
20 #include "maya/MPxCommand.h"
23 #include "AL/usdmaya/utils/ForwardDeclares.h"
24 #include "AL/maya/utils/Api.h"
25 #include "AL/maya/utils/MayaHelperMacros.h"
27 PXR_NAMESPACE_USING_DIRECTIVE
70 void exportSceneHierarchy(MDagPath path, SdfPath& defaultPrim);
71 void exportShapesCommonProc(MDagPath shapePath, MFnTransform& fnTransform, SdfPath& usdPath, ReferenceType refType);
72 void exportShapesOnlyUVProc(MDagPath shapePath, MFnTransform& fnTransform, SdfPath& usdPath);
73 UsdPrim exportMeshUV(MDagPath path,
const SdfPath& usdPath);
74 UsdPrim exportAssembly(MDagPath path,
const SdfPath& usdPath);
75 UsdPrim exportPluginLocatorNode(MDagPath path,
const SdfPath& usdPath);
76 UsdPrim exportPluginShape(MDagPath path,
const SdfPath& usdPath);
77 void exportIkChain(MDagPath effectorPath,
const SdfPath& usdPath);
78 void exportGeometryConstraint(MDagPath effectorPath,
const SdfPath& usdPath);
79 void copyTransformParams(UsdPrim prim, MFnTransform& fnTransform);
80 SdfPath determineUsdPath(MDagPath path,
const SdfPath& usdPath, ReferenceType refType);
81 void addReferences(MDagPath shapePath, MFnTransform& fnTransform, SdfPath& usdPath,
82 const SdfPath& instancePath, ReferenceType refType);
83 inline bool isPrimDefined(SdfPath &usdPath);
100 AL_MAYA_DECLARE_COMMAND();
109 MStatus doIt(
const MArgList& args);
112 bool isUndoable()
const {
return true; };
parameters for the exporter. These parameters are constructed by any command or file translator that ...
Definition: ExportParams.h:35
A class that wraps up the entire export process.
Definition: Export.h:50
Export(const ExporterParams ¶ms)
The constructor performs the export from Maya to USD based on the input parameters.
A thin MEL command layer that just wraps the AL::usdmaya::fileio::Export process. ...
Definition: Export.h:96
Forms a registry of all plug-in translator types registered.
Definition: TranslatorBase.h:246