37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : DragPickSet Àà
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: DragPickSet ÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _TDRAGPICKENTSET_H_
|
|
#define _TDRAGPICKENTSET_H_
|
|
|
|
#ifndef _TPICKENTSET_H_
|
|
#include "TPickEntSet.h"
|
|
#endif
|
|
|
|
#ifndef _TADSGEPOINT3D_H_
|
|
#include "TADSGePoint3d.h"
|
|
#endif
|
|
|
|
class GEOAPI TDragPickEntSet : public TPickEntSet
|
|
{
|
|
public:
|
|
TDragPickEntSet(const TADSGePoint3d &loc, int tag = SS_FREE);
|
|
TDragPickEntSet(const TADSGePoint3d &loc, const TPickEntSet &picks, int tag = SS_FREE);
|
|
~TDragPickEntSet();
|
|
|
|
int Move(const TADSGePoint3d &src, TADSGePoint3d &res) const;
|
|
int Rotate(const TADSGePoint3d &src, ads_real *res = NULL) const;
|
|
int Scale(const TADSGePoint3d &src, ads_real *res = NULL) const;
|
|
|
|
protected:
|
|
ads_name tempEnt;
|
|
void _DragPickSet();
|
|
};
|
|
#endif |