esp::scene::SemanticRegion class

Represents a region (typically room) in a level of a house.

Derived classes

class SuncgSemanticRegion

Constructors, destructors, conversion operators

~SemanticRegion() defaulted virtual

Public functions

auto id() const -> std::string virtual
auto level() const -> const SemanticLevel::ptr
auto objects() const -> const std::vector<std::shared_ptr<SemanticObject>>&
auto aabb() const -> box3f
auto category() const -> 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