diff options
Diffstat (limited to 'rotord/src/cvimage.h')
| -rw-r--r-- | rotord/src/cvimage.h | 7 |
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); + }; } |
