CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBreakData.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 _DbBreakData_h_Included_
25#define _DbBreakData_h_Included_
26
27#include "DbObject.h"
28#include "OdArray.h"
29#include "SmartPtr.h"
30#include "DbDimAssoc.h"
31
35
42{
43public:
45
47 void setDimObjId(const OdDbObjectId& dimId);
48
50 void getBreakPointRef(int lineIndex, OdDbBreakPointRefPtrArray& ptRefs) const;
53 OdResult removeAssociativity(bool force = true);
54 //OdResult postToDb(OdDbObjectId& breakObjId);
55 //OdResult eraseFromDb();
56
58 virtual void dwgOutFields(OdDbDwgFiler*) const;
60 virtual void dxfOutFields(OdDbDxfFiler*) const;
61 virtual void modifiedGraphics(const OdDbObject* pEnt) ODRX_OVERRIDE; //FELIX_CHANGE
62 virtual void erased(const OdDbObject* pObj, bool erasing);
63 virtual void modified(const OdDbObject* pObj);
64
66};
67
69
76{
77public:
79
81 kDynamic = 0,
82 kStatic = 1,
83 kStatic2Point = 2
84 };
85
91 void setBreakPoint(const OdGePoint3d& pt);
93 void setBreakPoint2(const OdGePoint3d& pt);
98
100 virtual void dwgOutFields(OdDbDwgFiler*) const;
102 virtual void dxfOutFields(OdDbDxfFiler*) const;
103};
104
105#endif
106
OdSmartPtr< OdDbBreakData > OdDbBreakDataPtr
Definition: DbBreakData.h:68
OdArray< OdDbBreakPointRefPtr > OdDbBreakPointRefPtrArray
Definition: DbBreakData.h:34
OdSmartPtr< OdDbBreakPointRef > OdDbBreakPointRefPtr
Definition: DbBreakData.h:33
#define DBDIM_EXPORT
Definition: DbExport.h:72
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
virtual void dxfOutFields(OdDbDxfFiler *) const
void getBreakPointRef(OdDbBreakPointRefPtrArray &ptRefs) const
virtual void erased(const OdDbObject *pObj, bool erasing)
ODDB_DECLARE_MEMBERS(OdDbBreakData)
void getBreakPointRef(int lineIndex, OdDbBreakPointRefPtrArray &ptRefs) const
virtual OdResult dxfInFields(OdDbDxfFiler *)
OdResult updateAssociativity(const OdDbObjectIdArray &ids, int cmdType)
void setDimObjId(const OdDbObjectId &dimId)
void addBreakPointRef(OdDbBreakPointRef *ptRef)
virtual void dwgOutFields(OdDbDwgFiler *) const
void deleteAllBreakPointRefs()
OdDbObjectId dimObjId() const
OdResult removeAssociativity(bool force=true)
virtual OdResult dwgInFields(OdDbDwgFiler *)
virtual void modified(const OdDbObject *pObj)
virtual void modifiedGraphics(const OdDbObject *pEnt) ODRX_OVERRIDE
void setBreakPoint2(const OdGePoint3d &pt)
virtual void dxfOutFields(OdDbDxfFiler *) const
virtual void dwgOutFields(OdDbDwgFiler *) const
virtual OdResult dxfInFields(OdDbDxfFiler *)
OdGePoint3d breakPoint2() const
void setBreakPoint(const OdGePoint3d &pt)
OdInt32 lineIndex() const
void setBreakPointId(const OdDbXrefFullSubentPath &idPath)
void setLineIndex(OdInt32 index)
void setPointType(OdDbBreakPointRef::BreakPointType newVal)
virtual OdResult dwgInFields(OdDbDwgFiler *)
OdResult intersectWith(const OdDbEntity *pEnt, OdGePoint3dArray &points, OdGePoint3dArray &textBoxPts)
OdDbBreakPointRef::BreakPointType pointType() const
ODDB_DECLARE_MEMBERS(OdDbBreakPointRef)
OdGePoint3d breakPoint() const
void getBreakPointId(OdDbXrefFullSubentPath &idPath) const
OdDbEntityPtr subentPtr() const
GLuint index
Definition: gles2_ext.h:265