58 lines
1.2 KiB
C++
Executable File
58 lines
1.2 KiB
C++
Executable File
#pragma once
|
|
|
|
// **************************************************************************
|
|
//
|
|
// (C) Copyright 2009 Swiss SIMTEC AG
|
|
//
|
|
// **************************************************************************
|
|
//
|
|
// $HeadURL$
|
|
// $LastChangedBy$
|
|
// $LastChangedDate$
|
|
// $LastChangedRevision$
|
|
//
|
|
// **************************************************************************
|
|
|
|
// from stereotyped includes
|
|
#include "GeoPairingImplFiredBulletBalistic.hpp"
|
|
|
|
namespace N_GeoPairingImpl
|
|
{
|
|
|
|
/**
|
|
* @author Daniel.Schmid
|
|
* @version 1.0
|
|
* @created 11-Nov-2009 16:05:20
|
|
*/
|
|
class GeoPairingImplFiredBulletDted : public GeoPairingImplFiredBulletBalistic
|
|
{
|
|
public:
|
|
|
|
/**
|
|
*
|
|
* @param a_sensorData
|
|
*/
|
|
explicit GeoPairingImplFiredBulletDted(GeoPairingImplSensorData &a_sensorData);
|
|
|
|
static bool initStatic();
|
|
|
|
static void deinitStatic();
|
|
|
|
protected:
|
|
|
|
/**
|
|
*
|
|
* @param a_pos
|
|
* @param a_height
|
|
*/
|
|
bool checkTerrainHit(const N_Types::Coord3 &a_pos, Float64 &a_height) override;
|
|
|
|
private:
|
|
|
|
static double getElevation(double lon, double lat);
|
|
std::shared_ptr<N_Ballistic::BallisticService> m_ballisticService; ///< Pointer Ballistic Service
|
|
|
|
};
|
|
|
|
}
|