VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::SubSurface Class Reference

#include <VICUS_SubSurface.h>

Inheritance diagram for VICUS::SubSurface:
[legend]

Public Member Functions

const char * typeinfo () const override
 
VICUS_READWRITE VICUS_COMPARE_WITH_ID void updateColor ()
 
const IBK::point2D< double > & offset () const
 
- Public Member Functions inherited from VICUS::Object
 Object ()=default
 
 Object (Object const &)=default
 
virtual ~Object ()
 
ObjectfindChild (unsigned int ID)
 
const ObjectfindChild (unsigned int ID) const
 
void collectChildIDs (std::set< unsigned int > &nodeContainer) const
 
QString info () const
 

Public Attributes

Polygon2D m_polygon2D
 
QColor m_color
 
SubSurfaceComponentInstancem_subSurfaceComponentInstance = nullptr
 
NANDRAD::IDVectorMap< double > m_viewFactors
 
- Public Attributes inherited from VICUS::Object
Objectm_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
 

Detailed Description

Represents a SubSurface and its associated properties.

Member Function Documentation

◆ offset()

const IBK::point2D< double > & VICUS::SubSurface::offset ( ) const
inline

Offset from first point of the parent surface to the first point this sub surface.

◆ typeinfo()

const char * VICUS::SubSurface::typeinfo ( ) const
inlineoverridevirtual

Type-info string.

Implements VICUS::Object.

◆ updateColor()

void VICUS::SubSurface::updateColor ( )

Sets color based on sub-surface type.

Member Data Documentation

◆ m_color

QColor VICUS::SubSurface::m_color
mutable

Color to be used when next updating the geometry. Color is set based on hightlighting/selection algorithm.

Color is not a regular property of a SubSurface, but rather of the associated parameter elements.

◆ m_polygon2D

Polygon2D VICUS::SubSurface::m_polygon2D

The actual geometry.

◆ m_subSurfaceComponentInstance

SubSurfaceComponentInstance* VICUS::SubSurface::m_subSurfaceComponentInstance = nullptr

Runtime-only pointer to the associated subsurface component instance (or nullptr, if SubSurface is not yet connected to any component. This would be considered an incomplete data model). The pointer is updated in VICUS::Project::updatePointers().

◆ m_viewFactors

NANDRAD::IDVectorMap<double> VICUS::SubSurface::m_viewFactors

Map that stores the id of a (sub)surface and the viewFactor onto that (subSurface)


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