Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e49c4291
Commit
e49c4291
authored
May 26, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viz: fix tests build
parent
ef692350
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
27 deletions
+3
-27
test_precomp.hpp
modules/viz/test/test_precomp.hpp
+1
-25
test_tutorial2.cpp
modules/viz/test/test_tutorial2.cpp
+1
-1
test_tutorial3.cpp
modules/viz/test/test_tutorial3.cpp
+1
-1
No files found.
modules/viz/test/test_precomp.hpp
View file @
e49c4291
...
...
@@ -42,32 +42,10 @@
// * Anatoly Baksheev, Itseez Inc. myname.mysurname <> mycompany.com
//
//M*/
#include "opencv2/ts.hpp"
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# if defined __clang__ || defined __APPLE__
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
# pragma GCC diagnostic ignored "-Wextra"
# endif
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__
#include <opencv2/core/version.hpp>
#include <opencv2/viz/vizcore.hpp>
namespace
cv
{
Mat
imread
(
const
String
&
filename
,
int
flags
=
1
);
}
#if CV_MAJOR_VERSION < 3
#include "opencv2/ts/ts.hpp"
#else
#include "opencv2/ts.hpp"
#endif
#include <iostream>
#include <fstream>
#include <string>
...
...
@@ -108,5 +86,3 @@ namespace cv
return
0.114
*
chs
[
0
]
+
0.58
*
chs
[
1
]
+
0.3
*
chs
[
2
];
}
}
#endif
modules/viz/test/test_tutorial2.cpp
View file @
e49c4291
...
...
@@ -3,7 +3,7 @@
using
namespace
cv
;
using
namespace
std
;
void
tutorial2
()
static
void
tutorial2
()
{
/// Create a window
viz
::
Viz3d
myWindow
(
"Coordinate Frame"
);
...
...
modules/viz/test/test_tutorial3.cpp
View file @
e49c4291
...
...
@@ -6,7 +6,7 @@ using namespace std;
/**
* @function main
*/
void
tutorial3
(
bool
camera_pov
)
static
void
tutorial3
(
bool
camera_pov
)
{
/// Create a window
viz
::
Viz3d
myWindow
(
"Coordinate Frame"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment