17 #include "AL/usdmaya/ForwardDeclares.h"
18 #include "AL/usdmaya/fileio/ImportParams.h"
19 #include "maya/MPxCommand.h"
20 #include "AL/usdmaya/fileio/translators/TranslatorContext.h"
23 #include "pxr/usd/usd/common.h"
25 PXR_NAMESPACE_USING_DIRECTIVE
69 const std::vector<UsdPrim>& schemaPrims,
70 const MDagPath& proxyTransformPath,
81 const std::vector<UsdPrim>& objsToCreate,
90 const std::vector<UsdPrim>& objsToCreate);
97 const std::vector<UsdPrim>& objsToUpdate);
static MStatus initialise(nodes::ProxyShape *shape)
called after a proxy shape has been created. Traverses the prim hierarchy and looks to see whether an...
A custom proxy shape node that attaches itself to a USD file, and then renders it. The stage is held internally as a member variable, and it will be composed based on a change to the "filePath" attribute.
Definition: ProxyShape.h:244
parameters for the importer
Definition: ImportParams.h:40
Transient aggregate of values that aims to direct the Translation of Prims. Typically an object of th...
Definition: TranslatorContext.h:54
static void createSchemaPrims(nodes::ProxyShape *proxy, const std::vector< UsdPrim > &objsToCreate, const fileio::translators::TranslatorParameters ¶m=fileio::translators::TranslatorParameters())
After transforms exist to parent the custom plugin-prim types (i.e. after a call to createTranformCha...
static void connectSchemaPrims(nodes::ProxyShape *proxy, const std::vector< UsdPrim > &objsToCreate)
called once all plugin nodes have been created, and will request that each plugin translator performs...
static void createTranformChainsForSchemaPrims(nodes::ProxyShape *shape, const std::vector< UsdPrim > &schemaPrims, const MDagPath &proxyTransformPath, MObjectToPrim &objsToCreate)
given a specific proxy shape, and a collection of UsdPrims that represent custom DagNode types...
std::vector< std::pair< MObject, UsdPrim > > MObjectToPrim
a mapping from an MObject to a UsdPrim
Definition: ProxyShapePostLoadProcess.h:53
When importing a new usd stage into an AL::usdmaya::nodes::ProxyShape, there are a selection of post ...
Definition: ProxyShapePostLoadProcess.h:48
static void updateSchemaPrims(nodes::ProxyShape *proxy, const std::vector< UsdPrim > &objsToUpdate)
updates the list of UsdPrims after a variant switch (but when the nodes have not changed) ...