Open3D (C++ API)
0.11.0
|
Namespaces | |
detail_ | |
filesystem | |
Data Structures | |
class | bad_optional_access |
class | ConsoleProgressBar |
struct | ConsoleProgressUpdater |
update_progress(double percent) functor for ConsoleProgressBar More... | |
struct | constexpr_optional_base |
union | constexpr_storage_t |
class | CountingProgressReporter |
class | FPSTimer |
struct | hash_eigen |
struct | hash_enum_class |
struct | hash_tuple |
struct | hash_tuple< std::tuple< TT... > > |
class | IJsonConvertible |
struct | in_place_index_t |
struct | in_place_t |
struct | in_place_type_t |
class | Logger |
struct | MiniVec |
struct | nullopt_t |
class | optional |
class | optional< T & > |
class | optional< T && > |
struct | optional_base |
class | ScopeTimer |
union | storage_t |
class | Timer |
struct | trivial_init_t |
class | VerbosityContextManager |
Typedefs | |
using | Matrix4d_allocator = Eigen::aligned_allocator< Eigen::Matrix4d > |
using | Matrix6d_allocator = Eigen::aligned_allocator< Eigen::Matrix6d > |
using | Vector2d_allocator = Eigen::aligned_allocator< Eigen::Vector2d > |
using | Vector3uint8_allocator = Eigen::aligned_allocator< Eigen::Vector3uint8 > |
using | Vector4i_allocator = Eigen::aligned_allocator< Eigen::Vector4i > |
using | Vector4d_allocator = Eigen::aligned_allocator< Eigen::Vector4d > |
using | Vector6d_allocator = Eigen::aligned_allocator< Eigen::Vector6d > |
template<class T > | |
using | OptionalBase = typename std::conditional< std::is_trivially_destructible< T >::value, constexpr_optional_base< typename std::remove_const< T >::type >, optional_base< typename std::remove_const< T >::type > >::type |
Enumerations | |
enum | VerbosityLevel { VerbosityLevel::Error = 0, VerbosityLevel::Warning = 1, VerbosityLevel::Info = 2, VerbosityLevel::Debug = 3 } |
Functions | |
std::string | GetCurrentTimeStamp () |
std::string | GetProgramOptionAsString (int argc, char **argv, const std::string &option, const std::string &default_value) |
int | GetProgramOptionAsInt (int argc, char **argv, const std::string &option, const int default_value) |
double | GetProgramOptionAsDouble (int argc, char **argv, const std::string &option, const double default_value) |
Eigen::VectorXd | GetProgramOptionAsEigenVectorXd (int argc, char **argv, const std::string &option, const Eigen::VectorXd default_value) |
bool | ProgramOptionExists (int argc, char **argv, const std::string &option) |
bool | ProgramOptionExistsAny (int argc, char **argv, const std::vector< std::string > &options) |
void | SetVerbosityLevel (VerbosityLevel level) |
VerbosityLevel | GetVerbosityLevel () |
Get global verbosity level of Open3D. More... | |
template<typename... Args> | |
void | LogError (const char *format, const Args &... args) |
template<typename... Args> | |
void | LogWarning (const char *format, const Args &... args) |
template<typename... Args> | |
void | LogInfo (const char *format, const Args &... args) |
template<typename... Args> | |
void | LogDebug (const char *format, const Args &... args) |
std::tuple< bool, Eigen::VectorXd > | SolveLinearSystemPSD (const Eigen::MatrixXd &A, const Eigen::VectorXd &b, bool prefer_sparse, bool check_symmetric, bool check_det, bool check_psd) |
Function to solve Ax=b. More... | |
Eigen::Matrix4d | TransformVector6dToMatrix4d (const Eigen::Vector6d &input) |
Eigen::Vector6d | TransformMatrix4dToVector6d (const Eigen::Matrix4d &input) |
std::tuple< bool, Eigen::Matrix4d > | SolveJacobianSystemAndObtainExtrinsicMatrix (const Eigen::Matrix6d &JTJ, const Eigen::Vector6d &JTr) |
std::tuple< bool, std::vector< Eigen::Matrix4d, Matrix4d_allocator > > | SolveJacobianSystemAndObtainExtrinsicMatrixArray (const Eigen::MatrixXd &JTJ, const Eigen::VectorXd &JTr) |
template<typename MatType , typename VecType > | |
std::tuple< MatType, VecType, double > | ComputeJTJandJTr (std::function< void(int, VecType &, double &, double &)> f, int iteration_num, bool verbose) |
template<typename MatType , typename VecType > | |
std::tuple< MatType, VecType, double > | ComputeJTJandJTr (std::function< void(int, std::vector< VecType, Eigen::aligned_allocator< VecType >> &, std::vector< double > &)> f, int iteration_num, bool verbose) |
template std::tuple< Eigen::Matrix6d, Eigen::Vector6d, double > | ComputeJTJandJTr (std::function< void(int, Eigen::Vector6d &, double &, double &)> f, int iteration_num, bool verbose) |
template std::tuple< Eigen::Matrix6d, Eigen::Vector6d, double > | ComputeJTJandJTr (std::function< void(int, std::vector< Eigen::Vector6d, Vector6d_allocator > &, std::vector< double > &)> f, int iteration_num, bool verbose) |
Eigen::Matrix3d | RotationMatrixX (double radians) |
Eigen::Matrix3d | RotationMatrixY (double radians) |
Eigen::Matrix3d | RotationMatrixZ (double radians) |
Eigen::Vector3uint8 | ColorToUint8 (const Eigen::Vector3d &color) |
Eigen::Vector3d | ColorToDouble (uint8_t r, uint8_t g, uint8_t b) |
Color conversion from uint8_t 0-255 to double [0,1]. More... | |
Eigen::Vector3d | ColorToDouble (const Eigen::Vector3uint8 &rgb) |
template<typename IdxType > | |
Eigen::Matrix3d | ComputeCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< IdxType > &indices) |
Function to compute the covariance matrix of a set of points. More... | |
template<typename IdxType > | |
std::tuple< Eigen::Vector3d, Eigen::Matrix3d > | ComputeMeanAndCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< IdxType > &indices) |
Function to compute the mean and covariance matrix of a set of points. More... | |
template Eigen::Matrix3d | ComputeCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< size_t > &indices) |
template std::tuple< Eigen::Vector3d, Eigen::Matrix3d > | ComputeMeanAndCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< size_t > &indices) |
template Eigen::Matrix3d | ComputeCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< int > &indices) |
template std::tuple< Eigen::Vector3d, Eigen::Matrix3d > | ComputeMeanAndCovariance (const std::vector< Eigen::Vector3d > &points, const std::vector< int > &indices) |
void | SplitString (std::vector< std::string > &tokens, const std::string &str, const std::string &delimiters, bool trim_empty_str) |
std::string & | LeftStripString (std::string &str, const std::string &chars) |
std::string & | RightStripString (std::string &str, const std::string &chars) |
std::string & | StripString (std::string &str, const std::string &chars) |
std::string | ToLower (const std::string &s) |
Convert string to the lower case. More... | |
std::string | ToUpper (const std::string &s) |
Convert string to the upper case. More... | |
size_t | WordLength (const std::string &doc, size_t start_pos, const std::string &valid_chars) |
void | Sleep (int milliseconds) |
int | UniformRandInt (const int min, const int max) |
int | DivUp (int x, int y) |
Computes the quotient of x/y with rounding up. More... | |
template<typename T > | |
T | UniformRandFloatBinaryFriendly (unsigned int power=5) |
template<int N> | |
FN_SPECIFIERS MiniVec< float, N > | floor (const MiniVec< float, N > &a) |
template<int N> | |
FN_SPECIFIERS MiniVec< double, N > | floor (const MiniVec< double, N > &a) |
template<class T , int N> | |
FN_SPECIFIERS bool | operator== (const MiniVec< T, N > &a, const MiniVec< T, N > &b) |
template<class T , int N> | |
FN_SPECIFIERS bool | operator!= (const MiniVec< T, N > &a, const MiniVec< T, N > &b) |
template<class T , int N> | |
FN_SPECIFIERS MiniVec< T, N > | operator- (const MiniVec< T, N > &a) |
template<class T > | |
constexpr T && | constexpr_forward (typename std::remove_reference< T >::type &t) noexcept |
template<class T > | |
constexpr T && | constexpr_forward (typename std::remove_reference< T >::type &&t) noexcept |
template<class T > | |
constexpr std::remove_reference< T >::type && | constexpr_move (T &&t) noexcept |
template<class T > | |
constexpr bool | operator== (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator!= (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator< (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator> (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator<= (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator>= (const optional< T > &x, const optional< T > &y) |
template<class T > | |
constexpr bool | operator== (const optional< T > &x, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator== (nullopt_t, const optional< T > &x) noexcept |
template<class T > | |
constexpr bool | operator!= (const optional< T > &x, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator!= (nullopt_t, const optional< T > &x) noexcept |
template<class T > | |
constexpr bool | operator< (const optional< T > &, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator< (nullopt_t, const optional< T > &x) noexcept |
template<class T > | |
constexpr bool | operator<= (const optional< T > &x, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator<= (nullopt_t, const optional< T > &) noexcept |
template<class T > | |
constexpr bool | operator> (const optional< T > &x, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator> (nullopt_t, const optional< T > &) noexcept |
template<class T > | |
constexpr bool | operator>= (const optional< T > &, nullopt_t) noexcept |
template<class T > | |
constexpr bool | operator>= (nullopt_t, const optional< T > &x) noexcept |
template<class T > | |
constexpr bool | operator== (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator== (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator!= (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator!= (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator< (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator> (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator> (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator< (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator>= (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator<= (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator<= (const optional< T > &x, const T &v) |
template<class T > | |
constexpr bool | operator>= (const T &v, const optional< T > &x) |
template<class T > | |
constexpr bool | operator== (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator== (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator!= (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator!= (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator< (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator> (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator> (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator< (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator>= (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator<= (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator<= (const optional< T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator>= (const T &v, const optional< T &> &x) |
template<class T > | |
constexpr bool | operator== (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator== (const T &v, const optional< const T &> &x) |
template<class T > | |
constexpr bool | operator!= (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator!= (const T &v, const optional< const T &> &x) |
template<class T > | |
constexpr bool | operator< (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator> (const T &v, const optional< const T &> &x) |
template<class T > | |
constexpr bool | operator> (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator< (const T &v, const optional< const T &> &x) |
template<class T > | |
constexpr bool | operator>= (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator<= (const T &v, const optional< const T &> &x) |
template<class T > | |
constexpr bool | operator<= (const optional< const T &> &x, const T &v) |
template<class T > | |
constexpr bool | operator>= (const T &v, const optional< const T &> &x) |
template<class T > | |
void | swap (optional< T > &x, optional< T > &y) noexcept(noexcept(x.swap(y))) |
template<class T > | |
constexpr optional< typename std::decay< T >::type > | make_optional (T &&v) |
template<class X > | |
constexpr optional< X & > | make_optional (std::reference_wrapper< X > v) |
template<class Tin , class Tout > | |
void | InclusivePrefixSum (const Tin *first, const Tin *last, Tout *out) |
Variables | |
constexpr in_place_t | in_place {} |
constexpr struct open3d::utility::trivial_init_t | trivial_init |
constexpr nullopt_t | nullopt {nullopt_t::init()} |
using open3d::utility::Matrix4d_allocator = typedef Eigen::aligned_allocator<Eigen::Matrix4d> |
using open3d::utility::Matrix6d_allocator = typedef Eigen::aligned_allocator<Eigen::Matrix6d> |
using open3d::utility::OptionalBase = typedef typename std::conditional< std::is_trivially_destructible<T>::value, constexpr_optional_base<typename std::remove_const< T>::type>, optional_base<typename std::remove_const<T>::type> >::type |
using open3d::utility::Vector2d_allocator = typedef Eigen::aligned_allocator<Eigen::Vector2d> |
using open3d::utility::Vector3uint8_allocator = typedef Eigen::aligned_allocator<Eigen::Vector3uint8> |
using open3d::utility::Vector4d_allocator = typedef Eigen::aligned_allocator<Eigen::Vector4d> |
using open3d::utility::Vector4i_allocator = typedef Eigen::aligned_allocator<Eigen::Vector4i> |
using open3d::utility::Vector6d_allocator = typedef Eigen::aligned_allocator<Eigen::Vector6d> |
|
strong |
Eigen::Vector3d open3d::utility::ColorToDouble | ( | uint8_t | r, |
uint8_t | g, | ||
uint8_t | b | ||
) |
Color conversion from uint8_t 0-255 to double [0,1].
Eigen::Vector3d open3d::utility::ColorToDouble | ( | const Eigen::Vector3uint8 & | rgb | ) |
Eigen::Vector3uint8 open3d::utility::ColorToUint8 | ( | const Eigen::Vector3d & | color | ) |
Color conversion from double [0,1] to uint8_t 0-255; this does proper clipping and rounding
Eigen::Matrix3d open3d::utility::ComputeCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< IdxType > & | indices | ||
) |
Function to compute the covariance matrix of a set of points.
template Eigen::Matrix3d open3d::utility::ComputeCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< size_t > & | indices | ||
) |
template Eigen::Matrix3d open3d::utility::ComputeCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< int > & | indices | ||
) |
std::tuple< MatType, VecType, double > open3d::utility::ComputeJTJandJTr | ( | std::function< void(int, VecType &, double &, double &)> | f, |
int | iteration_num, | ||
bool | verbose = true |
||
) |
Function to compute JTJ and Jtr Input: function pointer f and total number of rows of Jacobian matrix Output: JTJ, JTr, sum of r^2 Note: f takes index of row, and outputs corresponding residual and row vector.
std::tuple< MatType, VecType, double > open3d::utility::ComputeJTJandJTr | ( | ) |
Function to compute JTJ and Jtr Input: function pointer f and total number of rows of Jacobian matrix Output: JTJ, JTr, sum of r^2 Note: f takes index of row, and outputs corresponding residual and row vector.
template std::tuple<Eigen::Matrix6d, Eigen::Vector6d, double> open3d::utility::ComputeJTJandJTr | ( | std::function< void(int, Eigen::Vector6d &, double &, double &)> | f, |
int | iteration_num, | ||
bool | verbose | ||
) |
template std::tuple<Eigen::Matrix6d, Eigen::Vector6d, double> open3d::utility::ComputeJTJandJTr | ( | std::function< void(int, std::vector< Eigen::Vector6d, Vector6d_allocator > &, std::vector< double > &)> | f, |
int | iteration_num, | ||
bool | verbose | ||
) |
std::tuple< Eigen::Vector3d, Eigen::Matrix3d > open3d::utility::ComputeMeanAndCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< IdxType > & | indices | ||
) |
Function to compute the mean and covariance matrix of a set of points.
template std::tuple<Eigen::Vector3d, Eigen::Matrix3d> open3d::utility::ComputeMeanAndCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< size_t > & | indices | ||
) |
template std::tuple<Eigen::Vector3d, Eigen::Matrix3d> open3d::utility::ComputeMeanAndCovariance | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< int > & | indices | ||
) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Computes the quotient of x/y with rounding up.
FN_SPECIFIERS MiniVec<float, N> open3d::utility::floor | ( | const MiniVec< float, N > & | a | ) |
FN_SPECIFIERS MiniVec<double, N> open3d::utility::floor | ( | const MiniVec< double, N > & | a | ) |
std::string open3d::utility::GetCurrentTimeStamp | ( | ) |
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 | ||
) |
int open3d::utility::GetProgramOptionAsInt | ( | int | argc, |
char ** | argv, | ||
const std::string & | option, | ||
const int | default_value | ||
) |
std::string open3d::utility::GetProgramOptionAsString | ( | int | argc, |
char ** | argv, | ||
const std::string & | option, | ||
const std::string & | default_value | ||
) |
|
inline |
Get global verbosity level of Open3D.
void open3d::utility::InclusivePrefixSum | ( | const Tin * | first, |
const Tin * | last, | ||
Tout * | out | ||
) |
std::string & open3d::utility::LeftStripString | ( | std::string & | str, |
const std::string & | chars | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
constexpr optional<typename std::decay<T>::type> open3d::utility::make_optional | ( | T && | v | ) |
constexpr optional<X&> open3d::utility::make_optional | ( | std::reference_wrapper< X > | v | ) |
FN_SPECIFIERS bool open3d::utility::operator!= | ( | const MiniVec< T, N > & | a, |
const MiniVec< T, N > & | b | ||
) |
constexpr bool open3d::utility::operator!= | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator!= | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator!= | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator!= | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator!= | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator!= | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator!= | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
FN_SPECIFIERS MiniVec<T, N> open3d::utility::operator- | ( | const MiniVec< T, N > & | a | ) |
constexpr bool open3d::utility::operator< | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator< | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator< | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator< | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator< | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator< | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator< | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
constexpr bool open3d::utility::operator<= | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator<= | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator<= | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator<= | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator<= | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator<= | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
constexpr bool open3d::utility::operator<= | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
FN_SPECIFIERS bool open3d::utility::operator== | ( | const MiniVec< T, N > & | a, |
const MiniVec< T, N > & | b | ||
) |
constexpr bool open3d::utility::operator== | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator== | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator== | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator== | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator== | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator== | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator== | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
constexpr bool open3d::utility::operator> | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator> | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator> | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator> | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator> | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator> | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
constexpr bool open3d::utility::operator> | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator>= | ( | const optional< T > & | x, |
const optional< T > & | y | ||
) |
|
noexcept |
|
noexcept |
constexpr bool open3d::utility::operator>= | ( | const optional< T > & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator>= | ( | const T & | v, |
const optional< T > & | x | ||
) |
constexpr bool open3d::utility::operator>= | ( | const optional< T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator>= | ( | const T & | v, |
const optional< T &> & | x | ||
) |
constexpr bool open3d::utility::operator>= | ( | const optional< const T &> & | x, |
const T & | v | ||
) |
constexpr bool open3d::utility::operator>= | ( | const T & | v, |
const optional< const T &> & | x | ||
) |
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 | ||
) |
std::string & open3d::utility::RightStripString | ( | std::string & | str, |
const std::string & | chars | ||
) |
Eigen::Matrix3d open3d::utility::RotationMatrixX | ( | double | radians | ) |
Eigen::Matrix3d open3d::utility::RotationMatrixY | ( | double | radians | ) |
Eigen::Matrix3d open3d::utility::RotationMatrixZ | ( | double | radians | ) |
|
inline |
Set global verbosity level of Open3D
level | Messages with equal or less than verbosity_level verbosity will be printed. |
void open3d::utility::Sleep | ( | int | milliseconds | ) |
std::tuple< bool, Eigen::Matrix4d > open3d::utility::SolveJacobianSystemAndObtainExtrinsicMatrix | ( | const Eigen::Matrix6d & | JTJ, |
const Eigen::Vector6d & | JTr | ||
) |
Function to solve Jacobian system Input: 6x6 Jacobian matrix and 6-dim residual vector. Output: tuple of is_success, 4x4 extrinsic matrices.
std::tuple< bool, std::vector< Eigen::Matrix4d, Matrix4d_allocator > > open3d::utility::SolveJacobianSystemAndObtainExtrinsicMatrixArray | ( | const Eigen::MatrixXd & | JTJ, |
const Eigen::VectorXd & | JTr | ||
) |
Function to solve Jacobian system Input: 6nx6n Jacobian matrix and 6n-dim residual vector. Output: tuple of is_success, n 4x4 motion matrices.
std::tuple< bool, Eigen::VectorXd > open3d::utility::SolveLinearSystemPSD | ( | const Eigen::MatrixXd & | A, |
const Eigen::VectorXd & | b, | ||
bool | prefer_sparse, | ||
bool | check_symmetric, | ||
bool | check_det, | ||
bool | check_psd | ||
) |
Function to solve Ax=b.
void open3d::utility::SplitString | ( | std::vector< std::string > & | tokens, |
const std::string & | str, | ||
const std::string & | delimiters = " " , |
||
bool | trim_empty_str = true |
||
) |
Function to split a string, mimics boost::split http://stackoverflow.com/questions/236129/split-a-string-in-c
std::string & open3d::utility::StripString | ( | std::string & | str, |
const std::string & | chars = "\\\\\ " |
||
) |
Strip empty charactors in front and after string. Similar to Python's str.strip()
std::string open3d::utility::ToLower | ( | const std::string & | str | ) |
Convert string to the lower case.
std::string open3d::utility::ToUpper | ( | const std::string & | str | ) |
Convert string to the upper case.
Eigen::Vector6d open3d::utility::TransformMatrix4dToVector6d | ( | const Eigen::Matrix4d & | input | ) |
Function to transform 4D motion matrix to 6D motion vector this is consistent with the matlab function in the Aerospace Toolbox Reference: https://github.com/qianyizh/ElasticReconstruction/blob/master/Matlab_Toolbox/Core/mrEvaluateRegistration.m
Eigen::Matrix4d open3d::utility::TransformVector6dToMatrix4d | ( | const Eigen::Vector6d & | input | ) |
Function to transform 6D motion vector to 4D motion matrix Reference: https://eigen.tuxfamily.org/dox/group__TutorialGeometry.html#TutorialGeoTransform
T open3d::utility::UniformRandFloatBinaryFriendly | ( | unsigned int | power = 5 | ) |
Uniformly distributed binary-friendly floating point number in [0, 1).
Binary-friendly means that the random number can be represented by floating point with a few bits of mantissa. The binary-friendliness is useful for unit testing since it reduces the chances of numerical errors.
E.g.
power | The possible random numbers are: n * 1 / (2 ^ power), where n = 0, 1, 2, ..., (2 ^ power - 1). |
int open3d::utility::UniformRandInt | ( | const int | min, |
const int | max | ||
) |
Thread-safe function returning a pseudo-random integer. The integer is drawn from a uniform distribution bounded by min and max (inclusive)
size_t open3d::utility::WordLength | ( | const std::string & | doc, |
size_t | start_pos, | ||
const std::string & | valid_chars = "_" |
||
) |
String util: find length of current word staring from a position By default, alpha numeric chars and chars in valid_chars are considered as valid charactors in a word
constexpr in_place_t open3d::utility::in_place {} |
constexpr nullopt_t open3d::utility::nullopt {nullopt_t::init()} |
constexpr struct open3d::utility::trivial_init_t open3d::utility::trivial_init |