triskele/include/Appli/Option.hpp
Git Merciol eb0e4b26cb nouveau fichier : include/Appli/Option.hpp
nouveau fichier : src/Appli/Option.cpp
2018-02-18 08:26:02 +01:00

38 lines
814 B
C++

#ifndef _OTB_TRISKELE_OPTION_HPP
#define _OTB_TRISKELE_OPTION_HPP
#include <iostream>
#include <vector>
#include <boost/thread.hpp>
#include "triskeleBase.hpp"
#include "IImage.hpp"
namespace otb {
namespace triskele {
using namespace ::triskele;
// ========================================
class Option {
public:
bool debugFlag;
IImage inputImage;
IImage outputImage;
Point topLeft = NullPoint;
Size size = NullSize;
DimChanel chanel = 0;
unsigned int treeCoreCount = boost::thread::hardware_concurrency ();
Option ();
Option (int argc, char** argv);
void usage (string msg = "", bool hidden = false);
void parse (int argc, char** argv);
};
}//namespace triskele
}//namespace otb
#endif //_OTB_TRISKELE_OPTION_HPP