123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- #pragma once
- #pragma pack (push, 8)
- #ifndef ACSYNERGY_PORT
- #define ACSYNERGY_PORT
- #endif
- class AcDbImpViewRepBlockReference;
- class ACSYNERGY_PORT AcDbViewRepBlockReference : public AcDbBlockReference
- {
- friend class AcDbViewRepBlockReferenceInternals;
- public:
- ACRX_DECLARE_MEMBERS(AcDbViewRepBlockReference);
- virtual ~AcDbViewRepBlockReference();
- AcDbObjectId ownerViewportId() const;
- // AcRxObject Protocol
- virtual Acad::ErrorStatus copyFrom(const AcRxObject* pSrc);
- // AcDbObject methods
- virtual Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* pFiler) const;
- virtual Acad::ErrorStatus dwgInFields(AcDbDwgFiler* pFiler);
- virtual Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* pFiler) const;
- virtual Acad::ErrorStatus dxfInFields(AcDbDxfFiler* pFiler);
- virtual Acad::ErrorStatus audit(AcDbAuditInfo* pAuditInfo);
- // AcDbEntity methods
- virtual void saveAs(AcGiWorldDraw* mode, AcDb::SaveType st);
- virtual Acad::ErrorStatus subGetGeomExtents(AcDbExtents& extents) const;
- virtual Acad::ErrorStatus subGetGsMarkersAtSubentPath(
- const AcDbFullSubentPath& subPath,
- AcArray<Adesk::GsMarker>& gsMarkers) const;
- // AcDbBlockReference methods
- virtual AcGePoint3d position() const;
- protected:
- // AcDbObject methods
- virtual Adesk::Boolean subWorldDraw(AcGiWorldDraw* mode);
- virtual void subViewportDraw(AcGiViewportDraw* pVd);
- virtual Acad::ErrorStatus subTransformBy(const AcGeMatrix3d& xform);
- virtual Acad::ErrorStatus subPushHighlight (const AcDbFullSubentPath& subId,
- AcGiHighlightStyle highlightStyle);
- virtual Acad::ErrorStatus subPopHighlight (const AcDbFullSubentPath& subId);
- public:
- // internal use only methods
- AcDbViewRepBlockReference();
- AcDbViewRepBlockReference(const AcGePoint3d& position, AcDbObjectId blockTableRecord);
- void setOwnerViewportId(const AcDbObjectId& viewportId);
- private:
- AcDbImpViewRepBlockReference* getImpObject();
- AcDbImpViewRepBlockReference* mpAcDbImpViewRepBlockReference;
- };
- #pragma pack (pop)
|