Example of using "Canvas" form "Graphics" library to display 3D graphics.

Dependencies:   BSP_DISCO_F746NG Graphics mbed

Revision:
2:ef3093a7a43e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Models/Model.h	Fri Nov 11 15:30:07 2016 +0000
@@ -0,0 +1,38 @@
+//
+// Model.h - abstract class for 3D demo models
+//
+
+#pragma once
+
+#include "Angle.h"
+#include "Scale.h"
+
+class Model
+{
+public:
+
+    Model();
+    
+    void SetShamAngleMode();
+    
+    void SetRealAngleMode(float initialValue);
+    
+    float GetAngleValue();
+
+ 
+    void SetFixedScaleMode(float scale); 
+    
+    void SetShamScaleMode(float initialValue, float minValue, float maxValue, float delta);  
+     
+    void SetRealScaleMode(float minValue, float maxValue, float delta);
+       
+    float GetScaleValue();
+    
+    void virtual Setup() = 0;
+    
+    void virtual Render() = 0;
+    
+private:
+    Angle _angle;
+    Scale _scale;
+};