link to homepage

Institute for Neuroscience and Medicine

Navigation and service


API documentation

DynamicVariables.h

Go to the documentation of this file.
00001 
00008 #ifndef DYNAMICVARIABLES_H_
00009 #define DYNAMICVARIABLES_H_
00010 
00011 using namespace std;
00012 #include <vector>
00013 #include "Trajectory.h"
00014 
00015 class TrajectoryMotion;
00016 class TrajectoryT2s;
00017 class Trajectory1D;
00018 class TrajectoryEmpty;
00019 
00020 struct Circle{
00021         double x;
00022         double y;
00023         double z;
00024         double r;
00025 };
00030 class DynamicVariables {
00031 
00032  public:
00033 
00037      virtual ~DynamicVariables   ();
00038 
00042     static DynamicVariables*  instance      ();
00043 
00047     void SetActivation();
00048 
00053     void AddActiveCircle(double pos[3],double radius);
00054 
00055     Trajectory* m_Motion;
00056     Trajectory* m_T2prime;
00057 
00058     Trajectory* m_R1;
00059     Trajectory* m_R2;
00060     Trajectory* m_M0;
00061 
00062 
00063  private:
00064 
00068          DynamicVariables  () {};
00069 
00070     static DynamicVariables*    m_instance;           
00072     // upon activation: change T2 and/or T2prime?
00073     bool m_changeT2prime;
00074     bool m_changeT2;
00075 
00076     vector<Circle> m_Circles;
00077 
00078 
00082     TrajectoryMotion* stub_motion;
00083     TrajectoryT2s* stub_T2s;
00084     Trajectory1D* stub_r1;
00085     Trajectory1D* stub_r2;
00086     Trajectory1D* stub_m0;
00087     TrajectoryEmpty* stub_empty;
00088 
00089 
00090 };
00091 
00092 #endif /* DYNAMICVARIABLES_H_ */

Servicemeu

institutes

Scientific Technical Facilities