Alvaro Cassinelli / Mbed 2 deprecated skinGames_forktest

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

classRigidScafold.h

Committer:
mbedalvaro
Date:
2012-04-12
Revision:
12:0de9cd2bced5
Parent:
7:0df17f3078bc
Child:
22:d87317d7ca91

File content as of revision 12:0de9cd2bced5:

#ifndef RIGIDSCAFOLD_H
#define RIGIDSCAFOLD_H

 #include "myVectorClass.h"
 
 #include <vector>
 using namespace std;
  
 class RigidScafold {
 public:
    RigidScafold();
    ~RigidScafold();
    
    // (1) METHODS for creating different SCAFOLD structures
 // Note: these scafolds may or may not be used to initialize the light loop (in case of elasticLoop). 
  void buildCircularScafold(float _radius, vector2Dd _pos, int _numScafoldPoints);
  void buildLine(float _length, float _angleDeg, vector2Dd _pos, int _numScafoldPoints);
  
  // Other functions to create letters, text, etc. 
  // ...
  
  // DATA structures: 
    // note: the number of points in the scafold does not need to equate the number of points in the blob
    vector<vector2Dd> scafold; // scafold trajectory (either float or unsigned short). 
    // Notes: - Centered around the centerScafold point.
    //        - Can be used to initialize elastic loop.
 };

#endif