QtSculptor  v1.0.0
GeometricFigure.h
Go to the documentation of this file.
1 #ifndef GEOMETRIC_FIGURE_H
2  #define GEOMETRIC_FIGURE_H
3 
4  #include "Sculptor.h"
5 
7 
17  protected:
18  float r;
19  float g;
20  float b;
21  float a;
22  public:
24  virtual ~GeometricFigure(){};
25 
27 
33  virtual void draw(Sculptor &sculptor)=0; // NOOP
34  };
35 
36 #endif // GEOMETRIC_FIGURE_H
GeometricFigure::b
float b
Definition: GeometricFigure.h:20
GeometricFigure::r
float r
Definition: GeometricFigure.h:18
GeometricFigure::g
float g
Definition: GeometricFigure.h:19
GeometricFigure::~GeometricFigure
virtual ~GeometricFigure()
GeometricFigure class constructor.
Definition: GeometricFigure.h:24
GeometricFigure
Abstract class GeometricFigure - Base for generating geometries.
Definition: GeometricFigure.h:16
GeometricFigure::a
float a
Definition: GeometricFigure.h:21
Sculptor
Sculptor class for manipulating elements, denoted voxels, in arrays three-dimensional digital.
Definition: Sculptor.h:17
Sculptor.h
GeometricFigure::draw
virtual void draw(Sculptor &sculptor)=0
Pure virtual Draw function.