00001 00002 // Title : PCGeneralizedStiffness.h (GEN) 00003 // Project : OSCAR Version 2.0 00004 // Created : 02/11/03 00005 // Author : Mark Tisius and Chetan Kapoor 00006 // Platforms : All 00007 // Copyright : The University of Texas at Austin, 2003. All rights reserved. 00008 // 00009 // This software and documentation constitute an unpublished work 00010 // and contain valuable trade secrets and proprietary information 00011 // belonging to University. None of the foregoing material may be 00012 // copied or duplicated or disclosed without the express, written 00013 // permission of University. UNIVERSITY EXPRESSLY DISCLAIMS ANY 00014 // AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, 00015 // INCLUDING ANY WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 00016 // PARTICULAR PURPOSE, AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY 00017 // THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. 00018 // NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF 00019 // THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall 00020 // University be liable for incidental, special, indirect, direct or 00021 // consequential damages or loss of profits, interruption of business, 00022 // or related expenses which may arise from use of software or documentation, 00023 // including but not limited to those resulting from defects in software 00024 // and/or documentation, or loss or inaccuracy of data of any kind. 00025 // 00026 // Purpose : This file contains the declaration of the class PCGeneralizedStiffness 00027 //----------------------------------------------------------------------------- 00028 // Classes : None 00029 // 00030 // Global 00031 // Functions : None 00032 // Global 00033 // Variables : None 00034 //----------------------------------------------------------------------------- 00035 // $Revisions$ 00036 // $Log: PCGeneralizedStiffness.h,v $ 00037 // Revision 1.7 2005/03/14 22:10:20 pmarch 00038 // Added to namespace OSCAR and removed "RR" from front of class names. 00039 // 00040 // Revision 1.6 2004/07/26 23:05:38 chetan 00041 // Made changes to compile with Warning Level 4 and also under the latest C++ standard. Also made compilable with VC extensions turned off 00042 // 00043 // Revision 1.5 2004/05/28 21:06:12 eswint 00044 // - Changed \ingroup Performance Criteria to \ingroup PerformanceCriteria 00045 // 00046 // Revision 1.4 2004/05/28 19:06:36 eswint 00047 // - Added the \ingroup PerformanceCriteria for Doxygen commenting 00048 // 00049 // Revision 1.3 2003/11/10 22:42:21 mtisius 00050 // no message 00051 // 00052 // Revision 1.2 2003/09/08 22:28:21 mtisius 00053 // Making sure everything committed properly 00054 // 00055 // Revision 1.1 2003/08/27 17:54:21 ndesai 00056 // PerformanceCriteria files being added to CVS 00057 // 00058 // Revision 1.1 2003/08/14 21:03:09 mtisius 00059 // Added files to Module 00060 // 00061 // 00063 #ifndef PCGeneralizedStiffness_h 00064 #define PCGeneralizedStiffness_h 00065 00066 #include "PCCompliance.h" 00067 00069 namespace OSCAR { 00070 00080 class PCGeneralizedStiffness : public PCCompliance 00081 { 00082 public: 00083 00103 PCGeneralizedStiffness(const String& jointCompliances, 00104 FKJacobian* fkJacobian, 00105 MinOrMax minOrMax = Minimize, 00106 double criticalLimit = -1, 00107 double weight = 1.0, 00108 double exponent = 1.0, 00109 const String& criteriaName = String("GEN")); 00110 00130 PCGeneralizedStiffness(const Matrix& jointCompliances, 00131 FKJacobian* fkJacobian, 00132 MinOrMax minOrMax = Minimize, 00133 double criticalLimit = -1, 00134 double weight = 1.0, 00135 double exponent = 1.0, 00136 const String& criteriaName = String("GEN")); 00137 00146 PCGeneralizedStiffness(const PCGeneralizedStiffness& crit); 00147 00156 PCGeneralizedStiffness& operator=(const PCGeneralizedStiffness& crit); 00157 00161 virtual ~PCGeneralizedStiffness(); 00162 00163 00164 protected: 00165 00166 virtual bool computeCriteria(RepositoryList& repoList); 00167 00168 00169 00170 }; 00171 00172 //#include "GeneralizedStiffness.ipp" 00173 00174 } 00175 #endif /* GeneralizedStiffness_h */
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |