2 #include "AL/usdmaya/Common.h"
3 #include "AL/usdmaya/fileio/translators/TranslatorBase.h"
4 #include "AL/usdmaya/fileio/translators/TranslatorContext.h"
6 #include <pxr/base/tf/token.h>
8 #include <unordered_set>
16 extern const TfToken ALCamera;
17 extern const TfToken ALSchemaType;
18 extern const TfToken ALExcludedPrimSchema;
39 const UsdPrim& usdPrim,
42 translators::TranslatorContextPtr context = TfNullPtr,
43 const translators::TranslatorRefPtr translator = TfNullPtr);
52 bool isSchemaOfType(
const UsdPrim& prim,
const TfToken& typeToken);
71 std::unordered_set<std::string> m_nonTransformParentTypes;
bool importSchemaPrim(const UsdPrim &usdPrim, MObject &parent, MObject *created=0, translators::TranslatorContextPtr context=TfNullPtr, const translators::TranslatorRefPtr translator=TfNullPtr)
a method called to import a schema prim into maya
utility class to determine whether a usd transform chain should be created
Definition: SchemaPrims.h:58
bool isSchemaPrim(const UsdPrim &prim)
utility function to determine if a prim is one of our custom schema prims
bool isSchemaOfType(const UsdPrim &prim, const TfToken &typeToken)
utility function to determine whether the prim specified is of the given type
bool needsTransformParent(const UsdPrim &prim)
returns true if the prim specified requires a transform when importing custom nodes into the maya sce...