See point_cloud and scan_packets.
Definition at line 184 of file CObservationVelodyneScan.h.
#include <mrpt/obs/CObservationVelodyneScan.h>
Public Member Functions | |
size_t | size () const |
void | clear () |
Sets all vectors to zero length. More... | |
void | clear_deep () |
Like clear(), but also enforcing freeing memory. More... | |
Public Attributes | |
std::vector< float > | x |
std::vector< float > | y |
std::vector< float > | z |
std::vector< uint8_t > | intensity |
Color [0,255]. More... | |
std::vector< mrpt::system::TTimeStamp > | timestamp |
Timestamp for each point (if generatePerPointTimestamp =true in TGeneratePointCloudParameters ), or empty vector if not populated (default). More... | |
std::vector< float > | azimuth |
Original azimuth of each point (if generatePerPointAzimuth =true, empty otherwise ) More... | |
void CObservationVelodyneScan::TPointCloud::clear | ( | ) |
Sets all vectors to zero length.
Definition at line 622 of file CObservationVelodyneScan.cpp.
References azimuth, intensity, and timestamp.
Referenced by mrpt::obs::CObservationVelodyneScan::generatePointCloud().
void CObservationVelodyneScan::TPointCloud::clear_deep | ( | ) |
Like clear(), but also enforcing freeing memory.
Definition at line 631 of file CObservationVelodyneScan.cpp.
References mrpt::obs::gnss::azimuth, and mrpt::obs::CObservation::timestamp.
|
inline |
Definition at line 197 of file CObservationVelodyneScan.h.
Referenced by mrpt::maps::CPointsMap::loadFromVelodyneScan().
std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::azimuth |
Original azimuth of each point (if generatePerPointAzimuth
=true, empty otherwise )
Definition at line 195 of file CObservationVelodyneScan.h.
Referenced by clear(), and mrpt::obs::CObservationVelodyneScan::generatePointCloud().
std::vector<uint8_t> mrpt::obs::CObservationVelodyneScan::TPointCloud::intensity |
Color [0,255].
Definition at line 188 of file CObservationVelodyneScan.h.
Referenced by clear(), mrpt::obs::CObservationVelodyneScan::generatePointCloud(), mrpt::maps::CPointsMap::loadFromVelodyneScan(), mrpt::obs::CObservationVelodyneScan::readFromStream(), and mrpt::obs::CObservationVelodyneScan::writeToStream().
std::vector<mrpt::system::TTimeStamp> mrpt::obs::CObservationVelodyneScan::TPointCloud::timestamp |
Timestamp for each point (if generatePerPointTimestamp
=true in TGeneratePointCloudParameters
), or empty vector if not populated (default).
Definition at line 192 of file CObservationVelodyneScan.h.
Referenced by clear(), and mrpt::obs::CObservationVelodyneScan::generatePointCloud().
std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::x |
std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::y |
std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::z |
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |