summaryrefslogtreecommitdiff
path: root/rotord/src/cvimage.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-10-07 06:19:14 -0700
committerComment <tim@gray.(none)>2013-10-07 06:19:14 -0700
commitba2831c3a456e860761978cb848f38d825b4c128 (patch)
tree7ced990051d059fae90fd55cea40ef3f3cbdb333 /rotord/src/cvimage.h
parent3252e78c0a43613e2a48d39a8dec74ffaf5ee100 (diff)
refacoring
Diffstat (limited to 'rotord/src/cvimage.h')
-rw-r--r--rotord/src/cvimage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h
index ebf6f4c..8a6fdae 100644
--- a/rotord/src/cvimage.h
+++ b/rotord/src/cvimage.h
@@ -4,6 +4,7 @@
#include <math.h>
#include <cv.h>
#include <highgui.h>
+#include <unordered_map>
//converting to use a cv image...
//cv::Mat supports most of what we want here
@@ -219,6 +220,12 @@ namespace Rotor {
cv::Mat rgb;
cv::Mat alpha;
+
+ //store a library of mipmaps
+ std::unordered_map<int,cv::Mat> mipmaps;
+
+ cv::Mat& get_mipmap(int level);
+
};
}