AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Usd Maya

Modules

 Nodes
 The custom nodes are related classes that are used within the USD maya bridge.
 
 Commands
 A set of custom maya commands.
 
 File IO
 Classes that deal with the import/export of USD data into maya.
 

Classes

class  AL::usdmaya::Global
 This class wraps all of the global state/mechanisms needed to integrate USD and Maya. This mainly handles things such as onFileNew, preFileSave, etc. More...
 
class  AL::usdmaya::StageCache
 Maintains a cache of all active stages within the current process. It's really just a wrapper around USDUtilsStageCache with some extra callback handling. More...
 
class  AL::usdmaya::StageData
 This code is effectively copied from the pixar plugin. It's just used to pass the usd stage through the DG. More...
 

Enumerations

enum  AL::usdmaya::TransformOperation : uint8_t {
  kTranslate = 0, kPivot, kRotatePivotTranslate, kRotatePivot,
  kRotate, kRotateAxis, kRotatePivotInv, kScalePivotTranslate,
  kScalePivot, kShear, kScale, kScalePivotInv,
  kPivotInv, kTransform, kUnknownOp
}
 An enum describing the type of transformation found in a UsdGeomXformOp.
 

Functions

template<typename AFnPlugin >
MStatus AL::usdmaya::registerPlugin (AFnPlugin &plugin)
 This method is basically the main initializePlugin routine. The reason for it being a template is simply a historical artifact. More...
 
template<typename AFnPlugin >
MStatus AL::usdmaya::unregisterPlugin (AFnPlugin &plugin)
 This method is basically the main uninitializePlugin routine. The reason for it being a template is simply a historical artifact. More...
 
AL_USDMAYA_PUBLIC
TransformOperation 
AL::usdmaya::xformOpToEnum (const std::string &opName)
 Convert the textual name of a transformation operation into an easier to handle enum value. More...
 
AL_USDMAYA_PUBLIC bool AL::usdmaya::matchesMayaProfile (std::vector< UsdGeomXformOp >::const_iterator it, std::vector< UsdGeomXformOp >::const_iterator end, std::vector< TransformOperation >::iterator output)
 a function to check to see if the incoming transform operations are compatible with the maya transform types. More...
 

Detailed Description

Function Documentation

AL_USDMAYA_PUBLIC bool AL::usdmaya::matchesMayaProfile ( std::vector< UsdGeomXformOp >::const_iterator  it,
std::vector< UsdGeomXformOp >::const_iterator  end,
std::vector< TransformOperation >::iterator  output 
)

a function to check to see if the incoming transform operations are compatible with the maya transform types.

Parameters
itthe start of the transform operations
endthe end of the transform operations
outputa simpler set of sorted enums, which are used later as a quicker way to index the transform ops.
Returns
true if the type is compatible with maya
template<typename AFnPlugin >
MStatus AL::usdmaya::registerPlugin ( AFnPlugin &  plugin)

This method is basically the main initializePlugin routine. The reason for it being a template is simply a historical artifact.

Parameters
pluginthe MFnPlugin
Todo:
Move this code into initializePlugin
template<typename AFnPlugin >
MStatus AL::usdmaya::unregisterPlugin ( AFnPlugin &  plugin)

This method is basically the main uninitializePlugin routine. The reason for it being a template is simply a historical artifact.

Parameters
pluginthe MFnPlugin
Todo:
Move this code into uninitializePlugin
AL_USDMAYA_PUBLIC TransformOperation AL::usdmaya::xformOpToEnum ( const std::string &  opName)

Convert the textual name of a transformation operation into an easier to handle enum value.

Parameters
opName
Returns
the transform op enum