32 #define DEFAULT_IO_BUFFER_SIZE 1024 60 const std::string &progress_info =
"");
68 const std::string &option,
69 const std::string &default_value =
"");
73 const std::string &option,
74 const int default_value = 0);
78 const std::string &option,
79 const double default_value = 0.0);
84 const std::string &option,
85 const Eigen::VectorXd default_value = Eigen::VectorXd::Zero(0));
91 const std::vector<std::string> &options);
std::string GetProgramOptionAsString(int argc, char **argv, const std::string &option, const std::string &default_value)
Definition: Console.cpp:223
void PrintDebug(const char *format,...)
Definition: Console.cpp:172
void PrintAlways(const char *format,...)
Definition: Console.cpp:183
double GetProgramOptionAsDouble(int argc, char **argv, const std::string &option, const double default_value)
Definition: Console.cpp:256
bool ProgramOptionExistsAny(int argc, char **argv, const std::vector< std::string > &options)
Definition: Console.cpp:308
void ResetConsoleProgress(const int64_t expected_count, const std::string &progress_info)
Definition: Console.cpp:194
void PrintInfo(const char *format,...)
Definition: Console.cpp:163
std::string GetCurrentTimeStamp()
Definition: Console.cpp:213
VerbosityLevel GetVerbosityLevel()
Definition: Console.cpp:139
void SetVerbosityLevel(VerbosityLevel verbosity_level)
Definition: Console.cpp:135
void PrintWarning(const char *format,...)
Definition: Console.cpp:152
int GetProgramOptionAsInt(int argc, char **argv, const std::string &option, const int default_value)
Definition: Console.cpp:235
VerbosityLevel
Definition: Console.h:37
void PrintError(const char *format,...)
Definition: Console.cpp:141
Definition: PinholeCameraIntrinsic.cpp:34
Eigen::VectorXd GetProgramOptionAsEigenVectorXd(int argc, char **argv, const std::string &option, const Eigen::VectorXd default_value)
Definition: Console.cpp:275
bool ProgramOptionExists(int argc, char **argv, const std::string &option)
Definition: Console.cpp:304
void AdvanceConsoleProgress()
Definition: Console.cpp:208