implement window relevant methods in Viz3d

This commit is contained in:
ozantonkal
2013-08-24 12:18:42 +02:00
committed by Ozan Tonkal
parent 4f416352e1
commit f6e1a093cd
4 changed files with 18 additions and 65 deletions

View File

@@ -24,8 +24,6 @@ namespace cv
Viz3d& operator=(const Viz3d&);
~Viz3d();
void setBackgroundColor(const Color& color = Color::black());
void showWidget(const String &id, const Widget &widget, const Affine3f &pose = Affine3f::Identity());
void removeWidget(const String &id);
Widget getWidget(const String &id) const;
@@ -45,8 +43,12 @@ namespace cv
Size getWindowSize() const;
void setWindowSize(const Size &window_size);
String getWindowName() const;
void saveScreenshot (const String &file);
void setWindowPosition (int x, int y);
void setFullScreen (bool mode);
void setWindowName (const String &name);
void setBackgroundColor(const Color& color = Color::black());
void spin();
void spinOnce(int time = 1, bool force_redraw = false);