17 #include "AL/usdmaya/fileio/ImportParams.h"
18 #include "AL/usdmaya/fileio/NodeFactory.h"
19 #include "AL/usdmaya/fileio/translators/TranslatorBase.h"
21 #include "maya/MPxCommand.h"
24 #include <pxr/base/tf/token.h>
25 #include <pxr/base/tf/hashmap.h>
26 #include "AL/usdmaya/utils/ForwardDeclares.h"
27 #include "AL/maya/utils/Api.h"
28 #include "AL/maya/utils/MayaHelperMacros.h"
30 PXR_NAMESPACE_USING_DIRECTIVE
54 inline operator bool ()
const
59 MObject createShape(translators::TranslatorRefPtr translator,
const UsdPrim& prim, MObject parent,
bool parentUnmerged);
61 TfHashMap<SdfPath, MObject, SdfPath::Hash> m_instanceObjects;
62 TfToken::HashSet m_nonImportablePrims;
74 AL_MAYA_DECLARE_COMMAND();
85 MStatus doIt(
const MArgList& args);
88 bool isUndoable()
const {
return true; };
89 ImporterParams m_params;
parameters for the importer
Definition: ImportParams.h:40
Import(const ImporterParams ¶ms)
the ctor runs the main import process. Simply pass in a set of parameters that will determine what ma...
~ImportCommand()
dtor
Definition: Import.h:81
ImportCommand()
ctor
Definition: Import.h:77
A command to import a USD file into Maya (partially supporting Animal Logic specific things) ...
Definition: Import.h:70
A class that performs the import of data from USD into Maya.
Definition: Import.h:41