class
#include <esp/scene/SemanticScene.h>
SemanticRegion Represents a region (typically room) in a level of a house.
Constructors, destructors, conversion operators
- ~SemanticRegion() defaulted virtual
Public functions
-
auto id() const -> std::
string virtual - auto getIndex() const -> int
- auto level() const -> SemanticLevel::ptr
-
auto objects() const -> const std::
vector<std:: shared_ptr<SemanticObject>>& - auto aabb() const -> box3f
- auto category() const -> SemanticCategory::ptr
Protected variables
- int index_
- int parentIndex_
-
std::
shared_ptr<SemanticCategory> category_ - vec3f position_
- box3f bbox_
- vec3f floorNormal_
-
std::
vector<vec3f> floorPoints_ -
std::
vector<std:: shared_ptr<SemanticObject>> objects_ -
std::
shared_ptr<SemanticLevel> level_ - friend SemanticScene