VICUS Library
Documentation of Vicus library
|
#include <VICUS_Room.h>
Public Types | |
enum | para_t { P_Area , P_Volume , NUM_P } |
Public Member Functions | |
const char * | typeinfo () const override |
VICUS_READWRITE VICUS_COMPARE_WITH_ID void | calculateFloorArea () |
void | calculateVolume () |
void | updateParents () |
Public Member Functions inherited from VICUS::Object | |
Object ()=default | |
Object (Object const &)=default | |
virtual | ~Object () |
Object * | findChild (unsigned int ID) |
const Object * | findChild (unsigned int ID) const |
void | collectChildIDs (std::set< unsigned int > &nodeContainer) const |
QString | info () const |
Public Attributes | |
IDType | m_idZoneTemplate = INVALID_ID |
IDType | m_idAcousticTemplate = INVALID_ID |
IBK::Parameter | m_para [NUM_P] |
std::vector< Surface > | m_surfaces |
double | m_netFloorArea = -1 |
double | m_volume = -1 |
Public Attributes inherited from VICUS::Object | |
Object * | m_parent = nullptr |
unsigned int | m_id = INVALID_ID |
bool | m_selected = false |
bool | m_visible = true |
QString | m_displayName |
std::string | m_ifcGUID |
Additional Inherited Members | |
Protected Attributes inherited from VICUS::Object | |
std::vector< Object * > | m_children |
Stores all data for a room.
enum VICUS::Room::para_t |
Room parameters. These parameters are either automatically computed when zone is created/modified, or manually entered/adjusted by user.
Enumerator | |
---|---|
P_Area | Floor usable area of the zone, used for zone load definition. |
P_Volume | Geometrical violume of the zone, used for air exchange calulation + energy balance. |
NUM_P |
void VICUS::Room::calculateFloorArea | ( | ) |
Calculates the floor area of the room.
void VICUS::Room::calculateVolume | ( | ) |
Calculates the volume of the room. Room must have a closed shell.
|
inlineoverridevirtual |
Type-info string.
Implements VICUS::Object.
|
inline |
IDType VICUS::Room::m_idAcousticTemplate = INVALID_ID |
Reference to assigned acoustic template (optional).
IDType VICUS::Room::m_idZoneTemplate = INVALID_ID |
Reference to assigned zone template (optional).
double VICUS::Room::m_netFloorArea = -1 |
Whole room net floor area in m2. This area is updated either from user-defined area in m_para or automatically computed from zone geometry. If the latter is not possible, user must enter a floor area.
IBK::Parameter VICUS::Room::m_para[NUM_P] |
Zone parameters.
std::vector<Surface> VICUS::Room::m_surfaces |
Surfaces of the room.
double VICUS::Room::m_volume = -1 |
Whole room volume in m3. This volume is updated either from user-defined volume in m_para or automatically computed from zone geometry. If the latter is not possible, user must enter a valid volume.