CFx SDK Documentation  2023 SP0
AECDbStairStyle.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 __AECDBSTAIRSTYLE_H__
25 #define __AECDBSTAIRSTYLE_H__
26 
28 #include "AECArchBaseDefs.h"
29 
30 class AECStairCompDef;
33 
39 class AECARCHBASE_API AECDbStairStyle : public AECDbDictRecord
40 {
42 
44 
45  public:
49  bool IsAllowVaryComponents() const;
50 
54  void SetIsAllowVaryComponents( bool bAllow );
55 
59  bool IsDisplayRisers() const;
60 
64  void SetIsDisplayRisers( bool bDisplay );
65 
69  bool IsDisplayTreads() const;
70 
74  void SetIsDisplayTreads( bool bDisplay );
75 
79  double GetTreadThickness() const;
80 
84  void SetTreadThickness( double dThickness );
85 
89  double GetRiserThickness() const;
90 
94  void SetRiserThickness( double dThickness );
95 
99  double GetLandingThickness() const;
100 
104  void SetLandingThickness( double dThickness );
105 
109  double GetAdditionalWidth() const;
110 
114  void SetAdditionalWidth( double dWidth );
115 
119  double GetNosingLength() const;
120 
124  void SetNosingLength( double dLength );
125 
129  bool IsSlopingRisers() const;
130 
134  void SetIsSlopingRisers( bool bSloping );
135 
140 
144  void SetIsAllowVaryLandingExtensions( bool bAllow );
145 
150 
154  void SetDistanceToFirstTreadUp( double dDistance );
155 
160 
164  void SetDistanceToFirstTreadDown( double dDistance );
165 
169  bool IsAddTreadDepthUp() const;
170 
174  void SetIsAddTreadDepthUp( bool bAdd );
175 
179  bool IsAddTreadDepthDown() const;
180 
184  void SetIsAddTreadDepthDown( bool bAdd );
185 
189  double GetLandingLength() const;
190 
194  void SetLandingLength( double dLength );
195 
200 
205 
211 
216  void SetIsExtendToMergeStringers( bool bExtend );
217 
223 
229 
234 
239 
244 
250 
255  void SetIsUseRuleBasedCalculator( bool bUse );
256 
260  double GetRuleMinLimit() const;
261 
265  void SetRuleMinLimit( double dLimit );
266 
270  double GetRuleMaxLimit() const;
271 
275  void SetRuleMaxLimit( double dLimit );
276 
280  double GetRiserHeightMult() const;
281 
285  void SetRiserHeightMult( double dMult );
286 
290  double GetTreadDepthMult() const;
291 
295  void SetTreadDepthMult( double dMult );
296 
302 
307  void SetTreadMaterial( const OdDbObjectId& id );
308 
314 
319  void SetRiserMaterial( const OdDbObjectId& id );
320 
326 
331  void SetLandingMaterial( const OdDbObjectId& id );
332 
336  double GetMinSlopeRiserHeight() const;
337 
341  void SetMinSlopeRiserHeight( double dHeight );
342 
346  double GetOptSlopeRiserHeight() const;
347 
351  void SetOptSlopeRiserHeight( double dHeight );
352 
356  double GetMaxSlopeRiserHeight() const;
357 
361  void SetMaxSlopeRiserHeight( double dHeight );
362 
367  double GetMinSlopeTreadDepth() const;
368 
372  void SetMinSlopeTreadDepth( double dDepth );
373 
377  double GetOptSlopeTreadDepth() const;
378 
382  void SetOptSlopeTreadDepth( double dDepth );
383 
388  double GetMaxSlopeTreadDepth() const;
389 
393  void SetMaxSlopeTreadDepth( double dDepth );
394 };
395 
397 
398 #endif // __AECDBSTAIRSTYLE_H__
OdSmartPtr< AECStairCompDef > AECStairCompDefPtr
OdSmartPtr< AECDbStairStyle > AECDbStairStylePtr
AECSubPtr< AECStairCompDef > AECStairCompDefSubPtr
#define AEC_DICTIONARY_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:91
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
void SetMinSlopeTreadDepth(double dDepth)
bool IsAllowVaryComponents() const
void SetIsExtendToPreventRisersSittingUnderLandings(bool bExtend)
double GetMinSlopeTreadDepth() const
AECStairCompDefSubPtr GetComponentByIndex(OdUInt32 iIndex) const
void SetMaxSlopeTreadDepth(double dDepth)
const OdDbObjectId & GetTreadMaterial() const
void SetLandingLocation(AECDefs::StairLandingLocation eLocation)
double GetMinSlopeRiserHeight() const
double GetDistanceToFirstTreadUp() const
void SetOptSlopeRiserHeight(double dHeight)
double GetOptSlopeRiserHeight() const
void SetRuleMinLimit(double dLimit)
void SetNosingLength(double dLength)
AECImpArraySubPtr GetComponents() const
void SetMinSlopeRiserHeight(double dHeight)
bool IsSlopingRisers() const
double GetLandingLength() const
void SetIsDisplayRisers(bool bDisplay)
void SetIsAllowVaryComponents(bool bAllow)
const OdDbObjectId & GetRiserMaterial() const
double GetLandingThickness() const
bool IsExtendToMergeStringers() const
const OdDbObjectId & GetLandingMaterial() const
bool IsAddTreadDepthUp() const
bool IsExtendToPreventRisersSittingUnderLandings() const
void SetLandingThickness(double dThickness)
double GetTreadThickness() const
void SetLandingMaterial(const OdDbObjectId &id)
void SetRuleMaxLimit(double dLimit)
OdUInt32 GetComponentCount() const
void SetTreadMaterial(const OdDbObjectId &id)
double GetTreadDepthMult() const
bool IsDisplayRisers() const
double GetRiserHeightMult() const
void SetMaxSlopeRiserHeight(double dHeight)
double GetRiserThickness() const
double GetMaxSlopeTreadDepth() const
void SetIsExtendToMergeStringers(bool bExtend)
void SetTreadThickness(double dThickness)
bool IsUseRuleBasedCalculator() const
void SetIsDisplayTreads(bool bDisplay)
double GetAdditionalWidth() const
double GetNosingLength() const
void SetLandingLength(double dLength)
double GetMaxSlopeRiserHeight() const
void SetIsSlopingRisers(bool bSloping)
void SetTreadDepthMult(double dMult)
double GetOptSlopeTreadDepth() const
bool IsAddTreadDepthDown() const
double GetRuleMaxLimit() const
void SetIsUseRuleBasedCalculator(bool bUse)
void SetIsAllowVaryLandingExtensions(bool bAllow)
void SetRiserMaterial(const OdDbObjectId &id)
double GetRuleMinLimit() const
double GetDistanceToFirstTreadDown() const
AECDefs::StairLandingLocation GetLandingLocation() const
void SetRiserThickness(double dThickness)
bool IsAllowVaryLandingExtensions() const
void SetIsAddTreadDepthUp(bool bAdd)
bool IsDisplayTreads() const
void SetIsAddTreadDepthDown(bool bAdd)
void SetAdditionalWidth(double dWidth)
void SetRiserHeightMult(double dMult)
void SetDistanceToFirstTreadDown(double dDistance)
void SetDistanceToFirstTreadUp(double dDistance)
void SetOptSlopeTreadDepth(double dDepth)