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_StringMap.h>
#include <UT/UT_Tuple.h>
#include <GT/GT_DANumeric.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.

Namespaces

 XUSD_HydraUtils
 

Functions

HUSD_API void XUSD_HydraUtils::buildAttribMap (HdSceneDelegate *scene_del, SdfPath const &path, UT_StringMap< UT_Tuple< GT_Owner, int, bool, void * > > &map, 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 int64 XUSD_HydraUtils::newDataId ()
 
HUSD_API void XUSD_HydraUtils::processSubdivTags (const PxOsdSubdivTags &subdivTags, UT_Array< GT_PrimSubdivisionMesh::Tag > &subd_tags)