Class TIfcRepresentationItem

Unit

Declaration

type TIfcRepresentationItem = class(TIfcPersistent)

Description

Geometric or topological representation items, that can (but not need to) have presentation style information assigned.

Spec: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcRepresentationItem.htm

Hierarchy

Overview

Methods

Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const LitAppearance, UnlitAppearance: TAppearanceNode): TAbstractChildNode; virtual;

Properties

Published property LayerAssignment: TIfcPresentationLayerAssignment read FLayerAssignment write FLayerAssignment;
Published property StyledByItem: TIfcStyledItem read FStyledByItem write FStyledByItem;

Description

Methods

Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const LitAppearance, UnlitAppearance: TAppearanceNode): TAbstractChildNode; virtual;

Build a node to display this using Castle Game Engine. Returns Nil if not possible / not implemented.

Parameters
ParentProduct
Parent TIfcProduct, to be used with TCastleIfcMapping.ConnectShapeAndProduct call.

It can be Nil (and TCastleIfcMapping.ConnectShapeAndProduct is already prepared to handle it too) if no particular TIfcProduct is parent of this, which (right now) only happens for some internal usage in UpdateCrossSection for throw-away shape instances.

LitAppearance
Appearance that should be used for all shapes created here, if they are supposed to be lit (made of polygons). May be given as Nil.
UnlitAppearance
Appearance that should be used for all shapes created here, if they are supposed to be unlit (made of lines, points). May be given as Nil.

Properties

Published property LayerAssignment: TIfcPresentationLayerAssignment read FLayerAssignment write FLayerAssignment;

Assignment of the representation item to a single or multiple layer(s). Nil if none.

Published property StyledByItem: TIfcStyledItem read FStyledByItem write FStyledByItem;

Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve. Nil if none.


Generated by PasDoc 0.16.0-snapshot.