CFx SDK Documentation  2023 SP0
AECDbSlabStyle.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 __AECDBSLABSTYLE_H__
25 #define __AECDBSLABSTYLE_H__
26 
28 #include <Ge/GeInterval.h>
29 
35 class AECARCHBASE_API AECDbSlabStyle : public AECDbDictRecord
36 {
38 
40 
41  public:
48  bool GetPerimeterEdgeStyle( OdDbObjectId& idSlabEdgeStyle ) const;
49 
53  void SetPerimeterEdgeStyle( const OdDbObjectId& idSlabEdgeStyle );
54 
58  void SetPerimeterEdgeStyleUsed( bool bUsed );
59 
60  // Returns Object ID of the default edge style for internal edges.
61  // The return value indicates if this default style should be used.
62  bool GetInternalEdgeStyle( OdDbObjectId& idSlabEdgeStyle ) const;
63 
64  // Sets Object ID of edge style for internal edges.
65  void SetInternalEdgeStyle( const OdDbObjectId& idSlabEdgeStyle );
66 
67  // Sets whether internal edge style should be used.
68  void SetInternalEdgeStyleUsed( bool bUsed );
69 
76  bool GetThickness( double& dThickness ) const;
77 
81  void SetThickness( double dThickness );
82 
86  void SetThicknessUsed( bool bUsed );
87 
94  bool GetVerticalOffset( double& dVerticalOffset ) const;
95 
99  void SetVerticalOffset( double dVerticalOffset );
100 
104  void SetVerticalOffsetUsed( bool bUsed );
105 
112  bool GetHorizontalOffset( double& dHorizontalOffset ) const;
113 
117  void SetHorizontalOffset( double dHorizontalOffset );
118 
122  void SetHorizontalOffsetUsed( bool bUsed );
123 
130  bool GetSlopeAngle( double& dSlopeAngle ) const;
131 
135  void SetSlopeAngle( double dSlopeAngle );
136 
140  void SetSlopeAngleUsed( bool bUsed );
141 
149 
157 
162 
171  OdGeInterval GetRealThickness( double dBaseThickness ) const;
172 };
173 
175 
176 #endif //__AECDBSLABSTYLE_H__
OdSmartPtr< AECDbSlabStyle > AECDbSlabStylePtr
#define AEC_DICTIONARY_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:91
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
bool GetVerticalOffset(double &dVerticalOffset) const
void SetVerticalOffsetUsed(bool bUsed)
void SetInternalEdgeStyle(const OdDbObjectId &idSlabEdgeStyle)
void SetHorizontalOffset(double dHorizontalOffset)
const OdDbObjectId & GetShrinkwrapMaterial() const
void SetVerticalOffset(double dVerticalOffset)
void SetShrinkwrapMaterial(const OdDbObjectId &id)
void SetThicknessUsed(bool bUsed)
OdGeInterval GetRealThickness(double dBaseThickness) const
void SetSlopeAngleUsed(bool bUsed)
void SetPerimeterEdgeStyleUsed(bool bUsed)
bool GetPerimeterEdgeStyle(OdDbObjectId &idSlabEdgeStyle) const
bool GetHorizontalOffset(double &dHorizontalOffset) const
void SetHorizontalOffsetUsed(bool bUsed)
bool GetThickness(double &dThickness) const
bool GetInternalEdgeStyle(OdDbObjectId &idSlabEdgeStyle) const
void SetInternalEdgeStyleUsed(bool bUsed)
bool GetSlopeAngle(double &dSlopeAngle) const
void SetThickness(double dThickness)
void SetSlopeAngle(double dSlopeAngle)
AECImpArraySubPtr GetComponents() const
void SetPerimeterEdgeStyle(const OdDbObjectId &idSlabEdgeStyle)