QtSculptor  v1.0.0
CutSphere.h
Go to the documentation of this file.
1 #ifndef CUT_SPHERE_H
2  #define CUT_SPHERE_H
3 
4  #include "GeometricFigure.h"
5 
7 
18  class CutSphere:public GeometricFigure{
19  int x_center;
20  int y_center;
21  int z_center;
22  int radius;
23  public:
24 
26 
35  CutSphere(int x_center_, int y_center_, int z_center_, int radius_);
36 
38 
42 
44 
49  void draw(Sculptor &sculptor);
50  };
51 
52 #endif // CUT_SPHERE_H
CutSphere::CutSphere
CutSphere(int x_center_, int y_center_, int z_center_, int radius_)
CutSphere class constructor.
Definition: CutSphere.cpp:3
CutSphere::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: CutSphere.cpp:10
CutSphere::radius
int radius
Definition: CutSphere.h:22
CutSphere::y_center
int y_center
Definition: CutSphere.h:20
CutSphere::x_center
int x_center
Definition: CutSphere.h:19
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure.h
CutSphere
Concrete class CutSphere - Used to erase a set of voxels belonging to a spherical volume.
Definition: CutSphere.h:18
CutSphere::z_center
int z_center
Definition: CutSphere.h:21
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
CutSphere::~CutSphere
~CutSphere()
Destructor of the CutSphere class.
Definition: CutSphere.h:41