rework on slicing and thresholding

This commit is contained in:
Pavol Rusnak 2011-10-21 21:08:39 +02:00
parent 8039ff529a
commit bc839e5d7c
5 changed files with 75 additions and 67 deletions

View file

@ -2,8 +2,8 @@
#define VOXELDATA_H
#include <QString>
#define VOXELDATA unsigned char
#include <QImage>
#include <QVector>
class VoxelData
{
@ -12,9 +12,10 @@ public:
inline int getDimY() { return dimy; }
inline int getDimZ() { return dimz; }
bool load(QString path, QString filename);
const QImage *getSlice(int z);
private:
int dimx, dimy, dimz;
VOXELDATA *data;
QVector<QImage *> data;
};
#endif