MCPcopy Create free account
hub / github.com/RenderKit/ospray / ospGetBounds

Function ospGetBounds

ospray/api/API.cpp:504–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502OSPRAY_CATCH_END(nullptr)
503
504extern "C" OSPBounds ospGetBounds(OSPObject obj) OSPRAY_CATCH_BEGIN
505{
506 THROW_IF_NULL_OBJECT(obj);
507 ASSERT_DEVICE();
508 box3f bounds = currentDevice().getBounds(obj);
509 return (OSPBounds &)bounds;
510}
511OSPRAY_CATCH_END({})
512
513///////////////////////////////////////////////////////////////////////////////

Callers 3

getBoundsFunction · 0.85
mainFunction · 0.85
getBoundsMethod · 0.85

Calls 1

getBoundsMethod · 0.45

Tested by

no test coverage detected