|
QtSculptor
v1.0.0
|
Go to the documentation of this file.
66 void setColor(
float r,
float g,
float b,
float alpha);
104 void writeOFF(std::string filename);
113 std::vector<std::vector<Voxel>>
readMx(
int dimension = 0,
int plan =
XY);
int nx
Definition: Sculptor.h:21
std::vector< std::vector< Voxel > > readMx(int dimension=0, int plan=XY)
ReadMx member function.
Definition: Sculptor.cpp:137
void cutVoxel(int x, int y, int z)
CutVoxel member function.
Definition: Sculptor.cpp:60
float g
Definition: Sculptor.h:26
void writeOFF(std::string filename)
Write OFF member function.
Definition: Sculptor.cpp:65
int ny
Definition: Sculptor.h:22
Struct Voxel (volume element) used to store properties of the elements that will constitute the creat...
Definition: Voxel.h:9
void clearAll()
clearAll member function.
Definition: Sculptor.cpp:22
Sculptor(int _nx, int _ny, int _nz)
Class constructor.
Definition: Sculptor.cpp:7
int nz
Definition: Sculptor.h:23
@ ZX
Definition: Sculptor.h:12
void setColor(float r, float g, float b, float alpha)
Member function setColor.
Definition: Sculptor.cpp:42
void putVoxel(int x, int y, int z)
Member function putVoxel.
Definition: Sculptor.cpp:49
Voxel *** v
Definition: Sculptor.h:19
float b
Definition: Sculptor.h:27
float r
Definition: Sculptor.h:25
float a
Definition: Sculptor.h:28
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
~Sculptor()
Class Destructor.
Definition: Sculptor.cpp:32
@ YZ
Definition: Sculptor.h:12
@ XY
Definition: Sculptor.h:12