#include <GltfModelObjectMetaData.hpp>
Public Member Functions | |
GltfModelObjectMetaData () | |
Default constructor. More... | |
Interface with ModelObjects | |
GltfModelObjectMetaData (const model::AirLoopHVAC &airLoopHVAC) | |
GltfModelObjectMetaData (const model::BuildingUnit &buildingUnit) | |
GltfModelObjectMetaData (const model::SpaceType &spaceType) | |
GltfModelObjectMetaData (const model::BuildingStory &buildingStory) | |
GltfModelObjectMetaData (const model::ThermalZone &thermalZone) | |
GltfModelObjectMetaData (const model::DefaultConstructionSet &defaultConstructionSet) | |
GltfModelObjectMetaData (const model::Space &space) | |
Getters and Setters | |
std::string | color () const |
void | setColor (const std::string &color) |
std::string | handle () const |
void | setHandle (const std::string &handle) |
std::string | iddObjectType () const |
void | setIddObjectType (const std::string &iddObjectType) |
std::string | name () const |
void | setName (const std::string &name) |
bool | isOpentoBelow () const |
void | setOpentoBelow (bool opentoBelow) |
double | nominalZCoordinate () const |
void | setNominalZCoordinate (double nominalZCoordinate) |
double | nominalFloortoCeilingHeight () const |
void | setNominalFloortoCeilingHeight (double nominalFloortoCeilingHeight) |
int | multiplier () const |
void | setMultiplier (int multiplier) |
Protected Member Functions | |
Protected | |
GltfModelObjectMetaData (const tinygltf::Value &modelObjectMetaDataObj) | |
Interface with an existing GLTF file. More... | |
std::map< std::string, tinygltf::Value > | toExtras () const |
Export to tinygltf. More... | |
GltfModelObjectMetaData is an Interface class between select ModelObjects and glTF values.
It is capable of storing attributes such as name, iddObjectType, color, handle from ModelObjects: ThermalZone, SpaceType, AirLoopHVAC, BuildingStory, BuildingUnit, DefaultConstructionSet
openstudio::gltf::GltfModelObjectMetaData::GltfModelObjectMetaData | ( | ) |
Default constructor.
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicitprotected |
Interface with an existing GLTF file.
std::string openstudio::gltf::GltfModelObjectMetaData::color | ( | ) | const |
std::string openstudio::gltf::GltfModelObjectMetaData::handle | ( | ) | const |
std::string openstudio::gltf::GltfModelObjectMetaData::iddObjectType | ( | ) | const |
bool openstudio::gltf::GltfModelObjectMetaData::isOpentoBelow | ( | ) | const |
int openstudio::gltf::GltfModelObjectMetaData::multiplier | ( | ) | const |
std::string openstudio::gltf::GltfModelObjectMetaData::name | ( | ) | const |
double openstudio::gltf::GltfModelObjectMetaData::nominalFloortoCeilingHeight | ( | ) | const |
double openstudio::gltf::GltfModelObjectMetaData::nominalZCoordinate | ( | ) | const |
void openstudio::gltf::GltfModelObjectMetaData::setColor | ( | const std::string & | color | ) |
void openstudio::gltf::GltfModelObjectMetaData::setHandle | ( | const std::string & | handle | ) |
void openstudio::gltf::GltfModelObjectMetaData::setIddObjectType | ( | const std::string & | iddObjectType | ) |
void openstudio::gltf::GltfModelObjectMetaData::setMultiplier | ( | int | multiplier | ) |
void openstudio::gltf::GltfModelObjectMetaData::setName | ( | const std::string & | name | ) |
void openstudio::gltf::GltfModelObjectMetaData::setNominalFloortoCeilingHeight | ( | double | nominalFloortoCeilingHeight | ) |
void openstudio::gltf::GltfModelObjectMetaData::setNominalZCoordinate | ( | double | nominalZCoordinate | ) |
void openstudio::gltf::GltfModelObjectMetaData::setOpentoBelow | ( | bool | opentoBelow | ) |
|
protected |
Export to tinygltf.