QtSculptor  v1.0.0
PutBox.h
Go to the documentation of this file.
1 #ifndef PUT_BOX_H
2  #define PUT_BOX_H
3 
4  #include "GeometricFigure.h"
5 
7 
20  class PutBox:public GeometricFigure{
21  int xi;
22  int xf;
23  int yi;
24  int yf;
25  int zi;
26  int zf;
27  public:
28 
30 
45  PutBox(int xi_, int xf_, int yi_, int yf_, int zi_, int zf_, float r_, float g_, float b_, float a_);
46 
48 
51  ~PutBox(){};
52 
54 
59  void draw(Sculptor &sculptor);
60  };
61 
62 #endif // PUT_BOX_H
PutBox
Concrete class PutBox - Used to display a block of voxels.
Definition: PutBox.h:20
PutBox::yi
int yi
Definition: PutBox.h:23
PutBox::xi
int xi
Definition: PutBox.h:21
PutBox::xf
int xf
Definition: PutBox.h:22
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
PutBox::zi
int zi
Definition: PutBox.h:25
PutBox::PutBox
PutBox(int xi_, int xf_, int yi_, int yf_, int zi_, int zf_, float r_, float g_, float b_, float a_)
PutBox class constructor.
Definition: PutBox.cpp:3
GeometricFigure.h
PutBox::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: PutBox.cpp:11
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
PutBox::~PutBox
~PutBox()
Destructor of the PutBox class.
Definition: PutBox.h:51
PutBox::yf
int yf
Definition: PutBox.h:24
PutBox::zf
int zf
Definition: PutBox.h:26