7 #include <QtWidgets\qprogressbar.h> 8 #include <QtWidgets\qprogressdialog.h> 21 Voxel(
const float value);
74 const Voxel& voxel(
const int i)
const;
75 const Voxel& voxel(
const int x,
const int y,
const int z)
const;
76 const Voxel* voxels()
const;
78 const int width()
const;
79 const int height()
const;
80 const int depth()
const;
82 const int size()
const;
84 bool loadFromFile(QString filename, QProgressBar* progressBar);
86 const std::vector<Voxel>& getVoxels();
89 const unsigned int getTXO()
const;
94 std::vector<Voxel> m_Voxels;
const bool operator>=(const Voxel &other) const
Definition: Volume.cpp:54
const Voxel & operator*=(const float &value)
Definition: Volume.cpp:81
Voxel()
Definition: Volume.cpp:10
const Voxel operator+(const Voxel &other) const
Definition: Volume.cpp:93
const bool operator<(const Voxel &other) const
Definition: Volume.cpp:59
const Voxel operator*(const float &value) const
Definition: Volume.cpp:107
const bool operator<=(const Voxel &other) const
Definition: Volume.cpp:64
void setValue(const float value)
Definition: Volume.cpp:29
const Voxel & operator+=(const Voxel &other)
Definition: Volume.cpp:69
const Voxel operator/(const float &value) const
Definition: Volume.cpp:114
const Voxel & operator-=(const Voxel &other)
Definition: Volume.cpp:75
const bool operator!=(const Voxel &other) const
Definition: Volume.cpp:44
const Voxel operator-(const Voxel &other) const
Definition: Volume.cpp:100
const float getValue() const
Definition: Volume.cpp:34
~Voxel()
Definition: Volume.cpp:25
const bool operator==(const Voxel &other) const
Definition: Volume.cpp:39
const bool operator>(const Voxel &other) const
Definition: Volume.cpp:49
const Voxel & operator/=(const float &value)
Definition: Volume.cpp:87