00001 00002 // 00003 // Title : DeltaWithForceMC.hpp 00004 // Project : D&D 00005 // Created : Thursday August 1, 1996 00006 // Author : Mitch Pryor & Chetan Kapoor 00007 // Platforms : WIN32 00008 // Copyright : The University of Texas at Austin 00009 // All Rights Reserved. 00010 // Access : Company Confidential 00011 // Purpose : develop a class hierarchy for manual controllers 00012 // 00013 //------------------------------------------------------------------------- 00014 // 00015 // Classes: 00016 // DeltaWithForceMC 00017 // 00018 // Global Functions: 00019 // <none> 00020 // 00021 // Global Variables: 00022 // <none> 00023 // 00024 //------------------------------------------------------------------------- 00025 // 00026 // $Revisions$ 00027 // Modified June 12, 1998 by Chalongrath Pholsiri 00028 // 00029 // $Log: DeltaWithForceMC.h,v $ 00030 // Revision 1.3 2005/03/14 21:54:06 pmarch 00031 // Added to namespace OSCAR and removed "RR" from front of class names. 00032 // 00033 // Revision 1.2 2004/05/27 19:24:06 pmarch 00034 // Added /defgroup and /ingroup tags. 00035 // 00036 // Revision 1.1 2003/08/18 21:23:28 pmarch 00037 // Initial commit of ManualController 00038 // 00039 // 00041 00042 #ifndef DeltaWithForceMC_h 00043 #define DeltaWithForceMC_h 00044 00045 #include "DeltaMC.h" 00046 00047 //========================================================================= 00048 // Class declaration for RRDeltaWithForce begins 00049 //========================================================================= 00050 00052 namespace OSCAR { 00053 00058 class DeltaWithForceMC : public DeltaMC 00059 { 00060 public: 00061 //constructors 00062 DeltaWithForceMC(const int numberOfButtons, 00063 const int numberOfDeltas, 00064 const HandPose startingHand, 00065 const Vector& scalingForces, 00066 const Vector& maximumForces, 00067 const String& name, 00068 MC_TYPE type); 00069 00070 //destuctor 00071 virtual ~DeltaWithForceMC(); 00072 00073 //public methods 00074 void SetForces(Vector& forces); 00075 void SetScalingForces(Vector& scalingForces); 00076 void SetMaximumForces(Vector& maximumForces); 00077 00078 const void GetForces(Vector& forces); 00079 const void GetScalingForces(Vector& scalingForces); 00080 const void GetMaximumForces(Vector& maximumForces); 00081 00082 00083 protected: 00084 //protected data members 00085 Vector* forces; 00086 Vector* scalingForces; 00087 Vector* maximumForces; 00088 00089 }; 00090 00091 } 00092 #endif //DeltaWithForceMC_h
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |