CFx SDK Documentation  2022 SP0
DbViewRepDetailDefinition.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 OD_VIEWREPDETAILDEFINITION_H
25 #define OD_VIEWREPDETAILDEFINITION_H
26 
27 #include "DbObject.h"
28 #include "ModelDocObjExports.h"
29 #include "DbViewRepCutDefinition.h"
30 
31 #include "TD_PackPush.h"
32 
39 {
40 public:
44 
45  enum FenceType
46  {
47  FT_RECTANGULAR = 1,
48  FT_CIRCULAR = 2
49  };
50 
51  enum EdgeType
52  {
53  ET_SMOOTH = 0,
54  ET_JAGGED = 1,
55  ET_SMOOTH_WITH_BORDER = 2,
56  ET_SMOOTH_WITH_CONNECTION_LINE = 6,
57  };
58 
60  bool displayConnectLine() const;
61 
63  bool displayFullBoundary() const;
64 
65  void setJagged(bool);
66  bool jagged() const;
67 
69  EdgeType edgeType() const;
70 
73 
74  // OdDbObject methods :
75  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
76  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
77  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
78  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
79 };
80 
85 
86 #include "TD_PackPop.h"
87 
88 #endif // OD_VIEWREPDETAILDEFINITION_H
OdSmartPtr< OdDbViewRepDetailDefinition > OdDbViewRepDetailDefinitionPtr
#define MODELDOCOBJ_EXPORT
OdResult
Definition: OdResult.h:29
void setBoundaryType(FenceType)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbViewRepDetailDefinition)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
FenceType boundaryType() const
EdgeType edgeType() const
bool displayFullBoundary() const
virtual ~OdDbViewRepDetailDefinition()