#ifndef AFX_TVIRTUALPIPECANAL_H__ #define AFX_TVIRTUALPIPECANAL_H__ #if _MSC_VER > 1000 #pragma once #endif class TDbCableWatch; class TDbPipeCanal; class TVirtualPipeCanal : public TDbCurveEntity { public: TVirtualPipeCanal(); ~TVirtualPipeCanal(); //cet 2012.3.26 add 是否绘制转盘 void EnabelDrawWatch(bool bEnabel); //设置转盘最小角度 void SetAverageAng(double dAng); //设置转盘起始向量 void SetStartVector(const AcGeVector3d &vt); //设置表盘起始点 void SetCenPoint(const AcGePoint3d &pt); //设置文字 void SetText(const AcGePoint3d& pt,LPCTSTR lpText); void SetPanState(BOOL bClose); //得到转盘法向量 void GetNormal(AcGeVector3d &vtNorm); //传进来方沟指针 void SetCanalPtr(TDbPipeCanal *&pCanal); //设置方沟起点 void SetCanalStartPt(const AcGePoint3d &pt); //设置方沟终点 void SetCanalEndPt(const AcGePoint3d &pt); //{{AFX_ARX_METHODS(TDbCableWatch) virtual Acad::ErrorStatus ExplodeOrDraw2d(XExplodeDraw &mode) const; //}}AFX_ARX_METHODS private: TDbCableWatch *m_pWatch; TDbPipeCanal *m_pCanal; bool m_bDrawWatch; // cet 2012.3.26 add 是否绘制转盘 }; #endif // !defined(AFX_TVIRTUALPIPECANAL_H__8D0378D9_B706_482A_8BA0_61609329BE37__INCLUDED_)