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

#include <GltfUserData.hpp>

Public Member Functions

 GltfUserData ()
 
Interface with Model and ModelObjects
 GltfUserData (const model::PlanarSurface &planarSurface)
 
Getters & Setters
std::string handle () const
 
void setHandle (const std::string &handle)
 
std::string name () const
 
void setName (const std::string &name)
 
std::string surfaceType () const
 
void setSurfaceType (const std::string &surfaceType)
 
std::string constructionName () const
 
void setConstructionName (const std::string &constructionName)
 
std::string constructionHandle () const
 
void setConstructionHandle (const std::string &constructionHandle)
 
std::string constructionMaterialName () const
 
void setConstructionMaterialName (const std::string &constructionMaterialName)
 
std::string surfaceName () const
 
void setSurfaceName (const std::string &surfaceName)
 
std::string surfaceHandle () const
 
void setSurfaceHandle (const std::string &surfaceHandle)
 
std::string subSurfaceName () const
 
void setSubSurfaceName (const std::string &subSurfaceName)
 
std::string subSurfaceHandle () const
 
void setSubSurfaceHandle (const std::string &subSurfaceHandle)
 
std::string spaceName () const
 
void setSpaceName (const std::string &spaceName)
 
std::string spaceHandle () const
 
void setSpaceHandle (const std::string &spaceHandle)
 
std::string shadingName () const
 
void setShadingName (const std::string &shadingName)
 
std::string shadingHandle () const
 
void setShadingHandle (const std::string &shadingHandle)
 
std::string thermalZoneName () const
 
void setThermalZoneName (const std::string &thermalZoneName)
 
std::string thermalZoneHandle () const
 
void setThermalZoneHandle (const std::string &thermalZoneHandle)
 
std::string thermalZoneMaterialName () const
 
void setThermalZoneMaterialName (const std::string &thermalZoneMaterialName)
 
std::string spaceTypeName () const
 
void setSpaceTypeName (const std::string &spaceTypeName)
 
std::string spaceTypeHandle () const
 
void setSpaceTypeHandle (const std::string &spaceTypeHandle)
 
std::string spaceTypeMaterialName () const
 
void setSpaceTypeMaterialName (const std::string &spaceTypeMaterialName)
 
std::string buildingStoryName () const
 
void setBuildingStoryName (const std::string &buildingStoryName)
 
std::string buildingStoryHandle () const
 
void setBuildingStoryHandle (const std::string &buildingStoryHandle)
 
std::string buildingStoryMaterialName () const
 
void setBuildingStoryMaterialName (const std::string &buildingStoryMaterialName)
 
std::string buildingUnitName () const
 
void setBuildingUnitName (const std::string &buildingUnitName)
 
std::string buildingUnitHandle () const
 
void setBuildingUnitHandle (const std::string &buildingUnitHandle)
 
std::string buildingUnitMaterialName () const
 
void setBuildingUnitMaterialName (const std::string &buildingUnitMaterialName)
 
std::string constructionSetName () const
 
void setConstructionSetName (const std::string &constructionSetName)
 
std::string constructionSetHandle () const
 
void setConstructionSetHandle (const std::string &constructionSetHandle)
 
std::string constructionSetMaterialName () const
 
void setConstructionSetMaterialName (const std::string &constructionSetMaterialName)
 
std::string outsideBoundaryCondition () const
 
void setOutsideBoundaryCondition (const std::string &outsideBoundaryCondition)
 
std::string outsideBoundaryConditionObjectName () const
 
void setOutsideBoundaryConditionObjectName (const std::string &outsideBoundaryConditionObjectName)
 
std::string outsideBoundaryConditionObjectHandle () const
 
void setOutsideBoundaryConditionObjectHandle (const std::string &outsideBoundaryConditionObjectHandle)
 
bool coincidentWithOutsideObject () const
 
void setCoincidentWithOutsideObject (bool coincidentWithOutsideObject)
 
std::string sunExposure () const
 
void setSunExposure (const std::string &sunExposure)
 
std::string windExposure () const
 
void setWindExposure (const std::string &windExposure)
 
double illuminanceSetpoint () const
 
void setIlluminanceSetpoint (double illuminanceSetpoint)
 
bool airWall () const
 
void setAirWall (bool airWall)
 
std::vector< std::string > airLoopHVACNames () const
 
void setAirLoopHVACNames (const std::vector< std::string > &airLoopHVACNames)
 
void addAirLoopHVACName (std::string airLoopHVACName)
 
std::vector< std::string > airLoopHVACHandles () const
 
void setAirLoopHVACHandles (const std::vector< std::string > &airLoopHVACHandles)
 
