Open3D (C++ API)  0.18.0
Data Structures | Namespaces | Functions
Helper.h File Reference

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#include <cmath>
#include <cstdlib>
#include <functional>
#include <memory>
#include <random>
#include <stdexcept>
#include <string>
#include <tuple>
#include <vector>

Go to the source code of this file.

Data Structures

struct  open3d::utility::hash_tuple< TT >
 
struct  open3d::utility::hash_tuple< std::tuple< TT... > >
 
struct  open3d::utility::hash_eigen< T >
 
struct  open3d::utility::hash_enum_class
 

Namespaces

 open3d
 
 open3d::utility
 

Functions

std::vector< std::string > open3d::utility::SplitString (const std::string &str, const std::string &delimiters, bool trim_empty_str)
 
bool open3d::utility::ContainsString (const std::string &src, const std::string &dst)
 
bool open3d::utility::StringStartsWith (const std::string &src, const std::string &tar)
 
bool open3d::utility::StringEndsWith (const std::string &src, const std::string &tar)
 
std::string open3d::utility::JoinStrings (const std::vector< std::string > &strs, const std::string &delimiter)
 
size_t open3d::utility::WordLength (const std::string &doc, size_t start_pos, const std::string &valid_chars)
 
std::string & open3d::utility::LeftStripString (std::string &str, const std::string &chars)
 
std::string & open3d::utility::RightStripString (std::string &str, const std::string &chars)
 
std::string & open3d::utility::StripString (std::string &str, const std::string &chars)
 
std::string open3d::utility::ToLower (const std::string &s)
 Convert string to the lower case. More...
 
std::string open3d::utility::ToUpper (const std::string &s)
 Convert string to the upper case. More...
 
template<typename... Args>
std::string open3d::utility::FormatString (const std::string &format, Args... args)
 Format string. More...
 
template<typename... Args>
std::string open3d::utility::FastFormatString (const std::string &format, Args... args)
 Format string fast (Unix / BSD Only) More...
 
void open3d::utility::Sleep (int milliseconds)
 
int open3d::utility::DivUp (int x, int y)
 Computes the quotient of x/y with rounding up. More...
 
std::string open3d::utility::GetCurrentTimeStamp ()
 Returns current time stamp. More...