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.

31 lines
962 B
C++

#ifndef ACTION_MOVE_SECITONWELL_ITEM_H
#define ACTION_MOVE_SECITONWELL_ITEM_H
#include "ActionModifiedItem.h"
#include "../DrawModel/Point2D.h"
#include "WellPoleLib/WellBaseObj.h"
namespace NAction
{
class CActionMoveSectionWell :public CActionModifiedItem
{
public:
CActionMoveSectionWell(CSigmaDoc* ppDoc , UINT actionType, const CPositionList& list, CWellBaseObj* pWellBase, CPoint2D delta);
CActionMoveSectionWell(CSigmaDoc* ppDoc, UINT actionType);
virtual ~CActionMoveSectionWell(void);
void AddCloneItem(const CPositionList& list);
virtual bool AddCloneItem(POSITION pos, COne* pOne, CWellBaseObj* pWellBase, CPoint2D delta);
protected:
virtual void PerformOperation(void);
virtual void PerformOperation(std::unique_ptr<COne> ModifiedEntry::* member); //ÔÚc#¶ËÖÐÐèÒªÌí¼ÓÕâ¸ö
WELLOBJVECTOR m_WellObjBaseArr;
std::vector<CPoint2D> m_deltaPts;
std::vector<int> m_WellPosInList;
CArray<long, long> m_indexArray;
};
}
#endif