Skip to content

Commit 46e0879

Browse files
committed
updated structure and includes. about to update all the projects.
1 parent c148510 commit 46e0879

19 files changed

+25
-28
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
obj/
1010
bin/
1111
build/
12-
!data/
13-
libs/
12+
!data/

libs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
opencv/
File renamed without changes.

src/ContourFinder.h renamed to libs/ofxCv/include/ofxCv/ContourFinder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#pragma once
3030

31-
#include "Utilities.h"
32-
#include "Tracker.h"
31+
#include "ofxCv/Utilities.h"
32+
#include "ofxCv/Tracker.h"
3333

3434
namespace ofxCv {
3535

File renamed without changes.
File renamed without changes.

src/RunningBackground.h renamed to libs/ofxCv/include/ofxCv/RunningBackground.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#pragma once
3333

34-
#include "Utilities.h"
34+
#include "ofxCv/Utilities.h"
3535

3636
namespace ofxCv {
3737
class RunningBackground {
File renamed without changes.
File renamed without changes.

src/Wrappers.h renamed to libs/ofxCv/include/ofxCv/Wrappers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include "ofMain.h"
1717
#include "opencv2/opencv.hpp"
18-
#include "Utilities.h"
18+
#include "ofxCv/Utilities.h"
1919

2020
namespace ofxCv {
2121

src/Calibration.cpp renamed to libs/ofxCv/src/Calibration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "Calibration.h"
1+
#include "ofxCv/Calibration.h"
2+
#include "ofxCv/Helpers.h"
23
#include "ofFileUtils.h"
3-
#include "Helpers.h"
44

55
namespace ofxCv {
66

src/ContourFinder.cpp renamed to libs/ofxCv/src/ContourFinder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "ContourFinder.h"
2-
#include "Wrappers.h"
1+
#include "ofxCv/ContourFinder.h"
2+
#include "ofxCv/Wrappers.h"
33

44
namespace ofxCv {
55

src/Distance.cpp renamed to libs/ofxCv/src/Distance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "Distance.h"
1+
#include "ofxCv/Distance.h"
22
#include <string.h>
33

44
namespace ofxCv {

src/Helpers.cpp renamed to libs/ofxCv/src/Helpers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "Helpers.h"
2-
#include "Utilities.h"
1+
#include "ofxCv/Helpers.h"
2+
#include "ofxCv/Utilities.h"
33

44
namespace ofxCv {
55

src/RunningBackground.cpp renamed to libs/ofxCv/src/RunningBackground.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "RunningBackground.h"
1+
#include "ofxCv/RunningBackground.h"
22

33
namespace ofxCv {
44
RunningBackground::RunningBackground()

src/Tracker.cpp renamed to libs/ofxCv/src/Tracker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "Tracker.h"
1+
#include "ofxCv/Tracker.h"
22

33
namespace ofxCv {
44

src/Utilities.cpp renamed to libs/ofxCv/src/Utilities.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "Utilities.h"
1+
#include "ofxCv/Utilities.h"
22

33
#include "ofMath.h"
44

src/Wrappers.cpp renamed to libs/ofxCv/src/Wrappers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "Wrappers.h"
1+
#include "ofxCv/Wrappers.h"
22

33
namespace ofxCv {
44

src/ofxCv.h

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@
2020
#include "opencv2/opencv.hpp"
2121

2222
// ofxCv
23-
#include "Utilities.h"
24-
#include "Wrappers.h"
25-
#include "Helpers.h"
23+
#include "ofxCv/Utilities.h"
24+
#include "ofxCv/Wrappers.h"
25+
#include "ofxCv/Helpers.h"
2626

27-
#include "Distance.h"
28-
#include "Calibration.h"
29-
#include "ContourFinder.h"
30-
#include "Tracker.h"
31-
#include "RunningBackground.h"
32-
33-
using namespace ofxCv;
34-
using namespace cv;
27+
#include "ofxCv/Distance.h"
28+
#include "ofxCv/Calibration.h"
29+
#include "ofxCv/ContourFinder.h"
30+
#include "ofxCv/Tracker.h"
31+
#include "ofxCv/RunningBackground.h"
3532

3633
// <3 kyle

0 commit comments

Comments
 (0)