49 lines
1.3 KiB
C++
Executable File
49 lines
1.3 KiB
C++
Executable File
#pragma once
|
|
|
|
// **************************************************************************
|
|
//
|
|
// (C) Copyright 2009 Swiss SIMTEC AG
|
|
//
|
|
// **************************************************************************
|
|
//
|
|
// $HeadURL$
|
|
// $LastChangedBy$
|
|
// $LastChangedDate$
|
|
// $LastChangedRevision$
|
|
//
|
|
// **************************************************************************
|
|
|
|
// from stereotyped includes
|
|
#include <GBL_Types/Coord3.hpp>
|
|
#include <GBL_Types/GeoCoord.hpp>
|
|
#include "GeoPairingImplFiredBullet.hpp"
|
|
#include <FW_Ballistic/BallisticService.hpp>
|
|
#include <memory>
|
|
// manual class imports
|
|
|
|
namespace N_GeoPairingImpl
|
|
{
|
|
|
|
class GeoPairingImplFiredBulletBalistic : public GeoPairingImplFiredBullet
|
|
{
|
|
public:
|
|
explicit GeoPairingImplFiredBulletBalistic(const GeoPairingImplSensorData &a_sensorData,
|
|
const char *loggerName = nullptr);
|
|
|
|
|
|
GeoPairingImplFiredBullet::E_CalcResult calculate(const std::shared_ptr<N_Ballistic::BallisticService> &ballisticService) override;
|
|
|
|
protected:
|
|
|
|
N_Math::GeoCoord m_UtmSensor;
|
|
|
|
virtual bool checkTerrainHit(const N_Types::Coord3 &a_pos, double &a_height);
|
|
|
|
private:
|
|
std::shared_ptr<N_Ballistic::BallisticService> m_ballisticService; ///< Pointer Ballistic Service
|
|
|
|
};
|
|
|
|
}
|
|
|