MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / modelToThreeJS

Method modelToThreeJS

src/model/ThreeJSForwardTranslator.cpp:453–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451 }
452
453 ThreeScene ThreeJSForwardTranslator::modelToThreeJS(const Model& model, bool triangulateSurfaces) {
454 return modelToThreeJS(model, triangulateSurfaces, [](double percentage) {});
455 }
456
457 ThreeScene ThreeJSForwardTranslator::modelToThreeJS(const Model& model, bool triangulateSurfaces, std::function<void(double)> updatePercentage) {
458 m_logSink.setThreadId(std::this_thread::get_id());

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 15

addThreeMaterialFunction · 0.85
buildMaterialsFunction · 0.85
makeGeometriesFunction · 0.85
toThreeUUIDFunction · 0.85
createUUIDFunction · 0.85
getThreeMaterialIdFunction · 0.85
setThreadIdMethod · 0.80
resetStringStreamMethod · 0.80
nameStringMethod · 0.80

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64