volmetrics

view src/volume.h @ 5:92c163c939be

Volume::load
author Eleni Maria Stea <elene.mst@gmail.com>
date Fri, 17 Jan 2014 23:45:56 +0200
parents 1fbbe10c8e08
children e6485ef45e6e
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;
12 float zaspect;
14 public:
15 Volume();
17 bool load_volume(const char *fname);
18 bool push_slice(Image &&slice);
20 void draw();
21 };
23 #endif // VOLUME_H_