OpenCV
3.0.0-rc1
Open Source Computer Vision
|
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 |
This class wraps mesh attributes, and it can load a mesh from a ply file. :
Loads a mesh from a ply file.
file | File name (for now only PLY is supported) |
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 |