You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.2 KiB

#ifndef __BASICPOSITION_H_INCL__
#define __BASICPOSITION_H_INCL__
#include "../object/objectSystemAnchor.h"
/**
* TODO: Add class description
*
* @author gagua
*/
class basicPosition: public position3D{
private:
coordConverter converter;
S_TRANS_MATRIX m_sMatrix;
transform_3 *m_pTransform;
int m_nZoneID;
void updateMatrix( void );
public:
// Constructor
basicPosition();
// Destructor
virtual ~basicPosition();
// Copy constructor
basicPosition( const basicPosition& src );
// Assignment operator
basicPosition& operator=(const basicPosition& src);
basicPosition( float lat, float lon, float alt = 0.0f, float h_x = 0.0f, float h_y = 0.0f, float h_z = 0.0f, float speed = 0.0f);
void setPositionRad(float lat, float lon, float alt = 0.0f, float h_x = 0.0f, float h_y = 0.0f, float h_z = 0.0f, float speed = 0.0f);
void setPositionDeg(float lat, float lon, float alt = 0.0f, float h_x = 0.0f, float h_y = 0.0f, float h_z = 0.0f, float speed = 0.0f);
S_TRANS_MATRIX *getTransMatrix(void){ return &m_sMatrix; };
transform_3 *getTransform(void){ return m_pTransform; };
};
#endif // __BASICPOSITION_H_INCL__