Go to the documentation of this file.
20 static_assert(std::is_trivial_v<TPoint3D_data<float>>);
21 static_assert(std::is_trivial_v<TPoint3D_data<double>>);
22 static_assert(std::is_trivially_copyable_v<TPoint3D>);
23 static_assert(std::is_trivially_copyable_v<TPoint3Df>);
48 else if (this->x > p.
x)
50 else if (this->y < p.
y)
52 else if (this->y > p.
y)
65 m.
rows() == 1 && m.
cols() == 3,
"Wrong size of vector in ::fromString");
78 return in >> p.
pt >> p.
r >> p.
g >> p.
b;
83 return out << p.
pt << p.
r << p.
g << p.
b;
89 return in >> p.
pt >> p.
r >> p.
g >> p.
b >> p.
a;
94 return out << p.
pt << p.
r << p.
g << p.
b << p.
a;
XYZ point (float) + RGB(u8)
Base template for TPoint3D and TPoint3Df.
bool fromMatlabStringFormat(const std::string &s, mrpt::optional_ref< std::ostream > dump_errors_here=std::nullopt)
Reads a matrix from a string in Matlab-like format, for example: "[1 0 2; 0 4 -1]" The string must st...
Base template for TPoint2D and TPoint2Df.
mrpt::vision::TStereoCalibResults out
#define THROW_EXCEPTION(msg)
bool operator<(const COccupancyGridMap2D::TPairLikelihoodIndex &e1, const COccupancyGridMap2D::TPairLikelihoodIndex &e2)
Virtual base class for "archives": classes abstracting I/O streams.
constexpr TPoint3D_()
Default constructor.
XYZ point (float) + RGBA(u8)
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
Trivially copiable underlying data for TPoint3D 1-byte memory packed, no padding].
#define ASSERTMSG_(f, __ERROR_MSG)
Defines an assertion mechanism.
CArchive & operator>>(CArchive &a, Foo &f)
This base provides a set of functions for maths stuff.
size_type cols() const
Number of columns in the matrix.
This template class provides the basic functionality for a general 2D any-size, resizable container o...
size_type rows() const
Number of rows in the matrix.
std::ostream & operator<<(std::ostream &o, const TFTDIDevice &d)
Print out all the information of a FTDI device in textual form.
Page generated by Doxygen 1.8.17 for MRPT 2.0.3 at Fri May 29 13:06:46 UTC 2020 | |