just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Committer:
mbedalvaro
Date:
Wed Apr 04 10:05:25 2012 +0000
Revision:
4:f9d364f10335
Parent:
0:345b3bc7a0ea
Child:
7:0df17f3078bc
- the new optimized laser output buffer has not been tested, but it compiles; - I am commiting here, because I am planning to change the structure of the classes: soundSpot will not contain an object of type classLaserSensingTrajectory, but be a CHILD o...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedalvaro 0:345b3bc7a0ea 1 #ifndef RIGIDSCAFOLD_H
mbedalvaro 0:345b3bc7a0ea 2 #define RIGIDSCAFOLD_H
mbedalvaro 0:345b3bc7a0ea 3
mbedalvaro 0:345b3bc7a0ea 4 #include "myVectorClass.h"
mbedalvaro 0:345b3bc7a0ea 5
mbedalvaro 0:345b3bc7a0ea 6 #include <vector>
mbedalvaro 0:345b3bc7a0ea 7 using namespace std;
mbedalvaro 0:345b3bc7a0ea 8
mbedalvaro 0:345b3bc7a0ea 9 class RigidScafold {
mbedalvaro 0:345b3bc7a0ea 10 public:
mbedalvaro 0:345b3bc7a0ea 11 RigidScafold();
mbedalvaro 0:345b3bc7a0ea 12 ~RigidScafold();
mbedalvaro 0:345b3bc7a0ea 13
mbedalvaro 0:345b3bc7a0ea 14 // (1) METHODS for creating different SCAFOLD structures
mbedalvaro 0:345b3bc7a0ea 15 // Note: these scafolds may or may not be used to initialize the light loop (in case of elasticLoop).
mbedalvaro 4:f9d364f10335 16 void buildCircularScafold(float _radius, vector2D _pos, int _numScafoldPoints);
mbedalvaro 4:f9d364f10335 17 void buildLine(float _length, float _angleDeg, vector2D _pos, int _numScafoldPoints);
mbedalvaro 0:345b3bc7a0ea 18 // Other functions to create letters, text, etc.
mbedalvaro 0:345b3bc7a0ea 19 // ...
mbedalvaro 0:345b3bc7a0ea 20
mbedalvaro 0:345b3bc7a0ea 21 // DATA structures:
mbedalvaro 0:345b3bc7a0ea 22 // note: the number of points in the scafold does not need to equate the number of points in the blob
mbedalvaro 0:345b3bc7a0ea 23 vector<vector2D> scafold; // scafold trajectory (centered around the centerScafold point). Can be used to initialize elastic loop.
mbedalvaro 0:345b3bc7a0ea 24 };
mbedalvaro 0:345b3bc7a0ea 25
mbedalvaro 0:345b3bc7a0ea 26 #endif