Open3D (C++ API)  0.13.0
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Data Structures | Namespaces | Macros | Enumerations | Functions
Console.h File Reference

(c3f9de2 (Tue Jun 1 15:34:27 2021 -0700))

#include <Eigen/Core>
#include <iostream>
#include <string>
#include <vector>
#include <fmt/format.h>
#include <fmt/printf.h>
#include <fmt/ranges.h>

Go to the source code of this file.

Data Structures

class  open3d::utility::Logger
 Logger class should be used as a global singleton object (GetInstance()). More...
 
class  open3d::utility::VerbosityContextManager
 
class  open3d::utility::ConsoleProgressBar
 

Namespaces

 open3d
 
 open3d::utility
 

Macros

#define FMT_HEADER_ONLY   1
 
#define FMT_STRING_ALIAS   1
 
#define DEFAULT_IO_BUFFER_SIZE   1024
 
#define __FN__   __PRETTY_FUNCTION__
 
#define LogError(...)
 
#define LogErrorConsole(...)
 
#define LogWarning(...)
 
#define LogWarningConsole(...)
 
#define LogInfo(...)
 
#define LogInfoConsole(...)
 
#define LogDebug(...)
 
#define LogDebugConsole(...)
 

Enumerations

enum  open3d::utility::VerbosityLevel { open3d::utility::VerbosityLevel::Error = 0, open3d::utility::VerbosityLevel::Warning = 1, open3d::utility::VerbosityLevel::Info = 2, open3d::utility::VerbosityLevel::Debug = 3 }
 

Functions

void open3d::utility::SetVerbosityLevel (VerbosityLevel level)
 
VerbosityLevel open3d::utility::GetVerbosityLevel ()
 Get global verbosity level of Open3D. More...
 
std::string open3d::utility::GetCurrentTimeStamp ()
 
std::string open3d::utility::GetProgramOptionAsString (int argc, char **argv, const std::string &option, const std::string &default_value)
 
int open3d::utility::GetProgramOptionAsInt (int argc, char **argv, const std::string &option, const int default_value)
 
double open3d::utility::GetProgramOptionAsDouble (int argc, char **argv, const std::string &option, const double default_value)
 
Eigen::VectorXd open3d::utility::GetProgramOptionAsEigenVectorXd (int argc, char **argv, const std::string &option, const Eigen::VectorXd default_value)
 
bool open3d::utility::ProgramOptionExists (int argc, char **argv, const std::string &option)
 
bool open3d::utility::ProgramOptionExistsAny (int argc, char **argv, const std::vector< std::string > &options)
 

Macro Definition Documentation

◆ __FN__

#define __FN__   __PRETTY_FUNCTION__

◆ DEFAULT_IO_BUFFER_SIZE

#define DEFAULT_IO_BUFFER_SIZE   1024

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY   1

◆ FMT_STRING_ALIAS

#define FMT_STRING_ALIAS   1

◆ LogDebug

#define LogDebug (   ...)
Value:
Logger::_LogDebug(__FILE__, __LINE__, (const char *)__FN__, false, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogDebugConsole

#define LogDebugConsole (   ...)
Value:
Logger::_LogDebug(__FILE__, __LINE__, (const char *)__FN__, true, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogError

#define LogError (   ...)
Value:
Logger::_LogError(__FILE__, __LINE__, (const char *)__FN__, false, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogErrorConsole

#define LogErrorConsole (   ...)
Value:
Logger::_LogError(__FILE__, __LINE__, (const char *)__FN__, true, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogInfo

#define LogInfo (   ...)
Value:
Logger::_LogInfo(__FILE__, __LINE__, (const char *)__FN__, false, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogInfoConsole

#define LogInfoConsole (   ...)
Value:
Logger::_LogInfo(__FILE__, __LINE__, (const char *)__FN__, true, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogWarning

#define LogWarning (   ...)
Value:
Logger::_LogWarning(__FILE__, __LINE__, (const char *)__FN__, false, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57

◆ LogWarningConsole

#define LogWarningConsole (   ...)
Value:
Logger::_LogWarning(__FILE__, __LINE__, (const char *)__FN__, true, \
__VA_ARGS__)
#define __FN__
Definition: Console.h:57