Convex decomposition. More...
#include <Mesh.hh>
Public Member Functions | |
ConvexDecomposition () | |
Default constructor. | |
sdf::ElementPtr | Element () const |
Get a pointer to the SDF element that was used during load. | |
Errors | Load (ElementPtr _sdf) |
Load the contact based on a element pointer. | |
unsigned int | MaxConvexHulls () const |
Get the maximum number of convex hulls that can be generated. | |
void | SetMaxConvexHulls (unsigned int _maxConvexHulls) |
Set the maximum number of convex hulls that can be generated. | |
Convex decomposition.
sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::ConvexDecomposition | ( | ) |
Default constructor.
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::Element | ( | ) | const |
Errors sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::Load | ( | ElementPtr | _sdf | ) |
unsigned int sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::MaxConvexHulls | ( | ) | const |
Get the maximum number of convex hulls that can be generated.
void sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::SetMaxConvexHulls | ( | unsigned int | _maxConvexHulls | ) |
Set the maximum number of convex hulls that can be generated.