void Wall::addPlane |
( |
Plane & |
pc | ) |
|
|
inline |
void Wall::addRoom |
( |
Room & |
room | ) |
|
|
inline |
int Wall::getFloorId |
( |
| ) |
const |
|
inline |
int Wall::getId |
( |
| ) |
const |
|
inline |
Returns Wall identifier.
- Returns
- Wall identifier
std::vector<int>& Wall::getPlaneIDs |
( |
| ) |
|
|
inline |
Returns Plane identifiers.
- Returns
- Plane identifiers
const std::vector<Plane>& Wall::getPlanes |
( |
| ) |
const |
|
inline |
Returns all Planes.
- Returns
- Planes
std::vector<Plane>& Wall::getPlanes |
( |
| ) |
|
|
inline |
Returns all Planes.
- Returns
- Planes
template<typename T >
void Wall::getPoints |
( |
std::vector< T > & |
points | ) |
|
|
inline |
Returns all points of the Wall. Iterates over all Planes and pushes its Points into a vector.
- Template Parameters
-
- Parameters
-
std::vector<int>& Wall::getRoomIDs |
( |
| ) |
|
|
inline |
Returns Room identifiers.
- Returns
- Room identifiers
const std::vector<Room>& Wall::getRooms |
( |
| ) |
const |
|
inline |
Returns all Rooms.
- Returns
- Rooms
std::vector<Room>& Wall::getRooms |
( |
| ) |
|
|
inline |
Returns all Rooms.
- Returns
- Rooms
bool Wall::isOuter |
( |
| ) |
const |
|
inline |
Checks if wall is marked as outer.
- Returns
- True if wall is marked as outer, it probably has just a single plane
-
False if wall is marked as inner, it probably has 2 planes (or more)
void Wall::setFloorId |
( |
int |
id | ) |
|
|
inline |
Sets Floor identifier.
- Parameters
-
void Wall::setId |
( |
int |
id | ) |
|
|
inline |
Sets Wall identifier.
- Parameters
-
void Wall::setOuter |
( |
bool |
outer | ) |
|
|
inline |
Changes outer flag.
- Parameters
-
void Wall::setPlaneIDs |
( |
std::vector< int > |
pcl_ids | ) |
|
|
inline |
Sets Plane identifiers.
- Parameters
-
void Wall::setRoomIDs |
( |
std::vector< int > |
pcl_ids | ) |
|
|
inline |
Sets Room identifiers.
- Parameters
-
The documentation for this class was generated from the following file:
- /home/edita/spcl2/src/Wall.h