HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XUSD_HydraUtils.h File Reference
#include "HUSD_API.h"
#include <UT/UT_Array.h>
#include <UT/UT_Matrix4.h>
#include <UT/UT_Options.h>
#include <UT/UT_StringMap.h>
#include <UT/UT_UniquePtr.h>
#include <GT/GT_Types.h>
#include <GT/GT_TransformArray.h>
#include <GT/GT_Transform.h>
#include <GT/GT_PrimSubdivisionMesh.h>
#include <pxr/pxr.h>
#include <pxr/imaging/hd/vtBufferSource.h>
#include <pxr/imaging/pxOsd/tokens.h>
+ Include dependency graph for XUSD_HydraUtils.h:

Go to the source code of this file.

Classes

struct  XUSD_HydraUtils::AttribInfo
 

Namespaces

 XUSD_HydraUtils
 

Functions

HUSD_API void XUSD_HydraUtils::buildAttribMap (HdSceneDelegate *scene_del, SdfPath const &path, UT_StringMap< AttribInfo > &map, GT_Owner varying_class=GT_OWNER_POINT, const UT_Map< GT_Owner, GT_Owner > *remap=nullptr)
 
HUSD_API UT_Matrix4D XUSD_HydraUtils::fullTransform (HdSceneDelegate *scene_del, const SdfPath &prim_path)
 
template<typename T >
HUSD_API bool XUSD_HydraUtils::eval (VtValue &val, T &ret_val)
 
template<typename T >
HUSD_API bool XUSD_HydraUtils::evalAttrib (T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
 
template<typename T >
HUSD_API bool XUSD_HydraUtils::evalCameraAttrib (T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
 
template<typename T >
HUSD_API bool XUSD_HydraUtils::evalLightAttrib (T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
 
HUSD_API GT_TransformArrayHandle XUSD_HydraUtils::createTransformArray (const VtMatrix4dArray &insts)
 
template<typename A_TYPE >
GT_DataArrayHandle XUSD_HydraUtils::createGTArray (const A_TYPE &usd, GT_Type tinfo=GT_TYPE_NONE, int64 data_id=-1)
 
HUSD_API GT_DataArrayHandle XUSD_HydraUtils::attribGT (const VtValue &value, GT_Type tinfo=GT_TYPE_NONE, int64 data_id=-1)
 
HUSD_API bool XUSD_HydraUtils::addToOptions (UT_Options &options, const VtValue &value, const UT_StringRef &name)
 
HUSD_API int64 XUSD_HydraUtils::newDataId ()
 
HUSD_API void XUSD_HydraUtils::processSubdivTags (const PxOsdSubdivTags &subdivTags, UT_Array< GT_PrimSubdivisionMesh::Tag > &subd_tags)
 
HUSD_API void XUSD_HydraUtils::processSubdivTags (const PxOsdSubdivTags &subdivTags, const VtIntArray &hole_indices, UT_Array< GT_PrimSubdivisionMesh::Tag > &subd_tags)
 
HUSD_API void XUSD_HydraUtils::processSubdivTags (UT_Array< GT_PrimSubdivisionMesh::Tag > &subd_tags, const VtIntArray &crease_indices, const VtIntArray &crease_lengths, const VtFloatArray &crease_weights, const VtIntArray &corner_indices, const VtFloatArray &corner_weights, const VtIntArray &hole_indices, const TfToken &vtx_InterpolationRule, const TfToken &fvar_InterpolationRule)