CFx SDK Documentation  2020SP3
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
OdResult
OdResult
Definition: OdResult.h:29
OdDbViewRepDetailDefinition::setJagged
void setJagged(bool)
OdDbViewRepDetailDefinition::displayFullBoundary
bool displayFullBoundary() const
DbViewRepCutDefinition.h
DbObject.h
OdDbViewRepDetailDefinition::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbViewRepDetailDefinition::FenceType
FenceType
Definition: DbViewRepDetailDefinition.h:46
OdDbViewRepCutDefinition
Definition: DbViewRepCutDefinition.h:38
TD_PackPop.h
OdDbViewRepDetailDefinition::edgeType
EdgeType edgeType() const
OdDbViewRepDetailDefinition::setBoundaryType
void setBoundaryType(FenceType)
OdDbViewRepDetailDefinition::jagged
bool jagged() const
ModelDocObjExports.h
OdSmartPtr
Definition: SmartPtr.h:58
OdDbViewRepDetailDefinitionPtr
OdSmartPtr< OdDbViewRepDetailDefinition > OdDbViewRepDetailDefinitionPtr
Definition: DbViewRepDetailDefinition.h:84
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbViewRepDetailDefinition::~OdDbViewRepDetailDefinition
virtual ~OdDbViewRepDetailDefinition()
TD_PackPush.h
OdDbViewRepDetailDefinition::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbViewRepDetailDefinition::OdDbViewRepDetailDefinition
OdDbViewRepDetailDefinition()
OdDbViewRepDetailDefinition::EdgeType
EdgeType
Definition: DbViewRepDetailDefinition.h:52
OdDbViewRepDetailDefinition::boundaryType
FenceType boundaryType() const
OdDbViewRepDetailDefinition::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
MODELDOCOBJ_EXPORT
#define MODELDOCOBJ_EXPORT
Definition: ModelDocObjExports.h:33
OdDbViewRepDetailDefinition::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbViewRepDetailDefinition
Definition: DbViewRepDetailDefinition.h:39
OdDbViewRepDetailDefinition::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbViewRepDetailDefinition)
OdDbViewRepDetailDefinition::setDisplayFullBoundary
void setDisplayFullBoundary(bool)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbViewRepDetailDefinition::setEdgeType
void setEdgeType(EdgeType)
OdDbViewRepDetailDefinition::displayConnectLine
bool displayConnectLine() const
OdDbViewRepDetailDefinition::setDisplayConnectLine
void setDisplayConnectLine(bool)