17 #include "AL/usdmaya/fileio/translators/TranslatorBase.h"
18 #include "AL/usdmaya/fileio/translators/TranslatorContext.h"
21 #include <pxr/base/tf/token.h>
23 #include <unordered_set>
25 #include "AL/maya/utils/ForwardDeclares.h"
26 #include "AL/usd/utils/ForwardDeclares.h"
28 PXR_NAMESPACE_USING_DIRECTIVE
35 extern const TfToken ALSchemaType;
36 extern const TfToken ALExcludedPrimSchema;
50 const UsdPrim& usdPrim,
53 translators::TranslatorContextPtr context = TfNullPtr,
54 const translators::TranslatorRefPtr translator = TfNullPtr,
55 const fileio::translators::TranslatorParameters& param = fileio::translators::TranslatorParameters());
64 bool isSchemaOfType(
const UsdPrim& prim,
const TfToken& typeToken);
81 fileio::translators::TranslatorRefPtr
isSchemaPrim(
const UsdPrim& prim);
fileio::translators::TranslatorRefPtr isSchemaPrim(const UsdPrim &prim)
utility function to determine if a prim is one of our custom schema prims
SchemaPrimsUtils(fileio::translators::TranslatorManufacture &manufacture)
ctor
utility class to determine whether a usd transform chain should be created
Definition: SchemaPrims.h:70
bool isSchemaOfType(const UsdPrim &prim, const TfToken &typeToken)
utility function to determine whether the prim specified is of the given type
Forms a registry of all plug-in translator types registered.
Definition: TranslatorBase.h:246
bool importSchemaPrim(const UsdPrim &usdPrim, MObject &parent, MObject &created, translators::TranslatorContextPtr context=TfNullPtr, const translators::TranslatorRefPtr translator=TfNullPtr, const fileio::translators::TranslatorParameters ¶m=fileio::translators::TranslatorParameters())
a method called to import a schema prim into maya
bool needsTransformParent(const UsdPrim &prim)
returns true if the prim specified requires a transform when importing custom nodes into the maya sce...