24 #ifndef __GUSD_MESHWRAPPER_H__
25 #define __GUSD_MESHWRAPPER_H__
41 const UsdStagePtr& stage,
44 bool isOverride =
false );
62 const UsdStagePtr& stage,
98 const UsdStagePtr& stage,
132 bool initUsdPrim(
const UsdStagePtr& stage,
139 bool m_forceCreateNewGeo;
144 #endif // __GUSD_MESHWRAPPER_H__
A GT_Primitive that wraps a USD Prim.
const UsdGeomImageable getUsdPrim() const override
GT_API const UT_StringHolder time
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)
GLsizei const GLchar *const * path
~GusdMeshWrapper() override
void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const override
bool setSubdivisionScheme(const TfToken &scheme)
GusdMeshWrapper(const GT_PrimitiveHandle &sourcePrim, const UsdStagePtr &stage, const SdfPath &path, const GusdContext &ctxt, bool isOverride=false)
Processes primitives generated by refinement process.
bool isValid() const override
Return true if the underlying USD prim is valid.
bool updateFromGTPrim(const GT_PrimitiveHandle &sourcePrim, const UT_Matrix4D &houXform, const GusdContext &ctxt, GusdSimpleXformCache &xformCache) override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) 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.
#define PXR_NAMESPACE_CLOSE_SCOPE
TfToken getSubdivisionScheme() const
GT_PrimitiveHandle doSoftCopy() const override
int64 getMemoryUsage() const override
std::map< SdfPath, UT_Matrix4D > GusdSimpleXformCache
const char * className() const override