HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_CgltfUtils.h File Reference
#include "GLTF_Channel.h"
#include "GLTF_SceneData.h"
#include "GLTF_Translator.h"
#include <GEO/GEO_StandardAttribs.h>
#include <SYS/SYS_Math.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_Vector3.h>
#include <cgltf.h>
+ Include dependency graph for GLTF_CgltfUtils.h:

Go to the source code of this file.

Classes

struct  GLTF_CgltfUtils::AccessorMinMax
 

Namespaces

 GLTF_CgltfUtils
 

Functions

UT_StringHolder GLTF_CgltfUtils::getHoudiniAttributeName (cgltf_attribute_type type)
 
UT_StringHolder GLTF_CgltfUtils::getHoudiniAttributeName (const cgltf_attribute &attrib)
 
UT_StringHolder GLTF_CgltfUtils::getGltfAttributeName (const GLTF_AttributeType type, const char *suffix="")
 
UT_StringHolder GLTF_CgltfUtils::getCgltfResultMessage (const cgltf_result &res)
 
cgltf_primitiveGLTF_CgltfUtils::getPrimitive (const cgltf_data &data, const GLTF_Index mesh_id, const GLTF_Index prim_id)
 
UT_StringHolder GLTF_CgltfUtils::getAnimationName (const cgltf_data &data, const cgltf_animation &anim)
 
UT_StringHolder GLTF_CgltfUtils::getNodeName (const cgltf_data &data, const cgltf_node &node)
 
UT_StringHolder GLTF_CgltfUtils::getMeshName (const cgltf_data &data, const cgltf_mesh &mesh)
 
UT_StringHolder GLTF_CgltfUtils::getSceneName (const cgltf_data &data, const cgltf_scene &scene)
 
UT_StringHolder GLTF_CgltfUtils::getSkinName (const cgltf_data &data, const cgltf_skin &skin)
 
void GLTF_CgltfUtils::getAnimationNames (const cgltf_data &data, UT_StringArray &names)
 
UT_StringHolder GLTF_CgltfUtils::getCameraName (const cgltf_data &data, const cgltf_camera &camera)
 
UT_StringHolder GLTF_CgltfUtils::getMaterialName (const cgltf_data &data, const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasDiffuseTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasMetallicRoughnessTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasNormalTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasOcclusionTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasEmissiveTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasSpecularColorTexture (const cgltf_material &mat)
 
bool GLTF_CgltfUtils::hasTransmissionTexture (const cgltf_material &mat)
 
cgltf_imageGLTF_CgltfUtils::getTextureImage (const cgltf_texture_view &tv)
 
GLTF_TextureTransform GLTF_CgltfUtils::getTextureTransform (const cgltf_texture_view &tv)
 
UT_StringHolder GLTF_CgltfUtils::getImageFilePath (const char *gltf_filepath, const cgltf_image &image)
 
UT_Matrix4F GLTF_CgltfUtils::getMatrix4F (cgltf_float *gltf_mat)
 
GLTFZ_API void GLTF_CgltfUtils::setNodeName (const GLTF_Index node_id, GLTF_Writer &writer, const char *name)
 
void GLTF_CgltfUtils::setNodeTransform (OBJ_Node *object, const GLTF_Index node_id, GLTF_Writer &writer, fpreal time)
 
GLTFZ_API void GLTF_CgltfUtils::setMeshName (const GLTF_Index mesh_id, GLTF_Writer &writer, const char *name)
 
GLTFZ_API UT_Matrix4F GLTF_CgltfUtils::getAnimatedTransformLocal (const GLTF_SceneData::Node &node, const float time, const GLTF_AnimationData &anim_data)
 
GLTFZ_API UT_Matrix4F GLTF_CgltfUtils::getAnimatedTransformWorld (const GLTF_SceneData &scene, const GLTF_SceneData::Node &node, const float time, const GLTF_AnimationData &anim_data)
 
GLTFZ_API GLTF_Index GLTF_CgltfUtils::findRootNode (const cgltf_data &data, const GLTF_Index node_id)
 
UT_Matrix4F GLTF_CgltfUtils::getAnimatedTransformLocal (const GLTF_Translator::Node &node, const UT_Array< GLTF_Channel > &channels, float time)
 
UT_StringHolder GLTF_CgltfUtils::buildNodePath (const cgltf_data &data, const cgltf_node &node)
 
UT_StringArray GLTF_CgltfUtils::getUnsupportedImporterExtensions (const GLTF_Reader &reader, const cgltf_size extensions_count, char **extensions)
 
void GLTF_CgltfUtils::addChildNodeToNode (GLTF_Writer &writer, cgltf_data &data, GLTF_Index parent_id, GLTF_Index child_id)
 
bool GLTF_CgltfUtils::isDefault (const cgltf_texture_view &tv)
 
bool GLTF_CgltfUtils::isDefault (const cgltf_pbr_metallic_roughness &pbr)
 
bool GLTF_CgltfUtils::isDefault (const cgltf_ior &ior)
 
bool GLTF_CgltfUtils::isDefault (const cgltf_specular &specular)