#include <IfcModelContext.h>
A class that implements working with an IFC model context.
Definition at line 39 of file IfcModelContext.h.
◆ OdIfcModelContext()
Creates a new model context object with specified deviation parameters and color.
- Parameters
-
| params | [in] Deviation parameters. |
| color | [in] Default model color value. |
◆ getComposeOutOfSpatialStructure()
| bool OdIfcModelContext::getComposeOutOfSpatialStructure |
( |
| ) |
const |
Retrieves a value that determines if compose of IfcElement instances which out of IFC model Spatial Structure needed or not.
- Returns
- true if compose of out of spatial structure IfcElements is needed, otherwise returns false.
◆ getDrawOpenings()
| bool OdIfcModelContext::getDrawOpenings |
( |
| ) |
|
Retrieves a value that determines if draw IfcOpenings elements needed or not.
- Returns
- true if draw IfcOpenings elements is needed, otherwise returns false.
◆ getDrawOpeningsTransparency()
| float OdIfcModelContext::getDrawOpeningsTransparency |
( |
| ) |
|
Retrieves a value that determines transparency value for openings.
- Returns
- Float value that determines currwnt transparency for openings that should be draw.
◆ getGeometryComposeTypes()
Retrieves an array of types which instances should participate in geometry compose process.
- Returns
- an array of IFC entity types for geometry compose.
◆ setComposeOutOfSpatialStructure()
| void OdIfcModelContext::setComposeOutOfSpatialStructure |
( |
bool | val | ) |
|
Sets a value that determines if compose of IfcElement instances which out of IFC model spatial structure needed or not.
- Parameters
-
| val | [in] a new value for compose IfcElement instance which are out of spatial structure. |
◆ setDrawOpenings()
| void OdIfcModelContext::setDrawOpenings |
( |
bool | val | ) |
|
Sets a value that determines if draw IfcOpenings elements needed or not.
- Parameters
-
| val | [in] a new value for draw IfcOpenings elements. |
◆ setDrawOpeningsTransparency()
| void OdIfcModelContext::setDrawOpeningsTransparency |
( |
float | val | ) |
|
Sets a value that determines transparency value for openings that should be draw.
- Parameters
-
| val | [in] a new value for transparency. |
◆ setGeometryComposeTypes()
Sets an array of types which instances should participate in geometry compose process to this IFC model context.
- Parameters
-
| geometryComposeTypes | [in] an array of IFC entity types for geometry compose. |
The documentation for this class was generated from the following file: