QtSculptor  v1.0.0
PutVoxel.h
Go to the documentation of this file.
1 #ifndef PUT_VOXEL_H
2  #define PUT_VOXEL_H
3 
4  #include "GeometricFigure.h"
5 
7 
18  class PutVoxel:public GeometricFigure{
19  int x;
20  int y;
21  int z;
22  public:
24 
36  PutVoxel(int x_, int y_, int z_, float r_, float g_, float b_, float a_);
38 
41  ~PutVoxel(){};
43 
48  void draw(Sculptor &sculptor);
49  };
50 
51 #endif // PUT_VOXEL_H
PutVoxel::PutVoxel
PutVoxel(int x_, int y_, int z_, float r_, float g_, float b_, float a_)
PutVoxel class constructor.
Definition: PutVoxel.cpp:3
PutVoxel::y
int y
Definition: PutVoxel.h:20
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure.h
PutVoxel::z
int z
Definition: PutVoxel.h:21
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
PutVoxel::~PutVoxel
~PutVoxel()
Destructor of the PutVoxel class.
Definition: PutVoxel.h:41
PutVoxel
Concrete class PutVoxel - Used to display a single voxel.
Definition: PutVoxel.h:18
PutVoxel::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: PutVoxel.cpp:8
PutVoxel::x
int x
Definition: PutVoxel.h:19