PXR_NAMESPACE_CLOSE_SCOPE // ===================================================================== // // Feel free to add custom code below this line, it will be preserved by // the code generator. The entry point for your custom code should look // minimally like the following: // // WRAP_CUSTOM { // _class // .def("MyCustomMethod", ...) // ; // } // // Of course any other ancillary or support code may be provided. // // Just remember to wrap code in the appropriate delimiters: // 'PXR_NAMESPACE_OPEN_SCOPE', 'PXR_NAMESPACE_CLOSE_SCOPE'. // // ===================================================================== // // --(BEGIN CUSTOM CODE)-- #include "pxr/base/tf/pyEnum.h" PXR_NAMESPACE_OPEN_SCOPE static GfMatrix4d _GetLocalTransformation1(const UsdGeomXformable &self, const UsdTimeCode time) { GfMatrix4d result(1); bool resetsXformStack; self.GetLocalTransformation(&result, &resetsXformStack, time); return result; }
static GfMatrix4d _GetLocalTransformation1(const UsdGeomXformable &self, const UsdTimeCode time) { GfMatrix4d result(1); bool resetsXformStack; self.GetLocalTransformation(&result, &resetsXformStack, time); return result; }
static GfMatrix4d _GetLocalTransformation2(const UsdGeomXformable &self, const std::vector<UsdGeomXformOp> &ops, const UsdTimeCode time) { GfMatrix4d result(1); bool resetsXformStack; self.GetLocalTransformation(&result, &resetsXformStack, ops, time); return result; }