Convex decomposition.
More...
#include <Mesh.hh>
◆ ConvexDecomposition()
sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::ConvexDecomposition |
( |
| ) |
|
◆ Element()
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::Element |
( |
| ) |
const |
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ Load()
Load the contact based on a element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ MaxConvexHulls()
unsigned int sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::MaxConvexHulls |
( |
| ) |
const |
Get the maximum number of convex hulls that can be generated.
- Returns
- Maximum number of convex hulls.
◆ SetMaxConvexHulls()
void sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::SetMaxConvexHulls |
( |
unsigned int |
_maxConvexHulls | ) |
|
Set the maximum number of convex hulls that can be generated.
- Parameters
-
[in] | _maxConvexHulls | Maximum number of convex hulls. |
◆ SetVoxelResolution()
void sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::SetVoxelResolution |
( |
unsigned int |
_voxelResolution | ) |
|
Set the voxel resolution to use for representing the mesh.
Applicable only to voxel based convex decomposition methods.
- Parameters
-
[in] | _voxelResolution | Voxel resolution to use. |
◆ VoxelResolution()
unsigned int sdf::SDF_VERSION_NAMESPACE::ConvexDecomposition::VoxelResolution |
( |
| ) |
const |
Get the voxel resolution to use for representing the mesh.
Applicable only to voxel based convex decomposition methods.
- Parameters
-
[in] | _voxelResolution | Voxel resolution to use. |
The documentation for this class was generated from the following file: