CFx SDK Documentation  2020SP3
IfcGsManager.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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-2019 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 #ifndef _IFC_GSMANAGER_H_
25 #define _IFC_GSMANAGER_H_
26 
27 #include "IfcBuildOptions.h"
28 
29 class OdDAIObjectId;
30 class OdIfcFile;
32 
33 #include "Gs/Gs.h"
34 
39 {
40 public:
41  //DOM-IGNORE-BEGIN
43  //DOM-IGNORE-END
44 
49  virtual OdDAIObjectId layoutId() const = 0;
50 
55  virtual OdGsViewPtr activeView() const = 0;
56 
61  virtual void makeViewActive(OdGsView* pView) = 0;
62 
67  virtual OdGsModel* gsModel() = 0;
68 
73  virtual OdGsDevicePtr underlyingDevice() const = 0;
74 
80  virtual bool setActiveViewport(const OdGePoint2d& screenPt) = 0;
81 
87  virtual bool setActiveViewport(const OdDAIObjectId& id) = 0;
88 
92  virtual void restoreGsViewDbLinkState() = 0;
93 };
94 
99 
108 {
109 public:
110  //DOM-IGNORE-BEGIN
112  //DOM-IGNORE-END
113 };
114 
119 
120 
124 namespace OdIfcGsManager
125 {
134 
135 //DOM-IGNORE-BEGIN
145 //DOM-IGNORE-END
146 //IFCCORE_EXPORT OdGsIfcLayoutHelperPtr setupLayoutViews(OdIfc::OdIfcRepresentationContextPtr layoutId, OdGsDevice* pDevice,
147 // OdGiContextForIfcDatabase* pGiCtx);
148 
157  OdDbStub* layoutId = 0, ODCOLORREF palBackground = ODRGBA(0, 0, 0, 0));
158 }
159 
160 #endif // _IFC_GSMANAGER_H_
161 
OdGsIfcModelHelperPtr
OdSmartPtr< OdGsIfcModelHelper > OdGsIfcModelHelperPtr
Definition: IfcGsManager.h:118
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition: IfcBuildOptions.h:28
OdGsIfcLayoutHelper::makeViewActive
virtual void makeViewActive(OdGsView *pView)=0
OdGsView
Definition: Gs.h:133
OdDAIObjectId
Definition: daiObjectId.h:67
OdGsIfcLayoutHelper::setActiveViewport
virtual bool setActiveViewport(const OdDAIObjectId &id)=0
OdGsIfcLayoutHelper::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGsIfcLayoutHelper)
OdGsIfcLayoutHelperPtr
OdSmartPtr< OdGsIfcLayoutHelper > OdGsIfcLayoutHelperPtr
Definition: IfcGsManager.h:98
OdGsDevice
Definition: Gs.h:1061
OdIfcGsManager::setupActiveLayoutViews
IFCCORE_EXPORT OdGsIfcLayoutHelperPtr setupActiveLayoutViews(OdDAIObjectId reprContextId, OdGsDevice *pDevice, OdGiContextForIfcDatabase *pGiCtx)
OdGsIfcLayoutHelper::underlyingDevice
virtual OdGsDevicePtr underlyingDevice() const =0
OdGsIfcModelHelper
Definition: IfcGsManager.h:108
OdGsIfcLayoutHelper::layoutId
virtual OdDAIObjectId layoutId() const =0
OdGsIfcModelHelper::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGsIfcModelHelper)
OdSmartPtr
Definition: SmartPtr.h:58
Gs.h
OdIfcGsManager
Definition: IfcGsManager.h:125
OdGsIfcLayoutHelper::activeView
virtual OdGsViewPtr activeView() const =0
OdGiContextForIfcDatabase
Definition: IfcGiContext.h:47
ODRGBA
#define ODRGBA(r, g, b, a)
Definition: OdPlatform.h:885
OdGsIfcLayoutHelper::setActiveViewport
virtual bool setActiveViewport(const OdGePoint2d &screenPt)=0
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
OdIfcGsManager::setupPalette
IFCCORE_EXPORT void setupPalette(OdGsDevice *device, OdGiContextForIfcDatabase *giContext, OdDbStub *layoutId=0, ODCOLORREF palBackground=ODRGBA(0, 0, 0, 0))
OdGsModel
Definition: GsModel.h:77
OdGsIfcLayoutHelper
Definition: IfcGsManager.h:39
OdGsIfcLayoutHelper::gsModel
virtual OdGsModel * gsModel()=0
IfcBuildOptions.h
OdGsIfcLayoutHelper::restoreGsViewDbLinkState
virtual void restoreGsViewDbLinkState()=0
OdGePoint2d
Definition: GePoint2d.h:60