volmetrics

annotate 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
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;
elene@5 12 float zaspect;
eleni@1 13
elene@3 14 public:
elene@3 15 Volume();
elene@3 16
elene@3 17 bool load_volume(const char *fname);
elene@4 18 bool push_slice(Image &&slice);
elene@3 19
elene@3 20 void draw();
eleni@1 21 };
eleni@1 22
eleni@0 23 #endif // VOLUME_H_