CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcModelContext.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24// IfcModelContext.h: interface for the OdIfcModelContext class.
25//
27
28#ifndef _IFC_MODEL_CONTEXT_H
29#define _IFC_MODEL_CONTEXT_H
30
31#include "IfcBuildOptions.h"
32#include "IfcEntityTypes.h"
33#include "daiDeviationParams.h"
34#include "daiStepModelContext.h"
35
39 class IFCCORE_EXPORT OdIfcModelContext final : public OdStepModelContext
40 {
41 public:
42
48 OdIfcModelContext(OdDeviationParams params = OdDeviationParams(), OdCmEntityColor color = OdCmEntityColor::kNone);
49
57
65
70 void setDrawOpenings(bool val);
71
79
85
93
101
107
108//DOM-IGNORE-BEGIN
109 private:
110 OdArray<OdIfc::OdIfcEntityType> m_composeTypes;
111 bool m_bComposeOutOfSpatialStructure;
112 bool m_drawOpenings;
113 float m_drawOpeningsTransparency;
114//DOM-IGNORE-END
115 };
116
121
122#endif // _IFC_MODEL_CONTEXT_H
#define IFCCORE_EXPORT
OdSharedPtr< OdIfcModelContext > OdIfcModelContextPtr
void setDrawOpenings(bool val)
OdArray< OdIfc::OdIfcEntityType > & getGeometryComposeTypes()
OdIfcModelContext(OdDeviationParams params=OdDeviationParams(), OdCmEntityColor color=OdCmEntityColor::kNone)
void setComposeOutOfSpatialStructure(bool val)
float getDrawOpeningsTransparency()
void setDrawOpeningsTransparency(float val)
bool getComposeOutOfSpatialStructure() const
void setGeometryComposeTypes(const OdArray< OdIfc::OdIfcEntityType > &geometryComposeTypes)
GLenum GLint * params
Definition gles2_ext.h:184