class cv::viz::WPaintedCloud

Overview

#include <widgets.hpp>

class WPaintedCloud: public cv::viz::Widget3D
{
public:
    // construction

    WPaintedCloud(InputArray cloud);

    WPaintedCloud(
        InputArray cloud,
        const Point3d& p1,
        const Point3d& p2
        );

    WPaintedCloud(
        InputArray cloud,
        const Point3d& p1,
        const Point3d& p2,
        const Color& c1,
        const Color c2
        );
};

Inherited Members

public:
    // methods

    template <typename _W>
    _W
    cast();

    Widget2D
    cast();

    WWidgetMerger
    cast();

    double
    getRenderingProperty(int property) const;

    Widget&
    operator=(const Widget& other);

    void
    setRenderingProperty(
        int property,
        double value
        );

    static
    Widget
    fromPlyFile(const String& file_name);

    void
    applyTransform(const Affine3d& transform);

    Affine3d
    getPose() const;

    void
    setColor(const Color& color);

    void
    setPose(const Affine3d& pose);

    void
    updatePose(const Affine3d& pose);

Detailed Documentation

Construction

WPaintedCloud(InputArray cloud)

Paint cloud with default gradient between cloud bounds points.

WPaintedCloud(
    InputArray cloud,
    const Point3d& p1,
    const Point3d& p2
    )

Paint cloud with default gradient between given points.

WPaintedCloud(
    InputArray cloud,
    const Point3d& p1,
    const Point3d& p2,
    const Color& c1,
    const Color c2
    )

Paint cloud with gradient specified by given colors between given points.