template class mrpt::viz::PointCloudAdapter<mrpt::maps::CPointsMap>

Overview

Specialization mrpt::viz::PointCloudAdapter<mrpt::maps::CPointsMap>

The adapter is a short-lived view: which color fields exist, and where they are stored, is resolved at construction. Do not keep an adapter alive across changes to the map field layout (e.g. CGenericPointsMap::unregisterField()).

#include <mrpt/maps/CPointsMap.h>

template <>
class PointCloudAdapter<mrpt::maps::CPointsMap>
{
public:
    // construction

    PointCloudAdapter(const mrpt::maps::CPointsMap& obj);
};

// direct descendants

template <>
class PointCloudAdapter<mrpt::maps::CGenericPointsMap>;

template <>
class PointCloudAdapter<mrpt::maps::CSimplePointsMap>;

Construction

PointCloudAdapter(const mrpt::maps::CPointsMap& obj)

Constructor (accept a const ref for convenience)