63 lines
1.8 KiB
C++
63 lines
1.8 KiB
C++
#pragma once
|
|
|
|
#include "acedinpt.h"
|
|
|
|
class AcEdInputPointMonitorEx : public AcEdInputPointMonitor
|
|
{
|
|
|
|
public:
|
|
ACRX_DECLARE_MEMBERS(AcEdInputPointMonitorEx) ;
|
|
|
|
AcEdInputPointMonitorEx(AcApDocument *pDoc =NULL) ;
|
|
virtual ~AcEdInputPointMonitorEx () ;
|
|
virtual void Detach() ;
|
|
virtual void Attach(AcApDocument *pDoc) ;
|
|
virtual bool IsAttached() const ;
|
|
virtual AcApDocument *Subject() const ;
|
|
|
|
virtual bool excludeFromOsnapCalculation(
|
|
const AcArray<AcDbObjectId> &nestedEntity,
|
|
int gsSelectionMark
|
|
) ;
|
|
|
|
virtual Acad::ErrorStatus monitorInputPoint(
|
|
bool &appendToTooltipStr,
|
|
TCHAR *&additionalTooltipString,
|
|
AcGiViewportDraw *drawContext,
|
|
AcApDocument *document,
|
|
bool pointComputed,
|
|
int history,
|
|
const AcGePoint3d &lastPoint,
|
|
const AcGePoint3d &rawPoint,
|
|
const AcGePoint3d &grippedPoint,
|
|
const AcGePoint3d &cartesianSnappedPoint,
|
|
const AcGePoint3d &osnappedPoint,
|
|
AcDb::OsnapMask osnapMask,
|
|
const AcArray<AcDbCustomOsnapMode *> &customOsnapModes,
|
|
AcDb::OsnapMask osnapOverrides,
|
|
const AcArray<AcDbCustomOsnapMode *> &customOsnapOverrides,
|
|
const AcArray<AcDbObjectId> &apertureEntities,
|
|
const AcArray<AcDbObjectIdArray, AcArrayObjectCopyReallocator<AcDbObjectIdArray> > &nestedApertureEntities,
|
|
const AcArray<int> &gsSelectionMark,
|
|
const AcArray<AcDbObjectId> &keyPointEntities,
|
|
const AcArray<AcDbObjectIdArray, AcArrayObjectCopyReallocator<AcDbObjectIdArray> > &nestedKeyPointEntities,
|
|
const AcArray<int> &keyPointGsSelectionMark,
|
|
const AcArray<AcGeCurve3d *> &alignmentPaths,
|
|
const AcGePoint3d &computedPoint,
|
|
const TCHAR *tooltipString
|
|
) ;
|
|
|
|
AcGePoint3d GetCursorPos(); //資函報炎輝念了崔恫炎
|
|
|
|
protected:
|
|
AcApDocument *mpDocument ;
|
|
|
|
private:
|
|
AcGePoint3d m_ptCursorPos;//芝村報炎輝念了崔恫炎
|
|
|
|
};
|
|
|
|
#ifdef TCH_ANNOTATE_MODULE
|
|
ACDB_REGISTER_OBJECT_ENTRY_AUTO(AcEdInputPointMonitorEx)
|
|
#endif
|