class cv::viz::WMesh

Overview

Constructs a WMesh. Moreā€¦

#include <widgets.hpp>

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

    WMesh(const Mesh& mesh);

    WMesh(
        InputArray cloud,
        InputArray polygons,
        InputArray colors = noArray(),
        InputArray normals = noArray()
        );
};

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

Constructs a WMesh.

Parameters:

mesh Mesh object that will be displayed.
cloud Points of the mesh object.
polygons Points of the mesh object.
colors Point colors.
normals Point normals.