QtSculptor  v1.0.0
CutVoxel.h
Go to the documentation of this file.
1 #ifndef CUT_VOXEL_H
2  #define CUT_VOXEL_H
3 
4  #include "GeometricFigure.h"
5 
7 
18  class CutVoxel:public GeometricFigure{
19  int x;
20  int y;
21  int z;
22  public:
24 
32  CutVoxel(int x_, int y_, int z_);
34 
37  ~CutVoxel(){};
39 
44  void draw(Sculptor &sculptor);
45  };
46 
47 #endif // CUT_VOXEL_H
CutVoxel
Concrete class CutVoxel - Used to delete a single voxel.
Definition: CutVoxel.h:18
CutVoxel::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: CutVoxel.cpp:7
CutVoxel::x
int x
Definition: CutVoxel.h:19
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure.h
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
CutVoxel::CutVoxel
CutVoxel(int x_, int y_, int z_)
CutVoxel class constructor.
Definition: CutVoxel.cpp:3
CutVoxel::z
int z
Definition: CutVoxel.h:21
CutVoxel::~CutVoxel
~CutVoxel()
Destructor of the CutVoxel class.
Definition: CutVoxel.h:37
CutVoxel::y
int y
Definition: CutVoxel.h:20