Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Public Attributes
mrpt::obs::CObservationVelodyneScan::TPointCloud Struct Reference

Detailed Description

See point_cloud and scan_packets.

Definition at line 140 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_tintensity
 Color [0,255]. More...
 
std::vector< mrpt::system::TTimeStamptimestamp
 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...
 

Member Function Documentation

◆ clear()

void CObservationVelodyneScan::TPointCloud::clear ( )

Sets all vectors to zero length.

Definition at line 475 of file CObservationVelodyneScan.cpp.

References azimuth, intensity, and timestamp.

Referenced by mrpt::obs::CObservationVelodyneScan::generatePointCloud().

◆ clear_deep()

void CObservationVelodyneScan::TPointCloud::clear_deep ( )

Like clear(), but also enforcing freeing memory.

Definition at line 484 of file CObservationVelodyneScan.cpp.

References mrpt::obs::gnss::azimuth, and mrpt::obs::CObservation::timestamp.

◆ size()

size_t mrpt::obs::CObservationVelodyneScan::TPointCloud::size ( ) const
inline

Member Data Documentation

◆ azimuth

std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::azimuth

Original azimuth of each point (if generatePerPointAzimuth=true, empty otherwise )

Definition at line 145 of file CObservationVelodyneScan.h.

Referenced by clear(), and mrpt::obs::CObservationVelodyneScan::generatePointCloud().

◆ intensity

std::vector<uint8_t> mrpt::obs::CObservationVelodyneScan::TPointCloud::intensity

◆ timestamp

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 144 of file CObservationVelodyneScan.h.

Referenced by clear(), and mrpt::obs::CObservationVelodyneScan::generatePointCloud().

◆ x

std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::x

◆ y

std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::y

◆ z

std::vector<float> mrpt::obs::CObservationVelodyneScan::TPointCloud::z



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019