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.

32 lines
702 B
C++

#pragma once
#include "item.h"
namespace NItem
{
class CItemWellGroup
: public CItem
{
public:
CItemWellGroup(CSigmaDoc * ppDoc);
virtual ~CItemWellGroup(void);
void UpdateDraw(CDC *pDC);
void OnLButtonDown(CDC *pDC, UINT nFlags, CPoint point, int vk);
void DrawAssistant(CDC * pDC, int mouseX, int mouseY);
void SetWellPointZ(double pointZ);
void SetData(BYTE* buffElement, int buffLen);
bool GetWellPoint(double * xOut, double * yOut, double * zOut);
void ApplyData();
private:
void SetPoint(CPoint3D pt);
COne* CreateOne();
public:
double m_z; // z
CPoint3D m_pt; // 井点的坐标
COne * m_pWellGroupOne = nullptr; //相当于临时显示图元
};
};