00001 // rdSIMMUtilities.h 00002 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00003 // Copyright 2003 Realistic Dynamics, Inc. 00004 // All rights reserved. 00005 // 00006 // Please do not read, copy, distribute, or use without permission. 00007 // Contact: Frank C. Anderson, fca@RealisticDynamics.com 00008 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00009 #ifndef __rdSIMMUtilities_h__ 00010 #define __rdSIMMUtilities_h__ 00011 00012 00013 #include "rdTools.h" 00014 00015 00016 class rdLine; 00017 class rdPlane; 00018 00019 00020 //============================================================================= 00021 //============================================================================= 00025 class RDTOOLS_API rdSIMMUtilities 00026 { 00027 //============================================================================= 00028 // DATA 00029 //============================================================================= 00030 public: 00031 static const double PI; 00032 static const double RTD; 00033 static const double DTR; 00034 static const double SMALL; 00035 static const double ZERO; 00036 static const double NAN; 00037 static const double INF; 00038 00039 //============================================================================= 00040 // METHODS 00041 //============================================================================= 00042 public: 00043 00044 //-------------------------------------------------------------------------- 00045 // BONES 00046 //-------------------------------------------------------------------------- 00047 static int 00048 LoadBone(const char *aFileName,double rBoundingBox[6], 00049 int &rNumVert,double *&rVerts,double *&rNormals, 00050 int &rNumFaces,int *&rFaceCounts,int *&rFaces); 00051 00052 //============================================================================= 00053 }; // END class rdSIMMUtilities 00054 //============================================================================= 00055 //============================================================================= 00056 00057 #endif // __rdSIMMUtilities_h__ 00058
1.3