OTB  9.0.0
Orfeo Toolbox
Static Public Member Functions | List of all members
otb::Wrapper::ElevationParametersHandler Class Reference

#include <otbWrapperElevationParametersHandler.h>

Static Public Member Functions

static OTBApplicationEngine_EXPORT void AddElevationParameters (Application::Pointer app, const std::string &key)
 
static OTBApplicationEngine_EXPORT float GetDefaultElevation (const Application::Pointer app, const std::string &key)
 
static const OTBApplicationEngine_EXPORT std::string GetGeoidFile (const Application::Pointer app, const std::string &key)
 
static const OTBApplicationEngine_EXPORT std::string GetDEMDirectory (const Application::Pointer app, const std::string &key)
 
static OTBApplicationEngine_EXPORT bool IsGeoidUsed (const Application::Pointer app, const std::string &key)
 
static OTBApplicationEngine_EXPORT bool IsDEMUsed (const Application::Pointer app, const std::string &key)
 
static OTBApplicationEngine_EXPORT void SetupDEMHandlerFromElevationParameters (const Application::Pointer app, const std::string &key)
 
 ElevationParametersHandler ()
 
virtual ~ElevationParametersHandler ()
 

Detailed Description

This class represent a helper class for elevation modes. It add the parameters automatically to the application where it is used, provide method to get the value needed.

This class allow creating a Choice list with several Elevation modes to be used, supported modes are DEM, Geoid file, average elevation. The user can get the value relative to each mode using one the following methods Get{AverageElevation, DEMDirectory, GeoidFile}.

Definition at line 46 of file otbWrapperElevationParametersHandler.h.

Constructor & Destructor Documentation

◆ ElevationParametersHandler()

otb::Wrapper::ElevationParametersHandler::ElevationParametersHandler ( )
protected

Method for getting the value of the elevation mode selected

◆ ~ElevationParametersHandler()

virtual otb::Wrapper::ElevationParametersHandler::~ElevationParametersHandler ( )
protectedvirtual

Method for getting the value of the elevation mode selected

Member Function Documentation

◆ AddElevationParameters()

static OTBApplicationEngine_EXPORT void otb::Wrapper::ElevationParametersHandler::AddElevationParameters ( Application::Pointer  app,
const std::string &  key 
)
static

Add a Group containing several choices for map projections

◆ GetDefaultElevation()

static OTBApplicationEngine_EXPORT float otb::Wrapper::ElevationParametersHandler::GetDefaultElevation ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected

◆ GetDEMDirectory()

static const OTBApplicationEngine_EXPORT std::string otb::Wrapper::ElevationParametersHandler::GetDEMDirectory ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected

◆ GetGeoidFile()

static const OTBApplicationEngine_EXPORT std::string otb::Wrapper::ElevationParametersHandler::GetGeoidFile ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected

◆ IsDEMUsed()

static OTBApplicationEngine_EXPORT bool otb::Wrapper::ElevationParametersHandler::IsDEMUsed ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected

◆ IsGeoidUsed()

static OTBApplicationEngine_EXPORT bool otb::Wrapper::ElevationParametersHandler::IsGeoidUsed ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected

◆ SetupDEMHandlerFromElevationParameters()

static OTBApplicationEngine_EXPORT void otb::Wrapper::ElevationParametersHandler::SetupDEMHandlerFromElevationParameters ( const Application::Pointer  app,
const std::string &  key 
)
static

Method for getting the value of the elevation mode selected


The documentation for this class was generated from the following file: