class cv::viz::WPolyLine

Overview

This 3D Widget defines a poly line. : Moreā€¦

#include <widgets.hpp>

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

    WPolyLine(
        InputArray points,
        InputArray colors
        );

    WPolyLine(
        InputArray points,
        const Color& color = Color::white()
        );
};

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

This 3D Widget defines a poly line. :

Construction

WPolyLine(
    InputArray points,
    const Color& color = Color::white()
    )

Constructs a WPolyLine.

Parameters:

points Point set.
color Color of the poly line.