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