24 #ifndef __GUSD_GT_UTILS_H__
25 #define __GUSD_GT_UTILS_H__
127 std::set<std::string>& excludeSet,
164 template <
typename T>
212 #endif // __GUSD_GT_UTILS_H__
static bool setPrimvarSample(const UsdGeomImageable &usdPrim, const TfToken &name, const GT_DataArrayHandle &data, const TfToken &interpolation, UsdTimeCode time)
GUSD_API void setPattern(GT_Owner owner, const std::string &pattern)
static constexpr UsdTimeCode Default()
static GT_DataArrayHandle transformPoints(GT_DataArrayHandle pts, const GfMatrix4d &objXform)
GT_API const UT_StringHolder time
GLsizei const GLchar *const * string
GUSD_API GusdGT_AttrFilter(const std::string &pattern="*")
static GT_DataArrayHandle getTransformArray(const GT_PrimitiveHandle >Prim)
static TfToken getRole(GT_Type type)
Returns the USD role name corresponding to the given GT type.
GUSD_API bool matches(const std::string &str) const
GUSD_API void appendPattern(GT_Owner owner, const std::string &pattern)
static GT_DataArrayHandle getPackedTransformArray(const GT_PrimitiveHandle >Prim)
GUSD_API void setActiveOwners(const OwnerArgs &owners) const
static std::string makeValidIdentifier(const TfToken &usdFilePath, const SdfPath &nodePath)
GLuint const GLchar * name
static GT_DataArrayHandle getExtentsArray(const GT_PrimitiveHandle >Prim)
static bool setTransformFromGTArray(const UsdGeomXformable &usdGeom, const GT_DataArrayHandle &xform, const TransformLevel transformLevel, UsdTimeCode time=UsdTimeCode::Default())
static bool isDataConstant(const GT_DataArrayHandle &data)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static GfMatrix4d getMatrixFromGTArray(const GT_DataArrayHandle &xform)
static GT_AttributeListHandle getAttributesFromPrim(const GEO_Primitive *prim)
#define PXR_NAMESPACE_CLOSE_SCOPE
static void setCustomAttributesFromGTPrim(const UsdGeomImageable &usdGeomPrim, const GT_AttributeListHandle >Attrs, std::set< std::string > &excludeSet, UsdTimeCode time=UsdTimeCode::Default())
static bool setUsdAttribute(const UsdAttribute &destAttr, const GT_DataArrayHandle &sourceAttr, UsdTimeCode time=UsdTimeCode::Default())
static GT_Type getType(const SdfValueTypeName &typeName)
Returns the GT_Type corresponding to a USD type.
UT_VariadicT< GT_Owner > OwnerArgs