33 #define DEFAULT_IO_BUFFER_SIZE 1024 61 const std::string &progress_info =
"");
69 const std::string &option,
70 const std::string &default_value =
"");
74 const std::string &option,
75 const int default_value = 0);
79 const std::string &option,
80 const double default_value = 0.0);
85 const std::string &option,
86 const Eigen::VectorXd default_value = Eigen::VectorXd::Zero(0));
92 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:38
void PrintError(const char *format,...)
Definition: Console.cpp:141
Definition: PinholeCameraIntrinsic.cpp:33
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