volmetrics
view src/volume.h @ 4:1fbbe10c8e08
quick backup
author | Eleni Maria Stea <elene.mst@gmail.com> |
---|---|
date | Sat, 11 Jan 2014 23:49:58 +0200 |
parents | 927c29b93009 |
children | 92c163c939be |
line source
1 #ifndef VOLUME_H_
2 #define VOLUME_H_
4 #include <vector>
5 #include "image.h"
7 class Volume {
8 private:
9 std::vector<Image> slices;
10 int width;
11 int height;
13 public:
14 Volume();
16 bool load_volume(const char *fname);
17 bool push_slice(Image &&slice);
19 void draw();
20 };
22 #endif // VOLUME_H_