TM2IN  0.5.1
Public Member Functions | Public Attributes | List of all members
TM2IN::Room Class Reference

#include <Room.h>

Inheritance diagram for TM2IN::Room:
Inheritance graph
[legend]

Public Member Functions

 Room (RoomBoundary::TriangleMesh *tm)
 Constructor with TriangleMesh. More...
 
RoomBoundary::TriangleMeshgetTm_boundary () const
 Returns TriangleMesh boundary. More...
 
void setTm_boundary (RoomBoundary::TriangleMesh *tm_boundary)
 
RoomBoundary::TriangulatedSurfaceMeshgetTsm_boundary () const
 Returns TriangulatedSurfaceMesh boundary. More...
 
void setTsm_boundary (RoomBoundary::TriangulatedSurfaceMesh *tsm_boundary)
 
RoomBoundary::PolygonMeshgetPm_boundary () const
 Returns PolygonMesh boundary. More...
 
void setPm_boundary (RoomBoundary::PolygonMesh *pm_boundary)
 
- Public Member Functions inherited from TM2IN::IndoorComponent
 IndoorComponent ()
 
double getArea ()
 Returns area. More...
 
void setArea (double _area)
 Sets area. More...
 
MinimumBoundingBoxgetMBB ()
 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
 
- Public Attributes inherited from TM2IN::IndoorComponent
std::string geom_id
 

Additional Inherited Members

- Protected Attributes inherited from TM2IN::IndoorComponent
MinimumBoundingBoxmbb
 
TM2IN::IND_TYPE type
 
double area = 0.0
 

Constructor & Destructor Documentation

TM2IN::Room::Room ( RoomBoundary::TriangleMesh tm)

Constructor with TriangleMesh.

Member Function Documentation

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)

Member Data Documentation

std::string TM2IN::Room::name

The documentation for this class was generated from the following files: