00001 #ifndef Configuration_h 00002 #define Configuration_h 1 00003 00004 #include <math/VectorN.h> 00005 #include <vector> 00006 00007 00008 class Configuration : public VectorN //## Inherits: <unnamed>%36FDBEF900DC 00009 { 00010 public: 00011 Configuration (const VectorN& right); 00012 Configuration (); 00013 virtual ~Configuration(); 00014 00015 //sends the vertex off to opengl 00016 void GlDraw() const; 00017 00018 // Sets the number of degrees of freedom of this 00019 // configuration object. 00020 void SetNumDOF (const int dof); 00021 00022 // Allows you to set a specific joint variable/parameter to 00023 // a specific value. 00024 bool SetJointVar (const unsigned int jointNum, const double jointVal); 00025 00026 // this function returns the number of degrees of freedom 00027 // in the configuration variable 00028 const unsigned int DOF () const; 00029 00030 //## Operation: GetJointVar%923255752 00031 double GetJointVar (const unsigned int jointNum) const; 00032 00033 //## Operation: operator=%923255754 00034 Configuration& operator = (const Configuration& right); 00035 00036 00037 bool operator < (const VectorN& right) const; 00038 00039 00040 protected: 00041 private: 00042 private: //## implementation 00043 00044 00045 }; 00046 00047 std::ostream & operator<<( std::ostream &os, const Configuration& v ) ; 00048 std::istream & operator>>( std::istream &is, Configuration& v ) ; 00049 00050 00051 #endif