CFx SDK Documentation  2023 SP0
AECWallCompOverride.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 #ifndef __AECIMP_WALL_COMPONENT_OVERRIDE__H__
24 #define __AECIMP_WALL_COMPONENT_OVERRIDE__H__
25 
26 #include "Subobjects/AECImpObj.h"
30 #include "BoolArray.h"
31 #include "DoubleArray.h"
33 
38 class AECARCHBASE_API AECWallCompOverride : public AECImpObj
39 {
40  // Contains common declarations from OdRxObject interface
41  // and AEC specific fields and methods such as object version information.
43 public:
44 
48  enum FaceType
49  {
50  kLeftFace = 0,
51  kRightFace = 1,
52  kBothFaces = 2,
53  };
54 
59 
64 
69 
74 
79 
84 
90 
95 
100 
105 
110 
115 
120 
125 
129  void setEditAtEnd(OdBool val);
130 
135 
139  void setRefAngle(OdDouble angle);
140 
141 private:
142 
143  OdUInt16 m_iWallStyleComp;
144 
147  FaceType m_eAppliedToFace;
148 
149  OdUInt16 m_i3;
150 
151  OdBool m_b1;
152  OdBool m_b2;
153 
154  OdInt32 m_i4;
155  OdInt32 m_i5;
156 
157  OdGePoint2d m_pnt2d1;
158 
159  OdDouble m_dRefAngle;
160 
161  OdBool m_bEditAtStart;
162  OdBool m_bEditAtEnd;
163  OdBool m_b5;
164  OdBool m_b6;
165 
166  OdInt32 m_iWCOIndex;
167 
168  OdGePoint2d m_pntRef;
169 
170  AECAnchorToCurveXPtr m_pAnchorToCurveX;
171  AECAnchorToCurveYPtr m_pAnchorToCurveY;
172 
173  AECWallElevPtr m_pWallElev1;
174  AECWallElevPtr m_pWallElev2;
175 
176  AECGePolyline2dPtr m_pPolyline2d;
177 
178  OdBool m_b7;
179  OdBool m_b8;
180 
181 };
182 
183 
186 
187 #endif // __AECIMP_WALL_COMPONENT_OVERRIDE__H__
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
AECSubPtr< AECWallCompOverride > AECWallCompOverrideSubPtr
OdSmartPtr< AECWallCompOverride > AECWallCompOverridePtr
bool OdBool
Definition: BoolArray.h:31
double OdDouble
Definition: DoubleArray.h:31
unsigned short OdUInt16
int OdInt32
OdResult
Definition: OdResult.h:29
OdGePoint2d refPoint() const
OdDouble getRefAngle()
void setEditAtEnd(OdBool val)
FaceType appliedToFaces() const
AECWallElevPtr endElevation()
AECWallElevPtr startElevation()
OdBool isEditAtStart() const
AECAnchorToCurveXPtr xPos()
AECAnchorToCurveYPtr yPos()
OdResult setRefPoint(const OdGePoint2d &pnt)
OdBool isEditAtEnd() const
OdResult setAppliedToFaces(FaceType ft)
void setEditAtStart(OdBool val)
OdInt32 componentIndex() const
AECGePolyline2dPtr polyline()
OdResult setComponentIndex(OdUInt16 index)
void setRefAngle(OdDouble angle)
GLuint index
Definition: gles2_ext.h:265