OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | Public Attributes | List of all members
cv::viz::Mesh Class Reference

This class wraps mesh attributes, and it can load a mesh from a ply file. : More...

#include "types.hpp"

Static Public Member Functions

static Mesh load (const String &file)
 Loads a mesh from a ply file. More...
 

Public Attributes

Mat cloud
 
Mat colors
 
Mat normals
 
Mat polygons
 
Mat tcoords
 
Mat texture
 

Detailed Description

This class wraps mesh attributes, and it can load a mesh from a ply file. :

Member Function Documentation

static Mesh cv::viz::Mesh::load ( const String file)
static

Loads a mesh from a ply file.

Parameters
fileFile name (for now only PLY is supported)

Member Data Documentation

Mat cv::viz::Mesh::cloud
Mat cv::viz::Mesh::colors
Mat cv::viz::Mesh::normals
Mat cv::viz::Mesh::polygons

Raw integer list of the form: (n,id1,id2,...,idn, n,id1,id2,...,idn, ...) where n is the number of points in the poligon, and id is a zero-offset index into an associated cloud.

Mat cv::viz::Mesh::tcoords
Mat cv::viz::Mesh::texture

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