00001 // Copyright 2007 John Storrs. All rights reserved. This work may be copied, 00002 // modified and distributed under the terms of the GNU General Public License. 00003 00004 #ifndef FixatorMechanismClass 00005 #define FixatorMechanismClass 00006 00007 #include "Vector3.H" 00008 #include "fixatorframe.h" 00009 #include "fixatorstrut.h" 00010 00011 00012 class FixatorMechanism 00013 { 00014 public: 00015 FixatorMechanism(); 00016 void transformFrameLocal 00017 (int frameId, Vector3 rotation, Vector3 translation); 00018 void transformFrameGlobal 00019 (int frameId, Vector3 rotation, Vector3 translation); 00020 void setStrutLengths(double strutLength[6], double approximateZ); 00021 00022 FixatorFrame frame[2]; 00023 FixatorStrut strut[6]; 00024 }; 00025 00026 #endif