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

Overview

#include <mrpt/maps/CSimplePointsMap.h>

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

    PointCloudAdapter(const mrpt::maps::CSimplePointsMap& pts);
};

Inherited Members

public:
    // typedefs

    typedef float coords_t;

    // fields

    const bool HAS_RGBf = m_obj.hasColor_f();
    const bool HAS_RGBu8 = m_obj.hasColor_u8();

    // methods

    size_t size() const;
    void resize(size_t N);
    void setDimensions(size_t, size_t);

    template <typename T>
    void getPointXYZ(size_t idx, T& x, T& y, T& z) const;

    void setPointXYZ(size_t idx, const coords_t x, const coords_t y, const coords_t z);

    template <typename T>
    void getPointXYZ_RGBu8(
        size_t idx,
        T& x,
        T& y,
        T& z,
        uint8_t& r,
        uint8_t& g,
        uint8_t& b
        ) const;

    void setPointXYZ_RGBu8(
        size_t idx,
        const coords_t x,
        const coords_t y,
        const coords_t z,
        const uint8_t r,
        const uint8_t g,
        const uint8_t b
        );

    template <typename T>
    void getPointXYZ_RGBAf(
        size_t idx,
        T& x,
        T& y,
        T& z,
        float& r,
        float& g,
        float& b,
        float& a
        ) const;

    void setPointXYZ_RGBAf(
        size_t idx,
        const coords_t x,
        const coords_t y,
        const coords_t z,
        const float r,
        const float g,
        const float b,
        ] const float a
        );

    void getPointRGBf(size_t idx, float& r, float& g, float& b) const;
    void setPointRGBu8(size_t idx, const uint8_t r, const uint8_t g, const uint8_t b);
    void setPointRGBf(size_t idx, const float r, const float g, const float b);
    void setInvalidPoint(size_t idx);