This commit is contained in:
Anatoly Baksheev
2013-12-08 16:57:09 +04:00
parent f6e9b81188
commit c7ff13873d
3 changed files with 24 additions and 3 deletions

View File

@@ -132,6 +132,9 @@ namespace cv
void setColor(const Color &color);
};
/////////////////////////////////////////////////////////////////////////////
/// Simple widgets
class CV_EXPORTS WLine : public Widget3D
{
public:
@@ -175,6 +178,9 @@ namespace cv
WCube(const Point3f& pt_min, const Point3f& pt_max, bool wire_frame = true, const Color &color = Color::white());
};
/////////////////////////////////////////////////////////////////////////////
/// Compond widgets
class CV_EXPORTS WCoordinateSystem : public Widget3D
{
public:
@@ -268,6 +274,9 @@ namespace cv
float sphere_radius = 0.007f, const Color &line_color = Color::white(), const Color &sphere_color = Color::white());
};
/////////////////////////////////////////////////////////////////////////////
/// Cloud widgets
class CV_EXPORTS WCloud: public Widget3D
{
public:
@@ -300,6 +309,9 @@ namespace cv
WMesh(const Mesh3d &mesh);
};
/////////////////////////////////////////////////////////////////////////////
/// Utility exports
template<> CV_EXPORTS Widget2D Widget::cast<Widget2D>();
template<> CV_EXPORTS Widget3D Widget::cast<Widget3D>();
template<> CV_EXPORTS WLine Widget::cast<WLine>();