volmetrics
annotate 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 |
rev | line source |
---|---|
eleni@0 | 1 #ifndef VOLUME_H_ |
eleni@0 | 2 #define VOLUME_H_ |
eleni@0 | 3 |
elene@3 | 4 #include <vector> |
elene@3 | 5 #include "image.h" |
elene@3 | 6 |
eleni@1 | 7 class Volume { |
eleni@1 | 8 private: |
elene@3 | 9 std::vector<Image> slices; |
elene@4 | 10 int width; |
elene@4 | 11 int height; |
eleni@1 | 12 |
elene@3 | 13 public: |
elene@3 | 14 Volume(); |
elene@3 | 15 |
elene@3 | 16 bool load_volume(const char *fname); |
elene@4 | 17 bool push_slice(Image &&slice); |
elene@3 | 18 |
elene@3 | 19 void draw(); |
eleni@1 | 20 }; |
eleni@1 | 21 |
eleni@0 | 22 #endif // VOLUME_H_ |