24 #ifndef __GUSD_CURVESWRAPPER_H__
25 #define __GUSD_CURVESWRAPPER_H__
40 const UsdStagePtr& stage,
42 bool isOverride =
false );
53 const UsdStagePtr& stage,
82 const UsdStagePtr& stage,
92 bool initUsdPrim(
const UsdStagePtr& stage,
97 bool m_forceCreateNewGeo;
102 #endif // __GUSD_CURVESWRAPPER_H__
A GT_Primitive that wraps a USD Prim.
bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const override
const UsdGeomImageable getUsdPrim() const override
~GusdCurvesWrapper() override
GT_API const UT_StringHolder time
GLsizei const GLchar *const * path
GT_PrimitiveHandle doSoftCopy() 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.
const char * className() const override
static GT_PrimitiveHandle defineForRead(const UsdGeomImageable &sourcePrim, UsdTimeCode time, GusdPurposeSet purposes)
bool updateFromGTPrim(const GT_PrimitiveHandle &sourcePrim, const UT_Matrix4D &houXform, const GusdContext &ctxt, GusdSimpleXformCache &xformCache) override
bool isValid() const override
Return true if the underlying USD prim is valid.
Processes primitives generated by refinement process.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
int getMotionSegments() const override
GusdCurvesWrapper(const GT_PrimitiveHandle &sourcePrim, const UsdStagePtr &stage, const SdfPath &path, bool isOverride=false)
#define PXR_NAMESPACE_CLOSE_SCOPE
int64 getMemoryUsage() const override
static GT_PrimitiveHandle defineForWrite(const GT_PrimitiveHandle &sourcePrim, const UsdStagePtr &stage, const SdfPath &path, const GusdContext &ctxt)
std::map< SdfPath, UT_Matrix4D > GusdSimpleXformCache
void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const override