00001 #ifndef COMPUTE_CONCAVITY_H 00002 00003 #define COMPUTE_CONCAVITY_H 00004 00062 namespace ConvexDecomposition 00063 { 00064 00065 class ConvexDecompInterface; 00066 00067 // compute's how 'concave' this object is and returns the total volume of the 00068 // convex hull as well as the volume of the 'concavity' which was found. 00069 double computeConcavity(unsigned int vcount, 00070 const double *vertices, 00071 unsigned int tcount, 00072 const unsigned int *indices, 00073 ConvexDecompInterface *callback, 00074 double *plane, 00075 double &volume); 00076 00077 00078 }; 00079 00080 00081 #endif