#include <cstddef>
#include <cstdint>
#include <string>
#include <stdexcept>
#include <utility>
#include <iostream>
#include <initializer_list>
#include <opencv2/core/core.hpp>
Go to the source code of this file.
|
vec3 | tlz::mul_h (const mat44 &mat, const vec3 &vec) |
|
vec2 | tlz::mul_h (const mat33 &mat, const vec2 &vec) |
|
template<typename In , typename Out , typename Func > |
std::vector< Out > | tlz::point_vec_conv_tpl (const std::vector< In > &in, Func func) |
|
constexpr long double | tlz::operator""_deg (long double deg) |
|
bool | tlz::operator== (const index_2d &a, const index_2d &b) |
|
bool | tlz::operator!= (const index_2d &a, const index_2d &b) |
|
bool | tlz::operator< (const index_2d &a, const index_2d &b) |
|
bool | tlz::operator<= (const index_2d &a, const index_2d &b) |
|
bool | tlz::operator> (const index_2d &a, const index_2d &b) |
|
bool | tlz::operator>= (const index_2d &a, const index_2d &b) |
|
std::string | tlz::encode_view_index (view_index idx) |
|
view_index | tlz::decode_view_index (const std::string &key) |
|
std::ostream & | tlz::operator<< (std::ostream &, const view_index &) |
|
#define POINT_CONVERT |
( |
|
__name__, |
|
|
|
__in__, |
|
|
|
__out__, |
|
|
|
__expr__ |
|
) |
| |
Value:inline __out__ __name__(const __in__& pt) { \
return __expr__; \
} \
inline std::vector<__out__> __name__(const std::vector<__in__>& pts) { \
return point_vec_conv_tpl<__in__, __out__>(pts, static_cast<__out__(*)(const __in__&)>(&__name__)); \
}
Definition at line 54 of file common.h.