void addAirLoopHVACHandle (std::string airLoopHVACHandle)
 
std::vector< std::string > airLoopHVACMaterialNames () const
 
void setAirLoopHVACMaterialNames (const std::vector< std::string > &airLoopHVACMaterialNames)
 
void addAirLoopHVACMaterialName (std::string airLoopHVACMaterialName)
 
Other
std::string surfaceTypeMaterialName () const
 
std::string boundaryMaterialName () const
 

Protected Member Functions

Protected
 GltfUserData (const tinygltf::Value &userDataObj)
 Interface with an existing GLTF file. More...
 
std::map< std::string,
tinygltf::Value > 
toExtras () const
 

Detailed Description

GltfUserData is an Interface class between a PlanarSurface and an glTF Node's extras.

It stores attributes such as surfaceType, its construction, the Space and SpaceType and ThermalZone it belongs to, etc.

Constructor & Destructor Documentation

openstudio::gltf::GltfUserData::GltfUserData ( )
openstudio::gltf::GltfUserData::GltfUserData ( const model::PlanarSurface &  planarSurface)
openstudio::gltf::GltfUserData::GltfUserData ( const tinygltf::Value &  userDataObj)
protected

Interface with an existing GLTF file.

Member Function Documentation

void openstudio::gltf::GltfUserData::addAirLoopHVACHandle ( std::string  airLoopHVACHandle)
void openstudio::gltf::GltfUserData::addAirLoopHVACMaterialName ( std::string  airLoopHVACMaterialName)
void openstudio::gltf::GltfUserData::addAirLoopHVACName ( std::string  airLoopHVACName)
std::vector<std::string> openstudio::gltf::GltfUserData::airLoopHVACHandles ( ) const
std::vector<std::string> openstudio::gltf::GltfUserData::airLoopHVACMaterialNames ( ) const
std::vector<std::string> openstudio::gltf::GltfUserData::airLoopHVACNames ( ) const
bool openstudio::gltf::GltfUserData::airWall ( ) const
std::string openstudio::gltf::GltfUserData::boundaryMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::buildingStoryHandle ( ) const
std::string openstudio::gltf::GltfUserData::buildingStoryMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::buildingStoryName ( ) const
std::string openstudio::gltf::GltfUserData::buildingUnitHandle ( ) const
std::string openstudio::gltf::GltfUserData::buildingUnitMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::buildingUnitName ( ) const
bool openstudio::gltf::GltfUserData::coincidentWithOutsideObject ( ) const
std::string openstudio::gltf::GltfUserData::constructionHandle ( ) const
std::string openstudio::gltf::GltfUserData::constructionMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::constructionName ( ) const
std::string openstudio::gltf::GltfUserData::constructionSetHandle ( ) const
std::string openstudio::gltf::GltfUserData::constructionSetMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::constructionSetName ( ) const
std::string openstudio::gltf::GltfUserData::handle ( ) const
double openstudio::gltf::GltfUserData::illuminanceSetpoint ( ) const
std::string openstudio::gltf::GltfUserData::name ( ) const
std::string openstudio::gltf::GltfUserData::outsideBoundaryCondition ( ) const
std::string openstudio::gltf::GltfUserData::outsideBoundaryConditionObjectHandle ( ) const
std::string openstudio::gltf::GltfUserData::outsideBoundaryConditionObjectName ( ) const
void openstudio::gltf::GltfUserData::setAirLoopHVACHandles ( const std::vector< std::string > &  airLoopHVACHandles)
void openstudio::gltf::GltfUserData::setAirLoopHVACMaterialNames ( const std::vector< std::string > &  airLoopHVACMaterialNames)
void openstudio::gltf::GltfUserData::setAirLoopHVACNames ( const std::vector< std::string > &  airLoopHVACNames)
void openstudio::gltf::GltfUserData::setAirWall ( bool  airWall)
void openstudio::gltf::GltfUserData::setBuildingStoryHandle ( const std::string &  buildingStoryHandle)
void openstudio::gltf::GltfUserData::setBuildingStoryMaterialName ( const std::string &  buildingStoryMaterialName)
void openstudio::gltf::GltfUserData::setBuildingStoryName ( const std::string &  buildingStoryName)
void openstudio::gltf::GltfUserData::setBuildingUnitHandle ( const std::string &  buildingUnitHandle)
void openstudio::gltf::GltfUserData::setBuildingUnitMaterialName ( const std::string &  buildingUnitMaterialName)
void openstudio::gltf::GltfUserData::setBuildingUnitName ( const std::string &  buildingUnitName)
void openstudio::gltf::GltfUserData::setCoincidentWithOutsideObject ( bool  coincidentWithOutsideObject)
void openstudio::gltf::GltfUserData::setConstructionHandle ( const std::string &  constructionHandle)
void openstudio::gltf::GltfUserData::setConstructionMaterialName ( const std::string &  constructionMaterialName)
void openstudio::gltf::GltfUserData::setConstructionName ( const std::string &  constructionName)
void openstudio::gltf::GltfUserData::setConstructionSetHandle ( const std::string &  constructionSetHandle)
void openstudio::gltf::GltfUserData::setConstructionSetMaterialName ( const std::string &  constructionSetMaterialName)
void openstudio::gltf::GltfUserData::setConstructionSetName ( const std::string &  constructionSetName)
void openstudio::gltf::GltfUserData::setHandle ( const std::string &  handle)
void openstudio::gltf::GltfUserData::setIlluminanceSetpoint ( double  illuminanceSetpoint)
void openstudio::gltf::GltfUserData::setName ( const std::string &  name)
void openstudio::gltf::GltfUserData::setOutsideBoundaryCondition ( const std::string &  outsideBoundaryCondition)
void openstudio::gltf::GltfUserData::setOutsideBoundaryConditionObjectHandle ( const std::string &  outsideBoundaryConditionObjectHandle)
void openstudio::gltf::GltfUserData::setOutsideBoundaryConditionObjectName ( const std::string &  outsideBoundaryConditionObjectName)
void openstudio::gltf::GltfUserData::setShadingHandle ( const std::string &  shadingHandle)
void openstudio::gltf::GltfUserData::setShadingName ( const std::string &  shadingName)
void openstudio::gltf::GltfUserData::setSpaceHandle ( const std::string &  spaceHandle)
void openstudio::gltf::GltfUserData::setSpaceName ( const std::string &  spaceName)
void openstudio::gltf::GltfUserData::setSpaceTypeHandle ( const std::string &  spaceTypeHandle)
void openstudio::gltf::GltfUserData::setSpaceTypeMaterialName ( const std::string &  spaceTypeMaterialName)
void openstudio::gltf::GltfUserData::setSpaceTypeName ( const std::string &  spaceTypeName)
void openstudio::gltf::GltfUserData::setSubSurfaceHandle ( const std::string &  subSurfaceHandle)
void openstudio::gltf::GltfUserData::setSubSurfaceName ( const std::string &  subSurfaceName)
void openstudio::gltf::GltfUserData::setSunExposure ( const std::string &  sunExposure)
void openstudio::gltf::GltfUserData::setSurfaceHandle ( const std::string &  surfaceHandle)
void openstudio::gltf::GltfUserData::setSurfaceName ( const std::string &  surfaceName)
void openstudio::gltf::GltfUserData::setSurfaceType ( const std::string &  surfaceType)
void openstudio::gltf::GltfUserData::setThermalZoneHandle ( const std::string &  thermalZoneHandle)
void openstudio::gltf::GltfUserData::setThermalZoneMaterialName ( const std::string &  thermalZoneMaterialName)
void openstudio::gltf::GltfUserData::setThermalZoneName ( const std::string &  thermalZoneName)
void openstudio::gltf::GltfUserData::setWindExposure ( const std::string &  windExposure)
std::string openstudio::gltf::GltfUserData::shadingHandle ( ) const
std::string openstudio::gltf::GltfUserData::shadingName ( ) const
std::string openstudio::gltf::GltfUserData::spaceHandle ( ) const
std::string openstudio::gltf::GltfUserData::spaceName ( ) const
std::string openstudio::gltf::GltfUserData::spaceTypeHandle ( ) const
std::string openstudio::gltf::GltfUserData::spaceTypeMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::spaceTypeName ( ) const
std::string openstudio::gltf::GltfUserData::subSurfaceHandle ( ) const
std::string openstudio::gltf::GltfUserData::subSurfaceName ( ) const
std::string openstudio::gltf::GltfUserData::sunExposure ( ) const
std::string openstudio::gltf::GltfUserData::surfaceHandle ( ) const
std::string openstudio::gltf::GltfUserData::surfaceName ( ) const
std::string openstudio::gltf::GltfUserData::surfaceType ( ) const
std::string openstudio::gltf::GltfUserData::surfaceTypeMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::thermalZoneHandle ( ) const
std::string openstudio::gltf::GltfUserData::thermalZoneMaterialName ( ) const
std::string openstudio::gltf::GltfUserData::thermalZoneName ( ) const
std::map<std::string, tinygltf::Value> openstudio::gltf::GltfUserData::toExtras ( ) const
protected
std::string openstudio::gltf::GltfUserData::windExposure ( ) const