17 #include <AL/usdmaya/ForwardDeclares.h>
19 #include <unordered_map>
20 #include "AL/maya/utils/ForwardDeclares.h"
21 #include "AL/usd/utils/ForwardDeclares.h"
23 PXR_NAMESPACE_USING_DIRECTIVE
48 MObject
createNode(
const UsdPrim& from,
const char*
const nodeType, MObject parent,
bool parentUnmerged =
false);
50 static void setupNode(
const UsdPrim& from, MObject obj, MObject parent,
bool parentUnmerged);
56 { m_params = params; }
59 std::unordered_map<std::string, translators::DgNodeTranslator*> m_builders;
67 NodeFactory& getNodeFactory();
72 void freeNodeFactory();
parameters for the importer
Definition: ImportParams.h:40
MObject createNode(const UsdPrim &from, const char *const nodeType, MObject parent, bool parentUnmerged=false)
create a node
A simple node factory to convert nodes between Maya and USD.
Definition: NodeFactory.h:34
void setImportParams(const ImporterParams *params)
Some of the translators rely on import settings specified in the import params. Prior to use of this ...
Definition: NodeFactory.h:55
NodeFactory()
ctor. Currently initialises the inbuilt translators.