OTB  6.7.0
Orfeo Toolbox
Static Public Member Functions | Protected 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
void 
SetupDEMHandlerFromElevationParameters (const Application::Pointer app, const std::string &key)
 
static
OTBApplicationEngine_EXPORT
float 
GetDefaultElevation (const Application::Pointer app, const std::string &key)
 
static
OTBApplicationEngine_EXPORT
const std::string 
GetGeoidFile (const Application::Pointer app, const std::string &key)
 
static
OTBApplicationEngine_EXPORT
const 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)
 

Protected Member Functions

 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

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

Member Function Documentation

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

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

static OTBApplicationEngine_EXPORT const 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

static OTBApplicationEngine_EXPORT const 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

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

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

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

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