QtSculptor  v1.0.0
CutBox.h
Go to the documentation of this file.
1 #ifndef CUT_BOX_H
2  #define CUT_BOX_H
3 
4  #include "GeometricFigure.h"
5 
7 
20  class CutBox:public GeometricFigure{
21  int xi;
22  int xf;
23  int yi;
24  int yf;
25  int zi;
26  int zf;
27  public:
28 
30 
41  CutBox(int xi_, int xf_, int yi_, int yf_, int zi_, int zf_);
42 
44 
47  ~CutBox(){};
48 
50 
55  void draw(Sculptor &sculptor);
56  };
57 
58 #endif // CUT_BOX_H
CutBox::yf
int yf
Definition: CutBox.h:24
CutBox::CutBox
CutBox(int xi_, int xf_, int yi_, int yf_, int zi_, int zf_)
CutBox class constructor.
Definition: CutBox.cpp:3
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure.h
CutBox::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: CutBox.cpp:9
CutBox::xi
int xi
Definition: CutBox.h:21
CutBox::~CutBox
~CutBox()
CutBox class destructor.
Definition: CutBox.h:47
CutBox::zf
int zf
Definition: CutBox.h:26
CutBox::yi
int yi
Definition: CutBox.h:23
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
CutBox::xf
int xf
Definition: CutBox.h:22
CutBox
Concrete class CutBox - Used to delete a block of voxels.
Definition: CutBox.h:20
CutBox::zi
int zi
Definition: CutBox.h:25