24 #ifndef __GUSD_SCOPEWRAPPER_H__
25 #define __GUSD_SCOPEWRAPPER_H__
40 bool isOverride =
false );
54 const UsdStagePtr& stage,
86 const UsdStagePtr& stage,
97 bool initUsdPrim(
const UsdStagePtr& stage,
106 #endif // __GUSD_SCOPEWRAPPER_H__
~GusdScopeWrapper() override
const UsdGeomImageable getUsdPrim() const override
bool updateFromGTPrim(const GT_PrimitiveHandle &sourcePrim, const UT_Matrix4D &localXform, const GusdContext &ctxt, GusdSimpleXformCache &xformCache) override
GT_API const UT_StringHolder time
GLsizei const GLchar *const * path
bool isValid() const override
Return true if the underlying USD prim is valid.
bool redefine(const UsdStagePtr &stage, const SdfPath &path, const GusdContext &ctxt, const GT_PrimitiveHandle &sourcePrim) override
Create a new USD prim to match GT primitive.
GT_PrimitiveHandle doSoftCopy() const override
int64 getMemoryUsage() const override
Processes primitives generated by refinement process.
bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
const char * className() const override
#define PXR_NAMESPACE_CLOSE_SCOPE
static GT_PrimitiveHandle defineForRead(const UsdGeomImageable &sourcePrim, UsdTimeCode time, GusdPurposeSet purposes)
int getMotionSegments() const override
static GT_PrimitiveHandle defineForWrite(const GT_PrimitiveHandle &sourcePrim, const UsdStagePtr &stage, const SdfPath &path, const GusdContext &ctxt)
GusdScopeWrapper(const UsdStagePtr &stage, const SdfPath &path, bool isOverride=false)
void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const override
std::map< SdfPath, UT_Matrix4D > GusdSimpleXformCache