libLAS interface for CPointsMap (in
Overview
#include <mrpt/maps/CPointsMaps_liblas.h>)
// structs struct mrpt::maps::LAS_HeaderInfo; struct mrpt::maps::LAS_LoadParams; struct mrpt::maps::LAS_WriteParams; // global functions template <class POINTSMAP> bool mrpt::maps::saveLASFile( const POINTSMAP& ptmap, const std::string& filename, const LAS_WriteParams& params = LAS_WriteParams() ); template <class POINTSMAP> bool mrpt::maps::loadLASFile( POINTSMAP& ptmap, const std::string& filename, LAS_HeaderInfo& out_headerInfo, const LAS_LoadParams& params = LAS_LoadParams() );
Global Functions
template <class POINTSMAP> bool mrpt::maps::saveLASFile( const POINTSMAP& ptmap, const std::string& filename, const LAS_WriteParams& params = LAS_WriteParams() )
Save the point cloud as an ASPRS LAS binary file (requires MRPT built against liblas).
Refer to http://www.liblas.org/
Returns:
false on any error
template <class POINTSMAP> bool mrpt::maps::loadLASFile( POINTSMAP& ptmap, const std::string& filename, LAS_HeaderInfo& out_headerInfo, const LAS_LoadParams& params = LAS_LoadParams() )
Load the point cloud from an ASPRS LAS binary file (requires MRPT built against liblas).
Refer to http://www.liblas.org/ Color (RGB) information will be taken into account if using the derived class mrpt::maps::CColouredPointsMap
Returns:
false on any error