00001 /**************************************************************************** 00002 * Copyright 2007 Evan Drumwright 00003 * This library is distributed under the terms of the GNU General Public 00004 * License (found in COPYING). 00005 ****************************************************************************/ 00006 00007 #ifndef _PHYSSIM_MEASURE_DATA_H 00008 #define _PHYSSIM_MEASURE_DATA_H 00009 00010 #include <Physsim/Vector3.h> 00011 #include <Physsim/Types.h> 00012 00013 namespace Physsim { 00014 00016 00020 class MeasureData 00021 { 00022 public: 00023 MeasureData() { point = NULL; } 00024 00026 const Vector3* point; 00027 00029 Vector3 dir; 00030 00032 Vector3 dir_dot; 00033 00035 RigidBodyPtr rb1; 00036 00038 RigidBodyPtr rb2; 00039 00041 ContactPtr contact; 00042 }; // end class 00043 00044 } // end namespace 00045 00046 #endif 00047
1.5.1