-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
184 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
#include "StdAfx.h" | ||
#include "V1VII.h" | ||
#include "cMMVII_Appli.h" | ||
#include "MMVII_DeclareCste.h" | ||
#include "MMVII_Geom3D.h" | ||
#include "MMVII_Sensor.h" | ||
|
||
namespace MMVII | ||
{ | ||
|
||
extern void TestReadXML(const std::string&); | ||
|
||
/* =============================================== */ | ||
/* */ | ||
/* cPushbroomSensor */ | ||
/* */ | ||
/* =============================================== */ | ||
|
||
/** Class for XXX */ | ||
|
||
class cPushbroomSensor : public cSensorImage | ||
{ | ||
public : | ||
cPushbroomSensor(); | ||
|
||
private: | ||
|
||
|
||
}; | ||
/* | ||
* | ||
* | ||
* | ||
* | ||
RatioPolyn 40 coeffs et les bornes | ||
??inherit from mapping non inversible?? | ||
DataRPC contains 2 obj of RatioPolyn, as well as validity | ||
constructor par def qui fait rien | ||
function ReadXML qui lit | ||
*/ | ||
|
||
/* =============================================== */ | ||
/* */ | ||
/* cAppliImportPushbroom */ | ||
/* */ | ||
/* =============================================== */ | ||
|
||
/** A basic application for */ | ||
|
||
class cAppliImportPushbroom : public cMMVII_Appli | ||
{ | ||
public : | ||
|
||
cAppliImportPushbroom(const std::vector<std::string> & aVArgs,const cSpecMMVII_Appli & aSpec); | ||
|
||
private : | ||
int Exe() override; | ||
cCollecSpecArg2007 & ArgObl(cCollecSpecArg2007 & anArgObl) override ; | ||
cCollecSpecArg2007 & ArgOpt(cCollecSpecArg2007 & anArgOpt) override ; | ||
|
||
// --- Mandatory ---- | ||
std::string mNameSensorIn; | ||
|
||
// --- Optionnal ---- | ||
std::string mNameSensorOut; | ||
|
||
// --- Internal ---- | ||
}; | ||
|
||
cAppliImportPushbroom::cAppliImportPushbroom(const std::vector<std::string> & aVArgs,const cSpecMMVII_Appli & aSpec) : | ||
cMMVII_Appli (aVArgs,aSpec) | ||
{ | ||
} | ||
|
||
|
||
cCollecSpecArg2007 & cAppliImportPushbroom::ArgObl(cCollecSpecArg2007 & anArgObl) | ||
{ | ||
return anArgObl | ||
<< Arg2007(mNameSensorIn,"Name of input sensor gile", {eTA2007::FileDirProj,eTA2007::Orient}) | ||
; | ||
} | ||
|
||
cCollecSpecArg2007 & cAppliImportPushbroom::ArgOpt(cCollecSpecArg2007 & anArgOpt) | ||
{ | ||
return anArgOpt | ||
<< AOpt2007(mNameSensorOut,CurOP_Out,"Name of output file if correction are done") | ||
; | ||
} | ||
|
||
int cAppliImportPushbroom::Exe() | ||
{ | ||
|
||
TestReadXML(mNameSensorIn); | ||
|
||
|
||
return EXIT_SUCCESS; | ||
} | ||
|
||
/* =============================================== */ | ||
/* :: */ | ||
/* =============================================== */ | ||
|
||
tMMVII_UnikPApli Alloc_ImportPushbroom(const std::vector<std::string> & aVArgs,const cSpecMMVII_Appli & aSpec) | ||
{ | ||
return tMMVII_UnikPApli(new cAppliImportPushbroom(aVArgs,aSpec)); | ||
} | ||
|
||
cSpecMMVII_Appli TheSpecImportPushbroom | ||
( | ||
"ImportPushbroom", | ||
Alloc_ImportPushbroom, | ||
"Import a pushbroom sensor", | ||
{eApF::Ori}, | ||
{eApDT::Ori}, | ||
{eApDT::Ori}, | ||
__FILE__ | ||
); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters