#include <contrib.hpp>
Classes | |
| struct | EmptyMeshException |
Public Member Functions | |
| Mesh3D () | |
| Mesh3D (const vector< Point3f > &vtx) | |
| ~Mesh3D () | |
| void | buildOctree () |
| void | clearOctree () |
| float | estimateResolution (float tryRatio=0.1f) |
| void | computeNormals (float normalRadius, int minNeighbors=20) |
| void | computeNormals (const vector< int > &subset, float normalRadius, int minNeighbors=20) |
| void | writeAsVrml (const String &file, const vector< Scalar > &colors=vector< Scalar >()) const |
Public Attributes | |
| vector< Point3f > | vtx |
| vector< Point3f > | normals |
| float | resolution |
| Octree | octree |
Static Public Attributes | |
| static const Point3f | allzero |
| cv::Mesh3D::Mesh3D | ( | const vector< Point3f > & | vtx | ) |
| float cv::Mesh3D::estimateResolution | ( | float | tryRatio = 0.1f | ) |
| void cv::Mesh3D::computeNormals | ( | float | normalRadius, |
| int | minNeighbors = 20 |
||
| ) |
| void cv::Mesh3D::computeNormals | ( | const vector< int > & | subset, |
| float | normalRadius, | ||
| int | minNeighbors = 20 |
||
| ) |
| void cv::Mesh3D::writeAsVrml | ( | const String & | file, |
| const vector< Scalar > & | colors = vector< Scalar >() |
||
| ) | const |
| vector<Point3f> cv::Mesh3D::vtx |
| vector<Point3f> cv::Mesh3D::normals |
| float cv::Mesh3D::resolution |
const Point3f cv::Mesh3D::allzero [static] |