CFx SDK Documentation  2023 SP0
AECSDbMember.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 __AECSDBMEMBER_H__
25 #define __AECSDBMEMBER_H__
26 
27 #include "AECStructureBaseDefs.h"
28 #include "Modeler/FMMdlBody.h"
33 
34 class OdGeExtents2d;
35 class AECSDbMember;
37 
43 class AECSTRUCTUREBASE_API AECSDbMember : public AECDbLayoutTool
44 {
46 
48 
49  public:
54 
59 
64 
68  double GetStartOffset() const;
69 
73  void SetStartOffset( double dOffset );
74 
78  double GetEndOffset() const;
79 
83  void SetEndOffset( double dOffset );
84 
89 
97 
102 
107 
115 
120 
128 
133 
138 
142  bool IsOverallExtents() const;
143 
147  void SetIsOverallExtents( bool bOverall );
148 
154 
159 
167  const OdDbObjectId& idMemberStyle );
168 
169  public:
173  virtual OdUInt32 GetLayoutNodeCount() const;
174 
178  virtual OdUInt32 GetLayoutNodeIndex( OdUInt32 iPos ) const;
179 
184 };
185 
186 #endif // __AECSDBMEMBER_H__
#define CURVE_DECLARE_MEMBERS()
Definition: AECMacros.h:34
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdSmartPtr< AECSDbMember > AECSDbMemberPtr
Definition: AECSDbMember.h:35
unsigned int OdUInt32
double GetEndOffset() const
AECDefs::MemberType GetType() const
static AECSDbMemberPtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idMemberStyle)
void SetJustification(AECDefs::MemberJustification eJustification)
AECGePolyline2dSubPtr GetPath() const
void SetType(AECDefs::MemberType eType)
FacetModeler::Body GetComponentBody(OdUInt32 iIndex, AECDefs::MemberDetalization eDetalization)
void SetStartOffset(double dOffset)
AECImpArraySubPtr GetInterferences() const
double GetStartOffset() const
void SetEndOffset(double dOffset)
virtual OdUInt32 GetLayoutNodeCount() const
AECSTrimPlaneSubPtr GetTrimPlaneByIndex(OdUInt32 iIndex) const
OdGeVector2d GetAdjustment(OdGeExtents2d &extExtents) const
bool IsOverallExtents() const
OdUInt32 GetInterferenceCount() const
AECImpArraySubPtr GetBodyModifiers() const
AECImpArraySubPtr GetTrimPlanes() const
void SetIsOverallExtents(bool bOverall)
OdUInt32 GetTrimPlaneCount() const
AECDefs::MemberJustification GetJustification() const
virtual OdUInt32 GetLayoutNodeIndex(OdUInt32 iPos) const
AECSMemberInterferenceSubPtr GetInterferenceByIndex(OdUInt32 iIndex) const
virtual OdGeMatrix3d GetLayoutNodeTransform(OdUInt32 iPos) const