Class cv::viz::WMesh#

Constructs a WMesh. View details

Collaboration diagram for cv::viz::WMesh:

Public Member Functions#

Public Member Functions inherited from cv::viz::Widget3D

Return

Name

Description

Widget3D()

void

applyTransform(const Affine3d & transform)

Transforms internal widget data (i.e. points, normals) using the given transform.

Affine3d

getPose()

Returns the current pose of the widget.

void

setColor(const Color & color)

Sets the color of the widget.

void

setPose(const Affine3d & pose)

Sets pose of the widget.

void

updatePose(const Affine3d & pose)

Updates pose of the widget by pre-multiplying its current pose.

Public Member Functions inherited from cv::viz::Widget

Static Public Member Functions#

Static Public Member Functions inherited from cv::viz::Widget

Return

Name

Description

static Widget

fromPlyFile(const String & file_name)

Creates a widget from ply file.

Additional Inherited Members#

Friends inherited from cv::viz::Widget

Return

Name

Description

struct

WidgetAccessor

Detailed Description#

Constructs a WMesh.

Param mesh:

Mesh object that will be displayed.

Param cloud:

Points of the mesh object.

Param polygons:

Points of the mesh object.

Param colors:

Point colors.

Param normals:

Point normals.

Constructor & Destructor Documentation#

WMesh()#

cv::viz::WMesh::WMesh(const Mesh & mesh)

Python:

cv.viz.WMesh(mesh) -> <viz_WMesh object>
cv.viz.WMesh(cloud, polygons[, colors[, normals]]) -> <viz_WMesh object>

WMesh()#

cv::viz::WMesh::WMesh(
InputArray cloud,
InputArray polygons,
InputArray colors = noArray(),
InputArray normals = noArray() )

Python:

cv.viz.WMesh(mesh) -> <viz_WMesh object>
cv.viz.WMesh(cloud, polygons[, colors[, normals]]) -> <viz_WMesh object>

Here is the call graph for this function:

cv::viz::WMesh::WMesh Node1 cv::viz::WMesh::WMesh Node2 cv::noArray Node1->Node2

cv::viz::WMesh::WMesh Node1 cv::viz::WMesh::WMesh Node2 cv::noArray Node1->Node2

Source file#

The documentation for this class was generated from the following file: