QtSculptor  v1.0.0
PutSphere.h
Go to the documentation of this file.
1 #ifndef PUT_SPHERE_H
2  #define PUT_SPHERE_H
3 
4  #include "GeometricFigure.h"
5 
7 
18  class PutSphere:public GeometricFigure{
19  int x_center;
20  int y_center;
21  int z_center;
22  int radius;
23  public:
24 
26 
39  PutSphere(int x_center_, int y_center_, int z_center_, int radius_, float r_, float g_, float b_, float a_);
40 
42 
46 
48 
53  void draw(Sculptor &sculptor);
54  };
55 
56 #endif // PUT_SPHERE_H
PutSphere::draw
void draw(Sculptor &sculptor)
Member function draw.
Definition: PutSphere.cpp:12
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure.h
PutSphere::y_center
int y_center
Definition: PutSphere.h:20
PutSphere::~PutSphere
~PutSphere()
Destructor of the PutBox class.
Definition: PutSphere.h:45
PutSphere::z_center
int z_center
Definition: PutSphere.h:21
PutSphere
Concrete class PutSphere - Used to display a set of voxels belonging to a spherical volume.
Definition: PutSphere.h:18
PutSphere::x_center
int x_center
Definition: PutSphere.h:19
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
PutSphere::radius
int radius
Definition: PutSphere.h:22
PutSphere::PutSphere
PutSphere(int x_center_, int y_center_, int z_center_, int radius_, float r_, float g_, float b_, float a_)
PutSphere class constructor.
Definition: PutSphere.cpp:3