Class Ifc4::IfcPresentationLayerWithStyle¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcPresentationLayerAssignment
(Class Ifc4::IfcPresentationLayerAssignment)
Class Documentation¶
-
class
Ifc4
::
IfcPresentationLayerWithStyle
: public Ifc4::IfcPresentationLayerAssignment¶ An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information.
The visibility control allows to define a layer to be either ‘on’ or ‘off’, and/or ‘frozen’ or ‘not frozen’. The access control allows to block graphical entities from manipulations by setting a layer to be either ‘blocked’ or ‘not blocked’. Common style information can be given to the layer.
NOTE Style information assigned to layers is often restricted to ‘layer colour’, ‘curve font’, and/or ‘curve width’. These styles are assigned by using the IfcCurveStyle within the LayerStyles.
NOTE: If a styled item is assigned to a layer using the IfcPresentationLayerAssignmentWithStyle, it inherits the style information from the layer. In this case, it should omit its own style information. If the styled item has style information assigned (such as by IfcCurveStyle, IfcFillAreaStyle, IfcTextStyle, IfcSurfaceStyle, IfcSymbolStyle), then it overrides the style provided by the IfcPresentationLayerAssignmentWithStyle.
NOTE The IfcPresentationLayerAssignmentWithStyle extends the presentation_layer_assignment entity as defined in ISO/IS 10303-46:1994, p. 36.
HISTORY New entity in IFC2x2.
IFC2x3 CHANGE The attributes have been modified without upward compatibility.
Public Types
-
typedef IfcTemplatedEntityList<IfcPresentationLayerWithStyle>
list
¶
Public Functions
-
bool
LayerOn
() const¶ A logical setting, TRUE indicates that the layer is set to ‘On’, FALSE that the layer is set to ‘Off’, UNKNOWN that such information is not available.
-
void
setLayerOn
(bool v)¶
-
bool
LayerFrozen
() const¶ A logical setting, TRUE indicates that the layer is set to ‘Frozen’, FALSE that the layer is set to ‘Not frozen’, UNKNOWN that such information is not available.
-
void
setLayerFrozen
(bool v)¶
-
bool
LayerBlocked
() const¶ A logical setting, TRUE indicates that the layer is set to ‘Blocked’, FALSE that the layer is set to ‘Not blocked’, UNKNOWN that such information is not available.
-
void
setLayerBlocked
(bool v)¶
-
IfcTemplatedEntityList<::Ifc4::IfcPresentationStyle>::ptr
LayerStyles
() const¶ Assignment of presentation styles to the layer to provide a default style for representation items.
NOTE In most cases the assignment of styles to a layer is restricted to an IfcCurveStyle representing the layer curve colour, layer curve thickness, and layer curve type.
IFC2x4 CHANGE The data type has been changed from IfcPresentationStyleSelect (now deprecated) to IfcPresentationStyle.
-
void
setLayerStyles
(IfcTemplatedEntityList<::Ifc4::IfcPresentationStyle>::ptr v)¶
-
IfcPresentationLayerWithStyle
(IfcEntityInstanceData *e)¶
-
IfcPresentationLayerWithStyle
(std::string v1_Name, boost::optional<std::string> v2_Description, IfcEntityList::ptr v3_AssignedItems, boost::optional<std::string> v4_Identifier, bool v5_LayerOn, bool v6_LayerFrozen, bool v7_LayerBlocked, IfcTemplatedEntityList<::Ifc4::IfcPresentationStyle>::ptr v8_LayerStyles)¶
-
typedef IfcTemplatedEntityList<IfcPresentationLayerWithStyle>