CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECDbRailing.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 __AECDBRAILING_H__
25#define __AECDBRAILING_H__
26
27#include "AECArchBaseDefs.h"
28#include "DbEntity/AECDbGeo.h"
34
36
42class AECARCHBASE_API AECDbRailing : public AECDbGeo
43{
45
47
48 public:
53
61
66
71
72 // Returns the array of fixed posts.
74
78 bool IsGuardrailPresent() const;
79
83 void SetIsGuardrailPresent( bool bPresent );
84
88 bool IsHandrailPresent() const;
89
93 void SetIsHandrailPresent( bool bPresent );
94
98 bool IsBottomrailPresent() const;
99
103 void SetIsBottomrailPresent( bool bPresent );
104
109
113 void SetIsFixedPostsPresent( bool bPresent );
114
119
123 void SetIsDynamicPostsPresent( bool bPresent );
124
128 bool IsBalustersPresent() const;
129
133 void SetIsBalustersPresent( bool bPresent );
134
139
143 void SetIsFixedPostsAtCornersPresent( bool bPresent );
144
149
153 void SetIsOverrideStairTreadLength( bool bOverride );
154
159
163 void SetGuardrailHorizontalHeight( double dHeight );
164
169
173 void SetGuardrailSlopingHeight( double dHeight );
174
179
183 void SetGuardrailOffsetFromPost( double dOffset );
184
189
194
199
203 void SetHandrailHorizontalHeight( double dHeight );
204
209
213 void SetHandrailSlopingHeight( double dHeight );
214
219
223 void SetHandrailOffsetFromPost( double dOffset );
224
229
234
239
243 void SetBottomrailHorizontalHeight( double dHeight );
244
249
253 void SetBottomrailSlopingHeight( double dHeight );
254
259
263 void SetBottomrailOffsetFromPost( double dOffset );
264
269
274
278 double GetBottomrailSpacing() const;
279
283 void SetBottomrailSpacing( double dSpacing );
284
289
294
299
303 void SetDynamicPostsMaxDistance( double dDistance );
304
309
313 void SetBalustersMaxDistance( double dDistance );
314
319
324
330
336
342
347
352
357
362
367
375 double GetTopExtension() const;
376
384 double GetBottomExtension() const;
385
390
394 void SetGuardrailEntireTopExtension( double dExtension );
395
400
404 void SetGuardrailEntireBottomExtension( double dExtension );
405
410
414 void SetGuardrailFlightTopExtension( double dExtension );
415
420
424 void SetGuardrailFlightBottomExtension( double dExtension );
425
430
434 void SetHandrailEntireTopExtension( double dExtension );
435
440
444 void SetHandrailEntireBottomExtension( double dExtension );
445
450
454 void SetHandrailFlightTopExtension( double dExtension );
455
460
464 void SetHandrailFlightBottomExtension( double dExtension );
465
470
475
480
485
490
495
500
505
510
515
520
525
530
535
540
545
550
555
560
565
566 public:
570 void AttachStairAnchor( const OdDbObjectId& idStair );
571
585 double GetRailOffset( double dInitialOffset,
586 AECDefs::RailingOffsetSide eSide ) const;
587
594 void GetPostLocations( std::vector<double>& aLocations ) const;
595
602 void GetFixedPostLocations( std::vector<double>& aLocations,
603 bool bIncludeHidden = false ) const;
604
611 void GetDynamicPostLocations( std::vector<double>& aLocations ) const;
612
618 void GetBalusterLocations( std::vector<double>& aLocations ) const;
619
624
634 bool Reverse();
635
636
638
639 public:
644 const OdDbObjectId& idRailingStyle );
645
646 protected:
650 virtual bool subCloneMeForDragging();
651};
652
653#endif //__AECDBRAILING_H__
OdSmartPtr< class AECDbRailing > AECDbRailingPtr
Definition: AECDbRailing.h:35
#define CURVE_DECLARE_MEMBERS()
Definition: AECMacros.h:34
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
unsigned short OdUInt16
void SetIsAddToGuardrailEntireBottomExtension(bool bAdd)
double GetBottomExtension() const
void SetIsHandrailPresent(bool bPresent)
bool IsHandrailPresent() const
void SetBottomrailCount(OdUInt16 iCount)
void SetGuardrailOffsetSide(AECDefs::RailingOffsetSide eSide)
void SetHandrailSlopingHeight(double dHeight)
void SetGuardrailFlightTopExtension(double dExtension)
void SetIsAddToHandrailFlightBottomExtension(bool bAdd)
AECDefs::RailingOffsetSide GetHandrailOffsetSide() const
void SetGuardrailHorizontalHeight(double dHeight)
void SetBottomrailOffsetSide(AECDefs::RailingOffsetSide eSide)
OdUInt16 GetBalustersPerTread() const
void SetIsFixedPostsAtCornersPresent(bool bPresent)
void SetHandrailHorizontalHeight(double dHeight)
AECRailingSubPtr GetHandrail() const
bool IsAddToHandrailFlightTopExtension() const
double GetHandrailSlopingHeight() const
void SetBottomrailSlopingHeight(double dHeight)
void SetIsAddToHandrailEntireBottomExtension(bool bAdd)
void SetHandrailEntireTopExtension(double dExtension)
double GetBottomrailSlopingHeight() const
void SetIsGuardrailPresent(bool bPresent)
void SetIsAddToGuardrailFlightTopExtension(bool bAdd)
bool IsAddToGuardrailFlightBottomExtension() const
void SetIsDynamicPostsPresent(bool bPresent)
void SetHandrailEntireBottomExtension(double dExtension)
void SetIsAddToHandrailFlightTopExtension(bool bAdd)
double GetRailOffset(double dInitialOffset, AECDefs::RailingOffsetSide eSide) const
double GetHandrailEntireBottomExtension() const
void SetBottomrailOffsetFromPost(double dOffset)
OdUInt16 GetBottomrailCount() const
double GetGuardrailHorizontalHeight() const
void SetGuardrailEntireTopExtension(double dExtension)
AECRailingPostSubPtr GetLastFixedPost() const
void SetBalustersPerTread(OdUInt16 iBaluster)
double GetHandrailOffsetFromPost() const
AECRailingLowerProfileSubPtr GetBalusterProfile() const
bool Reverse()
double GetOriginalContourLength()
double GetGuardrailSlopingHeight() const
bool IsDynamicPostsPresent() const
bool IsFixedPostsAtCornersPresent() const
AECImpArraySubPtr GetPosts() const
void SetBottomrailHorizontalHeight(double dHeight)
void SetIsUseStairLandingExtensionsAtFloors(bool bUse)
void SetHandrailOffsetFromPost(double dOffset)
double GetGuardrailEntireTopExtension() const
double GetTopExtension() const
double GetBalustersMaxDistance() const
void SetHandrailFlightBottomExtension(double dExtension)
AECDefs::RailingOffsetSide GetBottomrailOffsetSide() const
double GetGuardrailFlightTopExtension() const
void RedistributePosts()
void SetGuardrailOffsetFromPost(double dOffset)
void SetIsUseStairLandingExtensionsAtFlights(bool bUse)
void GetFixedPostLocations(std::vector< double > &aLocations, bool bIncludeHidden=false) const
AECRailingPostSubPtr GetFixedPost() const
void GetPostLocations(std::vector< double > &aLocations) const
double GetHandrailEntireTopExtension() const
void SetHandrailOffsetSide(AECDefs::RailingOffsetSide eSide)
void SetIsFixedPostsPresent(bool bPresent)
bool IsAddToHandrailEntireBottomExtension() const
double GetGuardrailOffsetFromPost() const
double GetDynamicPostsMaxDistance() const
double GetHandrailHorizontalHeight() const
AECRailingPostSubPtr GetDynamicPost() const
double GetBottomrailSpacing() const
bool IsFixedPostsPresent() const
double GetBottomrailHorizontalHeight() const
double GetGuardrailEntireBottomExtension() const
double GetBottomrailOffsetFromPost() const
void GetDynamicPostLocations(std::vector< double > &aLocations) const
void SetIsBalustersPresent(bool bPresent)
bool IsBottomrailPresent() const
bool IsAddToGuardrailFlightTopExtension() const
double GetHandrailFlightBottomExtension() const
void SetBottomrailSpacing(double dSpacing)
bool IsAddToHandrailFlightBottomExtension() const
bool IsAddToGuardrailEntireTopExtension() const
virtual bool subCloneMeForDragging()
double GetGuardrailFlightBottomExtension() const
void SetGuardrailEntireBottomExtension(double dExtension)
void SetDynamicPostsMaxDistance(double dDistance)
void SetIsAddToGuardrailEntireTopExtension(bool bAdd)
AECBalusterSubPtr GetBaluster() const
bool IsAddToGuardrailEntireBottomExtension() const
OdUInt32 GetPostCount() const
AECDefs::RailingOffsetSide GetGuardrailOffsetSide() const
bool IsUseStairLandingExtensionsAtFlights() const
AECRailingSubPtr GetBottomrail() const
AECRailingPostSubPtr GetFirstFixedPost() const
void SetGuardrailFlightBottomExtension(double dExtension)
bool IsGuardrailPresent() const
void SetHandrailFlightTopExtension(double dExtension)
void SetBalustersMaxDistance(double dDistance)
static AECDbRailingPtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idRailingStyle)
bool IsUseStairLandingExtensionsAtFloors() const
AECRailingSubPtr GetGuardrail() const
double GetHandrailFlightTopExtension() const
AECImpRailingPostDefSubPtr GetPostByIndex(OdUInt32 iIndex) const
void SetIsAddToGuardrailFlightBottomExtension(bool bAdd)
AECRailingLowerProfileSubPtr GetLowerProfile() const
void SetGuardrailSlopingHeight(double dHeight)
void SetIsAddToHandrailEntireTopExtension(bool bAdd)
bool IsOverrideStairTreadLength() const
void SetIsOverrideStairTreadLength(bool bOverride)
bool IsBalustersPresent() const
void GetBalusterLocations(std::vector< double > &aLocations) const
void SetIsBottomrailPresent(bool bPresent)
bool IsAddToHandrailEntireTopExtension() const
void AttachStairAnchor(const OdDbObjectId &idStair)