OpenStudio:gltf
 All Classes Namespaces Functions Typedefs Pages
Classes | Typedefs | Functions
openstudio::gltf Namespace Reference

Classes

class  GltfBoundingBox
 GltfBoundingBox is an Interface between the PlanarSurfaceGroups of a Model and a glTF Scene's extras to set the boundingbox. More...
 
class  GltfForwardTranslator
 GltfForwardTranslator converts an OpenStudio Model to GLTF format. More...
 
class  GltfMaterialData
 GltfMaterialData is an Interface class between a RenderingColor and a tinygltf::Material More...
 
class  GltfMetaData
 GltfMetadata is an Interface between an OpenStudio Model and a glTF Scene's extras More...
 
class  GltfModelObjectMetaData
 GltfModelObjectMetaData is an Interface class between select ModelObjects and glTF values. More...
 
class  GltfUserData
 GltfUserData is an Interface class between a PlanarSurface and an glTF Node's extras. More...
 

Typedefs

using GltfMaterialDataVector = std::vector< GltfMaterialData >
 
using GltfModelObjectMetaDataVector = std::vector< GltfModelObjectMetaData >
 
using GltfUserDataVector = std::vector< GltfUserData >
 

Functions

GLTF_API bool createTriangleGLTF (const path &outputPath)
 
GLTF_API bool createTriangleGLTFFromPoint3DVector (const path &outputPath)
 
GLTF_API std::string getObjectGLTFMaterialName (const std::string &iddObjectType, const std::string &name)
 
GLTF_API std::string getObjectGLTFMaterialName (const model::ModelObject &object)
 

Typedef Documentation

using openstudio::gltf::GltfUserDataVector = typedef std::vector<GltfUserData>

Function Documentation

GLTF_API bool openstudio::gltf::createTriangleGLTF ( const path &  outputPath)
GLTF_API bool openstudio::gltf::createTriangleGLTFFromPoint3DVector ( const path &  outputPath)
GLTF_API std::string openstudio::gltf::getObjectGLTFMaterialName ( const std::string &  iddObjectType,
const std::string &  name 
)
GLTF_API std::string openstudio::gltf::getObjectGLTFMaterialName ( const model::ModelObject &  object)