merged background color with background gradient methods, updated tests to show description of scene
This commit is contained in:
@@ -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
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user