OpenStudio:gltf
 All Classes Namespaces Functions Typedefs Pages
Public Member Functions | List of all members
openstudio::gltf::GltfMetaData Class Reference

#include <GltfMetaData.hpp>

Public Member Functions

 GltfMetaData ()
 
Interface with Model
 GltfMetaData (const model::Model &model)
 Interface with the Model. More...
 
Getters and Setters
std::vector
< GltfModelObjectMetaData
glTFModelObjectMetaDataVector () const
 
void setGlTFModelObjectMetaDataVector (const std::vector< GltfModelObjectMetaData > &glTFModelObjectMetaDataVector)
 
GltfBoundingBox glTFBoundingBox () const
 
void setGlTFBoundingBox (const GltfBoundingBox &glTFBoundingBox)
 
std::vector< std::string > buildingStoryNames () const
 
void setBuildingStoryNames (const std::vector< std::string > &buildingStoryNames)
 
void setBuildingStoryNames (const std::vector< model::BuildingStory > &buildingStories)
 
std::string generator () const
 
void setGenerator (const std::string &generator)
 
std::string type () const
 
void setType (const std::string &type)
 
std::string version () const
 
void setVersion (const std::string &version)
 
double northAxis () const
 
void setNorthAxis (double northAxis)
 
void setNorthAxis (const model::Model &model)
 
int thermalZoneCount () const
 
void setThermalZoneCount (int thermalZoneCount)
 
int spaceCount () const
 
void setSpaceCount (int spaceCount)
 
int spaceTypeCount () const
 
void setSpaceTypeCount (int spaceTypeCount)
 
int constructionSetCount () const
 
void setConstructionSetCount (int constructionSetCount)
 
int airLoopCount () const
 
void setAirLoopCount (int airLoopCount)
 
int buildingStoryCount () const
 
void setBuildingStoryCount (int buildingStoryCount)
 

Protected Member Functions

Protected
std::map< std::string,
tinygltf::Value > 
toExtras () const
 
 GltfMetaData (const tinygltf::Value &metaDataObj)
 

Detailed Description

GltfMetadata is an Interface between an OpenStudio Model and a glTF Scene's extras

Constructor & Destructor Documentation

openstudio::gltf::GltfMetaData::GltfMetaData ( )
openstudio::gltf::GltfMetaData::GltfMetaData ( const model::Model &  model)

Interface with the Model.

openstudio::gltf::GltfMetaData::GltfMetaData ( const tinygltf::Value &  metaDataObj)
protected

Member Function Documentation

int openstudio::gltf::GltfMetaData::airLoopCount ( ) const
int openstudio::gltf::GltfMetaData::buildingStoryCount ( ) const
std::vector<std::string> openstudio::gltf::GltfMetaData::buildingStoryNames ( ) const
int openstudio::gltf::GltfMetaData::constructionSetCount ( ) const
std::string openstudio::gltf::GltfMetaData::generator ( ) const
GltfBoundingBox openstudio::gltf::GltfMetaData::glTFBoundingBox ( ) const
std::vector<GltfModelObjectMetaData> openstudio::gltf::GltfMetaData::glTFModelObjectMetaDataVector ( ) const
double openstudio::gltf::GltfMetaData::northAxis ( ) const
void openstudio::gltf::GltfMetaData::setAirLoopCount ( int  airLoopCount)
void openstudio::gltf::GltfMetaData::setBuildingStoryCount ( int  buildingStoryCount)
void openstudio::gltf::GltfMetaData::setBuildingStoryNames ( const std::vector< std::string > &  buildingStoryNames)
void openstudio::gltf::GltfMetaData::setBuildingStoryNames ( const std::vector< model::BuildingStory > &  buildingStories)
void openstudio::gltf::GltfMetaData::setConstructionSetCount ( int  constructionSetCount)
void openstudio::gltf::GltfMetaData::setGenerator ( const std::string &  generator)
void openstudio::gltf::GltfMetaData::setGlTFBoundingBox ( const GltfBoundingBox glTFBoundingBox)
void openstudio::gltf::GltfMetaData::setGlTFModelObjectMetaDataVector ( const std::vector< GltfModelObjectMetaData > &  glTFModelObjectMetaDataVector)
void openstudio::gltf::GltfMetaData::setNorthAxis ( double  northAxis)
void openstudio::gltf::GltfMetaData::setNorthAxis ( const model::Model &  model)
void openstudio::gltf::GltfMetaData::setSpaceCount ( int  spaceCount)
void openstudio::gltf::GltfMetaData::setSpaceTypeCount ( int  spaceTypeCount)
void openstudio::gltf::GltfMetaData::setThermalZoneCount ( int  thermalZoneCount)
void openstudio::gltf::GltfMetaData::setType ( const std::string &  type)
void openstudio::gltf::GltfMetaData::setVersion ( const std::string &  version)
int openstudio::gltf::GltfMetaData::spaceCount ( ) const
int openstudio::gltf::GltfMetaData::spaceTypeCount ( ) const
int openstudio::gltf::GltfMetaData::thermalZoneCount ( ) const
std::map<std::string, tinygltf::Value> openstudio::gltf::GltfMetaData::toExtras ( ) const
protected
std::string openstudio::gltf::GltfMetaData::type ( ) const
std::string openstudio::gltf::GltfMetaData::version ( ) const