CFx SDK Documentation  2020SP3
FxBIMSectionView.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "sdk/FxBIM.h"
4 
5 #include <DbEntity.h>
6 #include <DbMText.h>
7 
10 
12 {
13 public:
15 
16  virtual ~CFxBIMSectionView();
17 
19  OdDbObjectId idViewport,
20  const OdDbObjectIdArray &layersToFreeze,
21  const OdDbObjectIdArray &layersToThaw );
22 
24 
25 
26  virtual OdDbObjectId Section() const; //CFxBIMSection
27 
28  virtual void Scale( double& numerator, double& denominator ) const;
29  virtual void SetScale( double numerator, double denominator );
30 
31  virtual OdDbObjectId Viewport() const; //OdDbViewport
32 
33  virtual const OdGeMatrix3d& Transform() const;
34  virtual void SetTransform( const OdGeMatrix3d& trf );
35 
37 
38 public:
39  virtual const OdString& TitleAbove() const;
40  virtual void SetTitleAbove( const OdString& titleA );
41 
42  virtual OdDbObjectId TitleAboveStyle() const;
43  virtual void SetTitleAboveStyle( OdDbObjectId styleA );
44 
45  virtual double TitleAboveSize() const;
46  virtual void SetTitleAboveSize( double sizeA );
47 
48  virtual const OdString& TitleBelow() const;
49  virtual void SetTitleBelow( const OdString& titleB );
50 
51  virtual OdDbObjectId TitleBelowStyle() const;
52  virtual void SetTitleBelowStyle( OdDbObjectId styleA );
53 
54  virtual double TitleBelowSize() const;
55  virtual void SetTitleBelowSize( double sizeA );
56 
57  virtual const OdString& Number() const;
58  virtual void SetNumber( const OdString& titleA );
59 
60  virtual OdDbObjectId NumberStyle() const;
61  virtual void SetNumberStyle( OdDbObjectId style );
62 
63  virtual double NumberSize() const;
64  virtual void SetNumberSize( double size );
65 
66  virtual double UnderlineLength() const;
67  virtual void SetUnderlineLength( double size );
68 
69 public:
70  virtual OdResult dwgInFields( OdDbDwgFiler* pFiler ) override;
71  virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const override;
72 
73  virtual OdResult dxfInFields( OdDbDxfFiler* pFiler ) override;
74  virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const override;
75 
76  OdUInt32 subSetAttributes( OdGiDrawableTraits* traits ) const override;
77  bool subWorldDraw( OdGiWorldDraw* wd ) const override;
78 
79  void subGripStatus( const OdDb::GripStat status ) override;
80 
82  OdDb::OsnapMode osnapMode,
83  OdGsMarker gsSelectionMark,
84  const OdGePoint3d& pickPoint,
85  const OdGePoint3d& lastPoint,
86  const OdGeMatrix3d& xWorldToEye,
87  OdGePoint3dArray& snapPoints ) const override;
88 
90  OdDb::OsnapMode osnapMode,
91  OdGsMarker gsSelectionMark,
92  const OdGePoint3d& pickPoint,
93  const OdGePoint3d& lastPoint,
94  const OdGeMatrix3d& xWorldToEye,
95  OdGePoint3dArray& snapPoints,
96  const OdGeMatrix3d& insertionMat ) const override;
97 
98  bool subIsContentSnappable() const override;
99 
100  OdResult subGetGripPoints( OdGePoint3dArray& gripPoints ) const override;
101  OdResult subMoveGripPointsAt( const OdIntArray& indices, const OdGeVector3d& offset ) override;
103  OdDbGripDataPtrArray& grips,
104  const double curViewUnitSize,
105  const int gripSize,
106  const OdGeVector3d& curViewDir,
107  const int bitFlags ) const override;
109  const OdDbVoidPtrArray& grips,
110  const OdGeVector3d& offset,
111  int bitFlags ) override;
112  OdResult subGetStretchPoints( OdGePoint3dArray& stretchPoints ) const override;
114  const OdIntArray& indices,
115  const OdGeVector3d& offset ) override;
116 
117  OdResult subErase( bool erasing ) override;
118  OdDbObjectPtr subWblockClone( OdDbIdMapping& ownerIdMap, OdDbObject*, bool bPrimary ) const override;
119  OdDbObjectPtr subDeepClone( OdDbIdMapping& ownerIdMap, OdDbObject*, bool bPrimary ) const override;
120 
121 protected:
123 };
OdResult
OdResult
Definition: OdResult.h:29
OdGeVector3d
Definition: GeVector3d.h:54
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
CFxBIMSectionView::subIsContentSnappable
bool subIsContentSnappable() const override
Error
Error
Definition: FxBIM.h:18
CFxBIMSectionViewPtr
OdSmartPtr< CFxBIMSectionView > CFxBIMSectionViewPtr
Definition: FxBIMSectionView.h:8
CFxBIMSectionView::subSetAttributes
OdUInt32 subSetAttributes(OdGiDrawableTraits *traits) const override
CFxBIMSectionView::subGripStatus
void subGripStatus(const OdDb::GripStat status) override
CFxBIMSectionView::SetTitleBelowStyle
virtual void SetTitleBelowStyle(OdDbObjectId styleA)
CFxBIMSectionView::Scale
virtual void Scale(double &numerator, double &denominator) const
CFxBIMSectionView::SetTitleAboveStyle
virtual void SetTitleAboveStyle(OdDbObjectId styleA)
OdDbObjectId
Definition: DbObjectId.h:99
CFxBIMSectionView::TitleAboveSize
virtual double TitleAboveSize() const
CFxBIMSectionView::subDeepClone
OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const override
CFxBIMSectionView::SetTitleAbove
virtual void SetTitleAbove(const OdString &titleA)
CFxBIMSectionView::SetNumberStyle
virtual void SetNumberStyle(OdDbObjectId style)
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
CFxBIMSectionView::~CFxBIMSectionView
virtual ~CFxBIMSectionView()
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
FXBIM_API
#define FXBIM_API
Definition: FxBIM.h:4
CFxBIMSectionView::TitleAboveStyle
virtual OdDbObjectId TitleAboveStyle() const
CFxBIMSectionView::SetNumberSize
virtual void SetNumberSize(double size)
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
CFxBIMSectionView::subWblockClone
OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const override
size
GLsizeiptr size
Definition: gles2_ext.h:182
CFxBIMSectionView::TitleBelow
virtual const OdString & TitleBelow() const
DbMText.h
CFxBIMSectionView::subWorldDraw
bool subWorldDraw(OdGiWorldDraw *wd) const override
CFxBIMSectionView::SetScale
virtual void SetScale(double numerator, double denominator)
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
DbEntity.h
CFxBIMSectionView::SetTitleBelow
virtual void SetTitleBelow(const OdString &titleB)
CFxBIMSectionView::CreateSectionSymbolEntities
virtual Error CreateSectionSymbolEntities()
CFxBIMSectionView::Transform
virtual const OdGeMatrix3d & Transform() const
offset
GLintptr offset
Definition: gles2_ext.h:183
CFxBIMSectionView::RefreshLayersVisibilityInAllViewports
static void RefreshLayersVisibilityInAllViewports(OdDbDatabase *database)
CFxBIMSectionView::TitleBelowStyle
virtual OdDbObjectId TitleBelowStyle() const
CFxBIMSectionView::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) override
OdDb::GripStat
GripStat
Definition: DbGrip.h:80
OdDb::OsnapMode
OsnapMode
Definition: OdaDefs.h:478
CFxBIMSectionView::Number
virtual const OdString & Number() const
CFxBIMSectionView::Viewport
virtual OdDbObjectId Viewport() const
CFxBIMSectionView::TitleAbove
virtual const OdString & TitleAbove() const
OdDbDxfFiler
Definition: DbFiler.h:194
CFxBIMSectionView::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const override
CFxBIMSectionView::SetTitleAboveSize
virtual void SetTitleAboveSize(double sizeA)
CFxBIMSectionView::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(CFxBIMSectionView)
CFxBIMSectionView::subGetStretchPoints
OdResult subGetStretchPoints(OdGePoint3dArray &stretchPoints) const override
CFxBIMSectionView::subErase
OdResult subErase(bool erasing) override
CFxBIMSectionView
Definition: FxBIMSectionView.h:12
CFxBIMSectionView::RefreshLayersVisibilityInViewport
static void RefreshLayersVisibilityInViewport(OdDbObjectId idViewport, const OdDbObjectIdArray &layersToFreeze, const OdDbObjectIdArray &layersToThaw)
CFxBIMSectionView::TitleBelowSize
virtual double TitleBelowSize() const
CFxBIMSectionView::subGetOsnapPoints
OdResult subGetOsnapPoints(OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const override
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbEntity
Definition: DbEntity.h:90
CFxBIMSectionView::UnderlineLength
virtual double UnderlineLength() const
CFxBIMSectionView::SetTitleBelowSize
virtual void SetTitleBelowSize(double sizeA)
OdGiDrawableTraits
Definition: Gi.h:71
CFxBIMSectionView::NumberSize
virtual double NumberSize() const
CFxBIMSectionView::subMoveGripPointsAt
OdResult subMoveGripPointsAt(const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) override
CFxBIMSectionView::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) override
CFxBIMSectionView::NumberStyle
virtual OdDbObjectId NumberStyle() const
CFxBIMSectionView::SetUnderlineLength
virtual void SetUnderlineLength(double size)
CFxBIMSectionView::SetNumber
virtual void SetNumber(const OdString &titleA)
CFxBIMSectionView::subGetGripPoints
OdResult subGetGripPoints(OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const override
CFxBIMSectionView::subGetGripPoints
OdResult subGetGripPoints(OdGePoint3dArray &gripPoints) const override
CFxBIMSectionView::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const override
CFxBIMSectionView::SetTransform
virtual void SetTransform(const OdGeMatrix3d &trf)
CFxBIMSectionView::CFxBIMSectionView
CFxBIMSectionView()
CFxBIMSectionView::Section
virtual OdDbObjectId Section() const
CFxBIMSectionView::subMoveGripPointsAt
OdResult subMoveGripPointsAt(const OdIntArray &indices, const OdGeVector3d &offset) override
CFxBIMSectionView::subGetOsnapPoints
OdResult subGetOsnapPoints(OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const override
CFxBIMSectionView::subMoveStretchPointsAt
OdResult subMoveStretchPointsAt(const OdIntArray &indices, const OdGeVector3d &offset) override
OdDbIdMapping
Definition: DbIdMapping.h:238
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031