You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
447 B
22 lines
447 B
#ifndef CANVAS_HPP
|
|
#define CANVAS_HPP
|
|
|
|
|
|
class Canvas {
|
|
protected:
|
|
|
|
unsigned int dimension;
|
|
Canvas (const unsigned int dimension) : dimension (dimension) {};
|
|
|
|
public:
|
|
|
|
unsigned int getDimension() const { return dimension; };
|
|
|
|
virtual ~Canvas() {};
|
|
|
|
virtual void clear() = 0;
|
|
virtual void plot (const double * normalizedPosition) = 0;
|
|
virtual void output_file (const char * filename) const = 0;
|
|
};
|
|
|
|
#endif // CANVAS_HPP
|
|
|