Main MRPT website > C++ reference for MRPT 1.9.9
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 181 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 560 of file CObservationVelodyneScan.cpp.

References mrpt::obs::gnss::azimuth.

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

◆ clear_deep()

void CObservationVelodyneScan::TPointCloud::clear_deep ( )

Like clear(), but also enforcing freeing memory.

Definition at line 569 of file CObservationVelodyneScan.cpp.

References mrpt::obs::gnss::azimuth.

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

Referenced by 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 189 of file CObservationVelodyneScan.h.

Referenced by 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.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019