// GUINode.h: interface for the GUINode class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_GUINODE_H__16A8E341_4ADB_4AFF_B9A7_BF8EC8C723AB__INCLUDED_) #define AFX_GUINODE_H__16A8E341_4ADB_4AFF_B9A7_BF8EC8C723AB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include"EdGUIObject.h" class CObjPanelDlg; class UndoCommand; class GUINode:public EdGUIObject { private: protected: public: EdGUIObject *Clone(); void AddPanel(CObjPanelDlg *pnl,UndoCommand **cmd); GUINode(CString name="Node",Point3D pnt=Point3D(0.0f,0.0f,0.0f)); void Draw(DrawInfo &dinf); virtual ~GUINode(); CString GetTypeName() {return ("Node");} int GetUnSelIcon() {return ICON_NODE; } int GetSelIcon() {return ICON_NODE; } }; Scalar DistToPoint(Point3D &a,Point3D &b,Point3D &c); #endif // !defined(AFX_GUINODE_H__16A8E341_4ADB_4AFF_B9A7_BF8EC8C723AB__INCLUDED_)