descriptor->SetDescription("Convert a DEM file into a general raster (.ras, .geom and .omd). To be used, those files have to be in a stand alone directory");
descriptor->AddInputImage();
descriptor->AddOption("OutputPath","The filename (or path filename) of the output. It generates a Output.geom, Output.omd and Output.ras file.","out",1,true,ApplicationDescriptor::String);
descriptor->AddOption("KeepTif","Keep the temporary generate tif file.","ktif",0,false,ApplicationDescriptor::Boolean);
returnEXIT_SUCCESS;
public:
/** Standard class typedefs. */
typedefDEMConvertSelf;
typedefApplicationSuperclass;
typedefitk::SmartPointer<Self>Pointer;
typedefitk::SmartPointer<constSelf>ConstPointer;
/** Standard macro */
itkNewMacro(Self);
itkTypeMacro(DEMConvert,otb::Application);
private:
DEMConvert()
{
SetName("DEMConvert");
SetDescription("Convert a DEM file into a general raster ");
SetDocName("DEM Convert Application");
SetDocLongDescription("This application convert a DEM file into a general raster (.ras, .geom and .omd). To be used, those files have to be in a stand alone directory");