From ad756614be4da6f57c84870b3bc31ed77ec4dd8d Mon Sep 17 00:00:00 2001 From: EricFlorin Date: Sat, 7 Nov 2020 07:46:00 -0800 Subject: [PATCH] Merge pull request #2610 from EricFlorin:VizWindowNamePrepend_Contrib * Edited Documentation Edited the Viz "getWindowByName" documentation so it reflects the actual behaviour of getWindowByName. More specifically, that "Viz - " is not prefixed automatically to the window name given by the user if they haven't prefixed "Viz - " already. --- modules/viz/include/opencv2/viz/vizcore.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/viz/include/opencv2/viz/vizcore.hpp b/modules/viz/include/opencv2/viz/vizcore.hpp index 85b75131d..7579ddc3e 100644 --- a/modules/viz/include/opencv2/viz/vizcore.hpp +++ b/modules/viz/include/opencv2/viz/vizcore.hpp @@ -92,12 +92,7 @@ namespace cv @note If the window with that name already exists, that window is returned. Otherwise, new window is created with the given name, and it is returned. - @note Window names are automatically prefixed by "Viz - " if it is not done by the user. - @code - /// window and window_2 are the same windows. - viz::Viz3d window = viz::getWindowByName("myWindow"); - viz::Viz3d window_2 = viz::getWindowByName("Viz - myWindow"); - @endcode + */ CV_EXPORTS Viz3d getWindowByName(const String &window_name);