removed Mesh::Ptr since mesh itself consists of shared points (cv::Mat)

This commit is contained in:
Anatoly Baksheev
2013-07-15 19:18:37 +04:00
parent 0e20473c97
commit dc348ff93d
2 changed files with 16 additions and 14 deletions

View File

@@ -35,9 +35,11 @@ namespace cv
class CV_EXPORTS Mesh3d
{
public:
typedef cv::Ptr<Mesh3d> Ptr;
Mat cloud, colors, polygons;
static cv::viz::Mesh3d::Ptr loadMesh(const String& file);
Mat cloud, colors;
Mat polygons;
static cv::viz::Mesh3d loadMesh(const String& file);
private:
struct loadMeshImpl;
@@ -93,4 +95,4 @@ namespace cv
};
} /* namespace viz */
} /* namespace cv */
} /* namespace cv */