CFx SDK Documentation  2020SP3
FxBIMSectionEntity.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "sdk/FxBIM.h"
4 
5 #include <DbEntity.h>
6 
9 
10 class OdDbDwgFiler;
11 
13 {
14 public:
16 
18 
19  virtual const OdGeMatrix3d& OriginalTransform() const;
20  virtual const OdGeMatrix3d& Transform() const;
21  virtual void SetTransform( const OdGeMatrix3d& transform );
22 
23  virtual OdDbObjectId OriginalEntity() const; //CFxBIMEntityReference
24 
25 public:
26  OdResult dwgInFields( OdDbDwgFiler* pFiler ) override;
27  void dwgOutFields( OdDbDwgFiler* pFiler ) const override;
28 
29  OdResult dxfInFields( OdDbDxfFiler* pFiler ) override;
30  void dxfOutFields( OdDbDxfFiler* pFiler ) const override;
31 
32  OdUInt32 subSetAttributes( OdGiDrawableTraits* traits ) const override;
33  bool subWorldDraw( OdGiWorldDraw* wd ) const override;
34  void subViewportDraw( OdGiViewportDraw* vd ) const override;
35 
36  OdResult subGetGeomExtents( OdGeExtents3d& extents ) const override;
37 
38  void subGripStatus( const OdDb::GripStat status ) override;
39 
41  OdDb::OsnapMode osnapMode,
42  OdGsMarker gsSelectionMark,
43  const OdGePoint3d& pickPoint,
44  const OdGePoint3d& lastPoint,
45  const OdGeMatrix3d& xWorldToEye,
46  OdGePoint3dArray& snapPoints ) const override;
47 
49  OdDb::OsnapMode osnapMode,
50  OdGsMarker gsSelectionMark,
51  const OdGePoint3d& pickPoint,
52  const OdGePoint3d& lastPoint,
53  const OdGeMatrix3d& xWorldToEye,
54  OdGePoint3dArray& snapPoints,
55  const OdGeMatrix3d& insertionMat ) const override;
56 
57  bool subIsContentSnappable() const override;
58 
59  OdResult subGetGripPoints( OdGePoint3dArray& gripPoints ) const override;
60  OdResult subMoveGripPointsAt( const OdIntArray& indices, const OdGeVector3d& offset ) override;
62  OdDbGripDataPtrArray& grips,
63  const double curViewUnitSize,
64  const int gripSize,
65  const OdGeVector3d& curViewDir,
66  const int bitFlags ) const override;
68  const OdDbVoidPtrArray& grips,
69  const OdGeVector3d& offset,
70  int bitFlags ) override;
71  OdResult subGetStretchPoints( OdGePoint3dArray& stretchPoints ) const override;
73  const OdIntArray& indices,
74  const OdGeVector3d& offset ) override;
75 
76  OdResult subErase( bool erasing ) override;
77  OdDbObjectPtr subWblockClone( OdDbIdMapping& ownerIdMap, OdDbObject*, bool bPrimary ) const override;
78  OdDbObjectPtr subDeepClone( OdDbIdMapping& ownerIdMap, OdDbObject*, bool bPrimary ) const override;
79 
80  OdResult subTransformBy( const OdGeMatrix3d& xfm ) override;
81  OdResult subGetTransformedCopy( const OdGeMatrix3d& xfm, OdDbEntityPtr& pCopy ) const override;
82 
83 protected:
85 };
OdResult
OdResult
Definition: OdResult.h:29
CFxBIMSectionEntity
Definition: FxBIMSectionEntity.h:13
OdGeVector3d
Definition: GeVector3d.h:54
CFxBIMSectionEntity::subDeepClone
OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const override
CFxBIMSectionEntity::subErase
OdResult subErase(bool erasing) override
CFxBIMSectionEntity::subSetAttributes
OdUInt32 subSetAttributes(OdGiDrawableTraits *traits) const override
OdDbObjectId
Definition: DbObjectId.h:99
CFxBIMSectionEntity::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(CFxBIMSectionEntity)
CFxBIMSectionEntity::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const override
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > >
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
FXBIM_API
#define FXBIM_API
Definition: FxBIM.h:4
CFxBIMSectionEntity::~CFxBIMSectionEntity
virtual ~CFxBIMSectionEntity()
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
CFxBIMSectionEntityPtr
OdSmartPtr< CFxBIMSectionEntity > CFxBIMSectionEntityPtr
Definition: FxBIMSectionEntity.h:7
OdGeMatrix3d
Definition: GeMatrix3d.h:73
CFxBIMSectionEntity::CFxBIMSectionEntity
CFxBIMSectionEntity()
CFxBIMSectionEntity::subWblockClone
OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const override
CFxBIMSectionEntity::OriginalTransform
virtual const OdGeMatrix3d & OriginalTransform() const
CFxBIMSectionEntity::subMoveStretchPointsAt
OdResult subMoveStretchPointsAt(const OdIntArray &indices, const OdGeVector3d &offset) override
CFxBIMSectionEntity::subGetGripPoints
OdResult subGetGripPoints(OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const override
CFxBIMSectionEntity::subGetStretchPoints
OdResult subGetStretchPoints(OdGePoint3dArray &stretchPoints) const override
CFxBIMSectionEntity::subIsContentSnappable
bool subIsContentSnappable() const override
CFxBIMSectionEntity::subGetTransformedCopy
OdResult subGetTransformedCopy(const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const override
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
DbEntity.h
CFxBIMSectionEntity::subWorldDraw
bool subWorldDraw(OdGiWorldDraw *wd) const override
CFxBIMSectionEntity::Transform
virtual const OdGeMatrix3d & Transform() const
offset
GLintptr offset
Definition: gles2_ext.h:183
CFxBIMSectionEntity::OriginalEntity
virtual OdDbObjectId OriginalEntity() const
CFxBIMSectionEntity::subMoveGripPointsAt
OdResult subMoveGripPointsAt(const OdIntArray &indices, const OdGeVector3d &offset) override
OdDb::GripStat
GripStat
Definition: DbGrip.h:80
OdDb::OsnapMode
OsnapMode
Definition: OdaDefs.h:478
CFxBIMSectionEntity::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler) override
CFxBIMSectionEntity::subGetOsnapPoints
OdResult subGetOsnapPoints(OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const override
CFxBIMSectionEntity::SetTransform
virtual void SetTransform(const OdGeMatrix3d &transform)
OdDbDxfFiler
Definition: DbFiler.h:194
CFxBIMSectionEntity::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler) override
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbEntity
Definition: DbEntity.h:90
CFxBIMSectionEntity::subMoveGripPointsAt
OdResult subMoveGripPointsAt(const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) override
OdGiDrawableTraits
Definition: Gi.h:71
CFxBIMSectionEntity::subTransformBy
OdResult subTransformBy(const OdGeMatrix3d &xfm) override
OdGeExtents3d
Definition: GeExtents3d.h:45
CFxBIMSectionEntity::subGetGripPoints
OdResult subGetGripPoints(OdGePoint3dArray &gripPoints) const override
CFxBIMSectionEntity::subGripStatus
void subGripStatus(const OdDb::GripStat status) override
CFxBIMSectionEntity::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const override
OdDbIdMapping
Definition: DbIdMapping.h:238
CFxBIMSectionEntity::subViewportDraw
void subViewportDraw(OdGiViewportDraw *vd) const override
CFxBIMSectionEntity::subGetOsnapPoints
OdResult subGetOsnapPoints(OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const override
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50
CFxBIMSectionEntity::subGetGeomExtents
OdResult subGetGeomExtents(OdGeExtents3d &extents) const override