|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbDEMHandler_h
22 #define otbDEMHandler_h
60 virtual void Notify()
const = 0;
212 void Notify()
const override;
291 mutable std::vector<std::shared_ptr<DEMHandlerTLS>>
m_tlses;
310 double GetGeoidHeight (DEMHandlerTLS
const&,
double lon,
double lat);
313 double GetGeoidHeight (DEMHandlerTLS
const&, itk::Point<double, 2> geoPoint);
void DetachObserver(DEMObserverInterface *observer) override
void ClearElevationParameters()
Observer design pattern to keep track of DEM configuration changes.
static DEMHandler & GetInstance()
double GetHeightAboveMSL(DEMHandlerTLS const &, double lon, double lat)
void RegisterConfigurationInHandler(DEMHandlerTLS &handler) const
void SetDefaultHeightAboveEllipsoid(double height)
DEMSubjectInterface & operator=(DEMSubjectInterface const &)=delete
std::string const & GetDEMDirectory(std::vcl_size_t idx=0) const
DEMHandlerTLS const & GetHandlerForCurrentThread() const
void OpenDEMFile(std::string path)
DEMObserverInterface & operator=(DEMObserverInterface const &)=delete
std::shared_ptr< DEMHandlerTLS > DoFetchOrCreateHandler() const
double GetHeightAboveMSL(double lon, double lat) const
DEMSubjectInterface()=default
double GetGeoidHeight(DEMHandlerTLS const &, double lon, double lat)
std::vcl_size_t GetNumberOfDEMDirectories() const noexcept
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Single access point for DEM data retrieval.
~DEMSubjectInterface()=default
DEMObserverInterface()=default
virtual void DetachObserver(DEMObserverInterface *observer)=0
std::vector< otb::GDALDatasetWrapper::Pointer > m_DatasetList
bool OpenGeoidFile(std::string geoidFile)
void operator=(const Self &)=delete
std::string m_GeoidFilename
virtual void Notify() const =0
static constexpr char const * DEM_SHIFTED_DATASET_PATH
static constexpr char const * DEM_DATASET_PATH
virtual void AttachObserver(DEMObserverInterface *observer)=0
~DEMObserverInterface()=default
std::vcl_size_t GetDEMCount() const noexcept
std::string const & GetGeoidFile() const noexcept
double m_DefaultHeightAboveEllipsoid
itk::Point< double, 2 > PointType
double GetDefaultHeightAboveEllipsoid() const noexcept
double GetHeightAboveEllipsoid(DEMHandlerTLS const &, double lon, double lat)
Observer design pattern to keep track of DEM configuration changes.
std::vector< std::shared_ptr< DEMHandlerTLS > > m_tlses
bool IsValidDEMDirectory(const std::string &DEMDirectory) const
void AttachObserver(DEMObserverInterface *observer) override
static constexpr char const * DEM_WARPED_DATASET_PATH
std::list< DEMObserverInterface * > m_ObserverList
void Notify() const override
double GetGeoidHeight(double lon, double lat) const
std::vector< std::string > m_DEMDirectories
void OpenDEMDirectory(std::string DEMDirectory)
double GetHeightAboveEllipsoid(double lon, double lat) const