volmetrics

diff 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 diff
     1.1 --- a/src/volume.h	Sat Jan 11 22:55:27 2014 +0200
     1.2 +++ b/src/volume.h	Sat Jan 11 23:49:58 2014 +0200
     1.3 @@ -7,16 +7,14 @@
     1.4  class Volume {
     1.5  private:
     1.6  	std::vector<Image> slices;
     1.7 +	int width;
     1.8 +	int height;
     1.9  
    1.10  public:
    1.11  	Volume();
    1.12 -	~Volume();
    1.13  
    1.14  	bool load_volume(const char *fname);
    1.15 -	void push_slice(Image *slice);
    1.16 -
    1.17 -	Image *get_slice();
    1.18 -	const Image *get_slice() const;
    1.19 +	bool push_slice(Image &&slice);
    1.20  
    1.21  	void draw();
    1.22  };