TM2IN
0.5.1
|
#include <Room.h>
Public Member Functions | |
Room (RoomBoundary::TriangleMesh *tm) | |
Constructor with TriangleMesh. More... | |
RoomBoundary::TriangleMesh * | getTm_boundary () const |
Returns TriangleMesh boundary. More... | |
void | setTm_boundary (RoomBoundary::TriangleMesh *tm_boundary) |
RoomBoundary::TriangulatedSurfaceMesh * | getTsm_boundary () const |
Returns TriangulatedSurfaceMesh boundary. More... | |
void | setTsm_boundary (RoomBoundary::TriangulatedSurfaceMesh *tsm_boundary) |
RoomBoundary::PolygonMesh * | getPm_boundary () const |
Returns PolygonMesh boundary. More... | |
void | setPm_boundary (RoomBoundary::PolygonMesh *pm_boundary) |
![]() | |
IndoorComponent () | |
double | getArea () |
Returns area. More... | |
void | setArea (double _area) |
Sets area. More... | |
MinimumBoundingBox * | getMBB () |
Returns minimum bounding box. More... | |
void | setMBB (MinimumBoundingBox *_mbb) |
Sets minimum bounding box. More... | |
virtual void | updateMBB () |
Updates MinimumBoundingBox. More... | |
virtual void | mergeMBB (IndoorComponent *gm) |
Merges with the other IndoorComponent. More... | |
virtual std::string | asJsonText () |
Generates json string. More... | |
Public Attributes | |
std::string | name |
![]() | |
std::string | geom_id |
Additional Inherited Members | |
![]() | |
MinimumBoundingBox * | mbb |
TM2IN::IND_TYPE | type |
double | area = 0.0 |
TM2IN::Room::Room | ( | RoomBoundary::TriangleMesh * | tm | ) |
Constructor with TriangleMesh.
RoomBoundary::PolygonMesh * TM2IN::Room::getPm_boundary | ( | ) | const |
Returns PolygonMesh boundary.
RoomBoundary::TriangleMesh * TM2IN::Room::getTm_boundary | ( | ) | const |
Returns TriangleMesh boundary.
RoomBoundary::TriangulatedSurfaceMesh * TM2IN::Room::getTsm_boundary | ( | ) | const |
Returns TriangulatedSurfaceMesh boundary.
void TM2IN::Room::setPm_boundary | ( | RoomBoundary::PolygonMesh * | pm_boundary | ) |
void TM2IN::Room::setTm_boundary | ( | RoomBoundary::TriangleMesh * | tm_boundary | ) |
void TM2IN::Room::setTsm_boundary | ( | RoomBoundary::TriangulatedSurfaceMesh * | tsm_boundary | ) |
std::string TM2IN::Room::name |