You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kev/Drawer/Module/GeoSigmaDraw/ItemPointCrossAdd.h

38 lines
725 B
C++

#pragma once
#include "./ItemPointAdd.h"
namespace NItem
{
class CItemPointCrossAdd :public CItemPointAdd
{
public:
enum POINT_MODE
{
POINT_MODE_SINGLE = 0,
POINT_MODE_CONTINUE
};
public:
CItemPointCrossAdd(CSigmaDoc * ppDoc);
virtual ~CItemPointCrossAdd(void);
void SetName1(CString name1);
void SetName2(CString name2);
void SetName3(CString name3);
void SetName4(CString name4);
void UpdateOne(COne* pOne) override;
private:
COne * CreateOne() override;
void AddPoint(CPoint3D & pt) override;
void ClearDisplayPoint() override;
CPointCrossName * CreateCrossPoint(void);
private:
CString m_name1;
CString m_name2;
CString m_name3;
CString m_name4;
};
}