mirror of
https://github.com/brmlab/medirap.git
synced 2025-06-07 16:44:00 +02:00
21 lines
406 B
C++
21 lines
406 B
C++
#ifndef VOXELDATA_H
|
|
#define VOXELDATA_H
|
|
|
|
#include <QString>
|
|
#include <QImage>
|
|
#include <QVector>
|
|
|
|
class VoxelData
|
|
{
|
|
public:
|
|
inline int getDimX() { return dimx; }
|
|
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;
|
|
QVector<QImage *> data;
|
|
};
|
|
|
|
#endif
|