PointCloud2BIM Library  1.0
Library to facilitate the transpormation of point clouds into digital BIM representation
Public Member Functions | List of all members
Room Class Reference

Public Member Functions

 Room ()
 Creates empty Room.
 
void setId (double id)
 Sets Room identifier. More...
 
int getId () const
 Returns room identifier. More...
 
const double * getMin () const
 Returns Room minimum coordinates. More...
 
void setMin (double x, double y, double z)
 Sets minimum Room coordinates. More...
 
const double * getMax () const
 Returns Room maximum coordinates. More...
 
void setMax (double x, double y, double z)
 Sets maximum Room coordinates. More...
 
void setFloorLevel (double l)
 Sets floor level (height) of the specific Room. More...
 
double getFloorLevel () const
 Returns floor level (height) of the specific Room. More...
 
void setCeilingLevel (double l)
 Sets ceiling level (height) of the specific Room. More...
 
double getCeilingLevel () const
 Returns ceiling level (height) of the specific Room. More...
 
std::vector< int > & getPointCloudIDs ()
 Returns PointCloud identifiers. More...
 
void setPointCloudIDs (std::vector< int > pcl_ids)
 Sets PointCloud identifiers. More...
 
const std::vector< PointCloud > & getPointClouds () const
 Returns all Room PointClouds. More...
 
std::vector< PointCloud > & getPointClouds ()
 Returns all Room PointClouds. More...
 
void addPointCloud (PointCloud &pc)
 Adds PointCloud to Room. More...
 
template<typename T >
void getPoints (std::vector< T > &points)
 Returns all Room points. More...
 
std::vector< int > & getPlaneIDs ()
 Returns Plane identifiers. More...
 
void setPlaneIDs (std::vector< int > pcl_ids)
 Sets Plane identifiers. More...
 
std::vector< Plane > & getPlanes ()
 Returns all Planes found in a Room. More...
 
const std::vector< Plane > & getPlanes () const
 Returns all Planes found in a Room. More...
 
void addPlane (Plane &pc)
 Adds a Plane to the Room. More...
 
void setArea (double area)
 Sets floor plan area of the Room. More...
 
double getArea () const
 Returns floor plan area of the Room. More...
 

Member Function Documentation

void Room::addPlane ( Plane pc)
inline

Adds a Plane to the Room.

Parameters
pcPlane to be added
void Room::addPointCloud ( PointCloud pc)
inline

Adds PointCloud to Room.

Parameters
pcPointCloud to be added
double Room::getArea ( ) const
inline

Returns floor plan area of the Room.

Returns
Area [ $m^2$]
double Room::getCeilingLevel ( ) const
inline

Returns ceiling level (height) of the specific Room.

Returns
Ceiling level
double Room::getFloorLevel ( ) const
inline

Returns floor level (height) of the specific Room.

Returns
Floor level
int Room::getId ( ) const
inline

Returns room identifier.

Returns
Room identifier
const double* Room::getMax ( ) const
inline

Returns Room maximum coordinates.

Returns
Maximum Room coordinates
const double* Room::getMin ( ) const
inline

Returns Room minimum coordinates.

Returns
Minimum Room coordinates
std::vector<int>& Room::getPlaneIDs ( )
inline

Returns Plane identifiers.

Returns
Plane identifiers
std::vector<Plane>& Room::getPlanes ( )
inline

Returns all Planes found in a Room.

Returns
Room Planes
const std::vector<Plane>& Room::getPlanes ( ) const
inline

Returns all Planes found in a Room.

Returns
Room Planes
std::vector<int>& Room::getPointCloudIDs ( )
inline

Returns PointCloud identifiers.

Returns
PointCloud identifiers
const std::vector<PointCloud>& Room::getPointClouds ( ) const
inline

Returns all Room PointClouds.

Returns
Room PointClouds
std::vector<PointCloud>& Room::getPointClouds ( )
inline

Returns all Room PointClouds.

Returns
Room PointClouds
template<typename T >
void Room::getPoints ( std::vector< T > &  points)
inline

Returns all Room points.

Template Parameters
TPoint type
Parameters
pointsRoom Points
void Room::setArea ( double  area)
inline

Sets floor plan area of the Room.

Parameters
Area[ $m^2$]
void Room::setCeilingLevel ( double  l)
inline

Sets ceiling level (height) of the specific Room.

Parameters
lFloor level
void Room::setFloorLevel ( double  l)
inline

Sets floor level (height) of the specific Room.

Parameters
lFloor level
void Room::setId ( double  id)
inline

Sets Room identifier.

Parameters
idRoom identifier
void Room::setMax ( double  x,
double  y,
double  z 
)
inline

Sets maximum Room coordinates.

Parameters
xMaximum x coordinate
yMaximum y coordinate
zMaximum z coordinate
void Room::setMin ( double  x,
double  y,
double  z 
)
inline

Sets minimum Room coordinates.

Parameters
xMinimal x coordinate
yMinimal y coordinate
zMinimal z coordinate
void Room::setPlaneIDs ( std::vector< int >  pcl_ids)
inline

Sets Plane identifiers.

Parameters
pcl_idsPlane identifiers
void Room::setPointCloudIDs ( std::vector< int >  pcl_ids)
inline

Sets PointCloud identifiers.

Parameters
pcl_idsPointCloud identifiers

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