CFx SDK Documentation  2023 SP0
AECRailingVerticalComponent.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 __AECRAILINGVERTICALCOMPONENT_H__
25 #define __AECRAILINGVERTICALCOMPONENT_H__
26 
27 #include "Subobjects/AECImpObj.h"
28 #include "AECArchBaseDefs.h"
29 
33 namespace FacetModeler { class Profile2D; }
34 
40 class AECARCHBASE_API AECRailingVerticalComponent : public AECImpObj
41 {
43 
44  public:
49 
54 
59 
64 
69 
74 
78  double GetWidth() const;
79 
83  void SetWidth( double dWidth );
84 
88  double GetDepth() const;
89 
93  void SetDepth( double dDepth );
94 
98  double GetRotation() const;
99 
103  void SetRotation( double dRotation );
104 
108  double GetTopExtension() const;
109 
113  void SetTopExtension( double dExtension );
114 
118  double GetBottomExtension() const;
119 
123  void SetBottomExtension( double dExtension );
124 
129 
133  void SetProfile( const OdDbObjectId& idProfile );
134 
135  // Returns the Object ID of the material definition
136  // (AECDbMaterialDef) for rail.
137  const OdDbObjectId& GetMaterial() const;
138 
139  // Sets the Object ID of the material definition
140  // (AECDbMaterialDef) for rail.
141  void SetMaterial( const OdDbObjectId& id );
142 
149  void GetBaseProfile( FacetModeler::Profile2D& cProfile ) const;
150 
151  protected:
152  // Implementation object.
154 };
155 
158 
159 #endif // __AECRAILINGVERTICALCOMPONENT_H__
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdSmartPtr< AECRailingVerticalComponent > AECRailingVerticalComponentPtr
AECSubPtr< AECRailingVerticalComponent > AECRailingVerticalComponentSubPtr
AECDefs::RailingProfileScaling GetProfileScaling() const
OdDbObjectId GetProfile() const
void SetJustification(AECDefs::RailingJustification eJustification)
void SetTopExtension(double dExtension)
void GetBaseProfile(FacetModeler::Profile2D &cProfile) const
double GetBottomExtension() const
void SetWidth(double dWidth)
void SetBottomExtension(double dExtension)
double GetTopExtension() const
void SetMaterial(const OdDbObjectId &id)
void SetProfileType(AECDefs::RailingProfile eType)
void SetRotation(double dRotation)
void SetProfile(const OdDbObjectId &idProfile)
AECDefs::RailingProfile GetProfileType() const
AECDefs::RailingJustification GetJustification() const
void SetProfileScaling(AECDefs::RailingProfileScaling eType)
void SetDepth(double dDepth)
const OdDbObjectId & GetMaterial() const