CFx SDK Documentation  2023 SP0
AECDimChainDisplay.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 __AECDIMCHAINDISPLAY_H__
25 #define __AECDIMCHAINDISPLAY_H__
26 
27 #include "AECArchDACHBase.h"
28 
34 class AECARCHDACHBASE_API AECDimChainDisplay
35 {
36  public:
41 
46 
51 
52  public:
56  enum Setting
57  {
58  ldpWallOverall, // ldpdOff, ldpdOn
59  ldpWallLength, // ldpdOff, ldpdWallOverall, ldpdWallLength
60  ldpWallWidth, // ldpdOff, ldpdWallWidth, ldpdWallComponents, ldpdWallComponentsFromStyle, ldpdWallStructuralComponentsFromStyle, ldpdWallCenterOfComponents
61  ldpWallIntersections, // ldpdOff, ldpdOn
62 
63  ldpInWallOpeningMaxWidth, // ldpdOff, ldpdOn
64  ldpInWallOpeningMinWidth, // ldpdOff, ldpdOn
65  ldpInWallOpeningCenter, // ldpdOff, ldpdOn
66 
67  ldpMassElementOverall, // ldpdOff, ldpdOn
68  ldpMassElementBoundingBox, // ldpdOff, ldpdOn
69  ldpMassElementEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
70  ldpMassElementCenter, // ldpdOff, ldpdOn
71 
72  ldpCurtainWallOverall, // ldpdOff, ldpdOn
73  ldpCurtainWallBoundingBox, // ldpdOff, ldpdOn
74  ldpCurtainWallEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
75  ldpCurtainWallCenter, // ldpdOff, ldpdOn
76 
77  ldpWindowAssemblyOverall, // ldpdOff, ldpdOn
78  ldpWindowAssemblyBoundingBox, // ldpdOff, ldpdOn
79  ldpWindowAssemblyEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
80  ldpWindowAssemblyCenter, // ldpdOff, ldpdOn
81 
82  ldpStructuralMemberOverall, // ldpdOff, ldpdOn
83  ldpStructuralMemberBoundingBox, // ldpdOff, ldpdOn
84  ldpStructuralMemberEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
85  ldpStructuralMemberCenter, // ldpdOff, ldpdOn
86 
87  ldpStandaloneOpeningOverall, // ldpdOff, ldpdOn
88  ldpStandaloneOpeningBoundingBox, // ldpdOff, ldpdOn
89  ldpStandaloneOpeningEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
90  ldpStandaloneOpeningCenter, // ldpdOff, ldpdOn
91 
92  ldpOtherOverall, // ldpdOff, ldpdOn
93  ldpOtherBoundingBox, // ldpdOff, ldpdOn
94  ldpOtherEdges, // ldpdOff, ldpdEdgesAll, ldpdEdgesFacingSides
95  ldpOtherCenter, // ldpdOff, ldpdOn
96 
97  ldpLayoutGrid2dOverall, // ldpdOff, ldpdOn
98  ldpLayoutGrid2dBoundingBox, // ldpdOff, ldpdOn
99  ldpLayoutGrid2dAllGridLines, // ldpdOff, ldpdOn
100 
101  ldpAcEntityOverall, // ldpdOff, ldpdOn
102  ldpAcEntityEndpoints, // ldpdOff, ldpdOn
103  ldpAcEntityMidpoints, // ldpdOff, ldpdOn
104  ldpAcEntityCenter, // ldpdOff, ldpdOn
105  ldpAcEntityQuadrant, // ldpdOff, ldpdOn
106  };
107 
112  {
123  ldpdWallCenterOfComponents
124  };
125 
126  public:
130  double chainOffset() const;
131 
135  void setChainOffset( double dOffset );
136 
140  SettingValue setting( Setting eSetting ) const;
141 
145  void setSetting( Setting eSetting, SettingValue eValue );
146 
151 
152  protected:
153  //
155 
156  //
157  std::map<Setting,SettingValue> m_mapSettingMap;
158 };
159 
160 #endif // __AECDIMCHAINDISPLAY_H__
SettingValue setting(Setting eSetting) const
std::map< Setting, SettingValue > m_mapSettingMap
void setChainOffset(double dOffset)
AECDimChainDisplay(const AECDimChainDisplay &rChain)
void setSetting(Setting eSetting, SettingValue eValue)
double chainOffset() const