CFx SDK Documentation  2023 SP0
AECDbWindowStyle.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 __AECDBWINDOWSTYLE_H__
25 #define __AECDBWINDOWSTYLE_H__
26 
27 #include "AECArchBaseDefs.h"
29 
35 class AECARCHBASE_API AECDbWindowStyle : public AECDbDictRecord
36 {
38 
40 
41  public:
47 
52  void SetAutoAdjustToWidthOfWall( bool bAutoAdjust );
53 
57  double GetFrameWidth() const;
58 
62  void SetFrameWidth( double dFrameWidth );
63 
67  double GetFrameDepth() const;
68 
75  void SetFrameDepth( double dFrameDepth );
76 
80  double GetSashWidth() const;
81 
88  void SetSashWidth( double dSashWidth );
89 
93  double GetSashDepth() const;
94 
101  void SetSashDepth( double dSashDepth );
102 
106  double GetGlassThickness() const;
107 
114  void SetGlassThickness( double dGlassThickness );
115 
120 
124  void SetWindowType( AECDefs::WindowType eWindowType );
125 
130 
135 
141 
146  void SetProfile( const OdDbObjectId& idProfileDef );
147 
153 
158  void SetFrameMaterial( const OdDbObjectId& id );
159 
165 
170  void SetSashMaterial( const OdDbObjectId& id );
171 
177 
182  void SetGlassMaterial( const OdDbObjectId& id );
183 
189 
194  void SetMuntinsMaterial( const OdDbObjectId& id );
195 
198  bool IsButtGlazingAtCorner() const;
199 
202  void SetIsButtGlazingAtCorner(bool bButtGlazingAtCorner);
203 
206  double GetCornerFrameWidth() const;
207 
210  void SetCornerFrameWidth(double dCornerFrameWidth);
211 };
212 
214 
215 #endif //__AECDBWINDOWSTYLE_H__
OdSmartPtr< AECDbWindowStyle > AECDbWindowStylePtr
#define AEC_DICTIONARY_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:91
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
const OdDbObjectId & GetFrameMaterial() const
void SetWindowType(AECDefs::WindowType eWindowType)
void SetFrameWidth(double dFrameWidth)
void SetCornerFrameWidth(double dCornerFrameWidth)
const OdDbObjectId & GetMuntinsMaterial() const
void SetMuntinsMaterial(const OdDbObjectId &id)
const OdDbObjectId & GetGlassMaterial() const
const OdDbObjectId & GetSashMaterial() const
double GetCornerFrameWidth() const
void SetAutoAdjustToWidthOfWall(bool bAutoAdjust)
void SetFrameDepth(double dFrameDepth)
void SetWindowShape(AECDefs::Shape eShape)
void SetSashMaterial(const OdDbObjectId &id)
double GetSashDepth() const
void SetProfile(const OdDbObjectId &idProfileDef)
double GetSashWidth() const
void SetIsButtGlazingAtCorner(bool bButtGlazingAtCorner)
void SetFrameMaterial(const OdDbObjectId &id)
double GetFrameDepth() const
void SetSashDepth(double dSashDepth)
AECDefs::WindowType GetWindowType() const
AECDefs::Shape GetWindowShape() const
bool GetAutoAdjustToWidthOfWall() const
bool IsButtGlazingAtCorner() const
void SetGlassMaterial(const OdDbObjectId &id)
OdDbObjectId GetProfile() const
double GetGlassThickness() const
double GetFrameWidth() const
void SetSashWidth(double dSashWidth)
void SetGlassThickness(double dGlassThickness)