class cv::viz::WCloudNormals

Overview

This 3D Widget represents normals of a point cloud. : Moreā€¦

#include <widgets.hpp>

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

    WCloudNormals(
        InputArray cloud,
        InputArray normals,
        int level = 64,
        double scale = 0.1,
        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 represents normals of a point cloud. :

Construction

WCloudNormals(
    InputArray cloud,
    InputArray normals,
    int level = 64,
    double scale = 0.1,
    const Color& color = Color::white()
    )

Constructs a WCloudNormals.

In case there are four channels in the cloud, fourth channel is ignored.

Parameters:

cloud Point set which can be of type: CV_32FC3, CV_32FC4, CV_64FC3, CV_64FC4.
normals A set of normals that has to be of same type with cloud.
level Display only every level th normal.
scale Scale of the arrows that represent normals.
color Color of the arrows that represent normals.