|
AGX Dynamics
2.37.2.0
|
Functions for generating Convex shapes from meshes, and for serializing them. More...
Functions | |
| AGXPHYSICS_EXPORT agxCollide::Convex * | createConvex (const agx::Vec3Vector &vertices, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3()) |
| Creates a convex shape from vertices only, building their convex hull. More... | |
| AGXPHYSICS_EXPORT bool | createConvexDecomposition (const agx::String &filename, agxCollide::ConvexRefVector &results, agxCollide::deprecated::ConvexBuilder *builder=nullptr, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3()) |
| Creates convex shapes using convex decomposition from a supported mesh file format (see agxIO::MeshReader::FileType), using John Ratcliff's algorithm from 2006 for convex decomposition. More... | |
| AGXPHYSICS_EXPORT bool | createConvexDecomposition (const agx::Vec3Vector &vertices, const agx::UInt32Vector &indices, agxCollide::ConvexRefVector &results, agxCollide::deprecated::ConvexBuilder *builder=nullptr, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3()) |
| Creates convex shapes using convex decomposition from vertices and indices (triangle lists), using John Ratcliff's algorithm from 2006 for convex decomposition. More... | |
Functions for generating Convex shapes from meshes, and for serializing them.
| AGXPHYSICS_EXPORT agxCollide::Convex* agxUtil::deprecated::ConvexReaderWriter::createConvex | ( | const agx::Vec3Vector & | vertices, |
| const agx::Matrix3x3 & | transformation = agx::Matrix3x3(), |
||
| const agx::Vec3 & | translation = agx::Vec3() |
||
| ) |
Creates a convex shape from vertices only, building their convex hull.
Vertices lying within the convex hull will be ignored.
| vertices | The vertices. |
| transformation | Scaling and rotation of each vertex. |
| translation | Translation of each vertex (executed after transformation). |
| AGXPHYSICS_EXPORT bool agxUtil::deprecated::ConvexReaderWriter::createConvexDecomposition | ( | const agx::String & | filename, |
| agxCollide::ConvexRefVector & | results, | ||
| agxCollide::deprecated::ConvexBuilder * | builder = nullptr, |
||
| const agx::Matrix3x3 & | transformation = agx::Matrix3x3(), |
||
| const agx::Vec3 & | translation = agx::Vec3() |
||
| ) |
Creates convex shapes using convex decomposition from a supported mesh file format (see agxIO::MeshReader::FileType), using John Ratcliff's algorithm from 2006 for convex decomposition.
(http://codesuppository.blogspot.com/2006/04/approximate-convex-decomposition.html).
| filename | The file name. |
| results | The result vector. |
| builder | A convex builder for more control. Optional. |
| transformation | Scaling and rotation of each vertex. |
| translation | Translation of each vertex (executed after transformation). |
| AGXPHYSICS_EXPORT bool agxUtil::deprecated::ConvexReaderWriter::createConvexDecomposition | ( | const agx::Vec3Vector & | vertices, |
| const agx::UInt32Vector & | indices, | ||
| agxCollide::ConvexRefVector & | results, | ||
| agxCollide::deprecated::ConvexBuilder * | builder = nullptr, |
||
| const agx::Matrix3x3 & | transformation = agx::Matrix3x3(), |
||
| const agx::Vec3 & | translation = agx::Vec3() |
||
| ) |
Creates convex shapes using convex decomposition from vertices and indices (triangle lists), using John Ratcliff's algorithm from 2006 for convex decomposition.
(http://codesuppository.blogspot.com/2006/04/approximate-convex-decomposition.html).
| vertices | The vertices. |
| indices | The indices. |
| results | The result vector. |
| builder | A convex builder for more control. Optional. |
| transformation | Scaling and rotation of each vertex. |
| translation | Translation of each vertex (executed after transformation). |