MRPT
2.0.3
|
Specialization mrpt::opengl::PointCloudAdapter<CObservation3DRangeScan>
Definition at line 621 of file CObservation3DRangeScan.h.
#include <mrpt/obs/CObservation3DRangeScan.h>
Public Types | |
using | coords_t = float |
The type of each point XYZ coordinates. More... | |
Public Member Functions | |
PointCloudAdapter (const mrpt::obs::CObservation3DRangeScan &obj) | |
Constructor (accept a const ref for convenience) More... | |
size_t | size () const |
Get number of points. More... | |
void | resize (const size_t N) |
Set number of points (to uninitialized values) More... | |
void | setDimensions (size_t height, size_t width) |
Does nothing as of now. More... | |
template<typename T > | |
void | getPointXYZ (const size_t idx, T &x, T &y, T &z) const |
Get XYZ coordinates of i'th point. More... | |
void | setPointXYZ (const size_t idx, const coords_t x, const coords_t y, const coords_t z) |
Set XYZ coordinates of i'th point. More... | |
void | setInvalidPoint (const size_t idx) |
Set XYZ coordinates of i'th point. More... | |
Static Public Attributes | |
static constexpr bool | HAS_RGB = false |
Has any color RGB info? More... | |
static constexpr bool | HAS_RGBf = false |
Has native RGB info (as floats)? More... | |
static constexpr bool | HAS_RGBu8 = false |
Has native RGB info (as uint8_t)? More... | |
Private Attributes | |
mrpt::obs::CObservation3DRangeScan & | m_obj |
using mrpt::opengl::PointCloudAdapter< mrpt::obs::CObservation3DRangeScan >::coords_t = float |
The type of each point XYZ coordinates.
Definition at line 628 of file CObservation3DRangeScan.h.
|
inline |
Constructor (accept a const ref for convenience)
Definition at line 637 of file CObservation3DRangeScan.h.
|
inline |
Get XYZ coordinates of i'th point.
Definition at line 653 of file CObservation3DRangeScan.h.
References mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::points3D_y, and mrpt::obs::CObservation3DRangeScan::points3D_z.
|
inline |
Set number of points (to uninitialized values)
Definition at line 644 of file CObservation3DRangeScan.h.
References mrpt::obs::CObservation3DRangeScan::hasPoints3D, and mrpt::obs::CObservation3DRangeScan::resizePoints3DVectors().
|
inline |
Does nothing as of now.
Definition at line 650 of file CObservation3DRangeScan.h.
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 668 of file CObservation3DRangeScan.h.
References mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::points3D_y, and mrpt::obs::CObservation3DRangeScan::points3D_z.
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 660 of file CObservation3DRangeScan.h.
References mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::points3D_y, and mrpt::obs::CObservation3DRangeScan::points3D_z.
|
inline |
Get number of points.
Definition at line 642 of file CObservation3DRangeScan.h.
References mrpt::obs::CObservation3DRangeScan::points3D_x.
|
static |
Has any color RGB info?
Definition at line 630 of file CObservation3DRangeScan.h.
|
static |
Has native RGB info (as floats)?
Definition at line 632 of file CObservation3DRangeScan.h.
|
static |
Has native RGB info (as uint8_t)?
Definition at line 634 of file CObservation3DRangeScan.h.
|
private |
Definition at line 624 of file CObservation3DRangeScan.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020 |