24 #ifndef __GUSD_PACKEDUSDWRAPPER_H__
25 #define __GUSD_PACKEDUSDWRAPPER_H__
51 const UsdStagePtr& stage,
80 const UsdStagePtr& stage,
86 bool initUsdPrim(
const UsdStagePtr& stage,
95 #endif // __GUSD_PACKEDUSDWRAPPER_H__
static GT_PrimitiveHandle defineForWrite(const GT_PrimitiveHandle &sourcePrim, const UsdStagePtr &stage, const SdfPath &path, const GusdContext &ctxt)
A GT_Primitive that wraps a USD Prim.
GT_PrimitiveHandle doSoftCopy() const override
GLsizei const GLchar *const * path
int64 getMemoryUsage() const override
bool isValid() const override
Return true if the underlying USD prim is valid.
~GusdPackedUsdWrapper() override
GusdPackedUsdWrapper(const UsdStagePtr &stage, const SdfPath &path, bool isOverride)
bool updateFromGTPrim(const GT_PrimitiveHandle &sourcePrim, const UT_Matrix4D &houXform, const GusdContext &ctxt, GusdSimpleXformCache &xformCache) override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
const UsdGeomImageable getUsdPrim() const override
#define PXR_NAMESPACE_CLOSE_SCOPE
const char * className() const override
int getMotionSegments() const override
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.
std::map< SdfPath, UT_Matrix4D > GusdSimpleXformCache
void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const override