merged background color with background gradient methods, updated tests to show description of scene

This commit is contained in:
Anatoly Baksheev
2014-01-18 22:25:40 +04:00
parent 16281027af
commit d7ca0bb757
8 changed files with 51 additions and 26 deletions

View File

@@ -102,6 +102,8 @@ namespace cv
static Color turquoise();
static Color celestial_blue();
static Color amethyst();
static Color not_set();
};
class CV_EXPORTS Mesh
@@ -229,4 +231,6 @@ inline cv::viz::Color cv::viz::Color::turquoise() { return Color(208, 224,
inline cv::viz::Color cv::viz::Color::celestial_blue() { return Color(208, 151, 73); }
inline cv::viz::Color cv::viz::Color::amethyst() { return Color(204, 102, 153); }
inline cv::viz::Color cv::viz::Color::not_set() { return Color(-1, -1, -1); }
#endif

View File

@@ -98,9 +98,8 @@ namespace cv
void saveScreenshot(const String &file);
void setWindowPosition(const Point& window_position);
void setFullScreen(bool mode = true);
void setBackgroundColor(const Color& color = Color::black());
void setBackgroundColor(const Color& color = Color::black(), const Color& color2 = Color::not_set());
void setBackgroundTexture(InputArray image = noArray());
void setBackgroundGradient(const Color& up, const Color& down);
void setBackgroundMeshLab();
void spin();