42 lines
840 B
C++
42 lines
840 B
C++
#pragma once
|
|
#include <vector>
|
|
#include "CPOINT3.H"
|
|
#include "CMDDefines.h"
|
|
|
|
|
|
class CSO7_CMD
|
|
{
|
|
public:
|
|
CSO7_CMD();
|
|
CSO7_CMD(const CSO7_CMD& _CMD);
|
|
~CSO7_CMD() {}
|
|
|
|
CSO7_CMD& operator=(const CSO7_CMD& _CMD);
|
|
|
|
virtual CSO7_CMD* Copy() { return NULL; }
|
|
virtual void Init();
|
|
virtual int get_id() = 0;
|
|
virtual int get_type() = 0;
|
|
|
|
|
|
virtual void SaveCmd(FILE* _filestream,int _savetype=0) = 0;
|
|
|
|
virtual void ReadCmd(FILE* _filestream,int _savetype=0) = 0;
|
|
|
|
virtual void GetPoint(int type_of_point,
|
|
int theo_or_meas,
|
|
int coord_sys,
|
|
CSO7_CMD * align,
|
|
CPoint3 &out,
|
|
int workpl = 0) = 0;
|
|
|
|
virtual void PutPoint(int type_of_point,
|
|
int theo_or_meas,
|
|
int coord_sys,
|
|
CSO7_CMD * align,
|
|
CPoint3 &in_point,
|
|
int workpl = 0) =0;
|
|
public:
|
|
int m_ID;
|
|
|
|
}; |