#include <TrimeshInterpolator.h>
Definition at line 33 of file TrimeshInterpolator.h.
◆ TrimeshInterpolator()
| agxUtil::TrimeshInterpolator::TrimeshInterpolator |
( |
| ) |
|
|
inline |
◆ ~TrimeshInterpolator()
| agxUtil::TrimeshInterpolator::~TrimeshInterpolator |
( |
| ) |
|
|
inline |
◆ createInterpolationTrimesh()
Interpolate between two Trimeshes and create a Trimesh shape at an interpolation time.
- Parameters
-
| startTrimesh | - Mesh at t0 |
| endTrimesh | - Mesh at t1 |
| subTime | Decides what interpolation trimesh is created, ~0 = close to start trimesh, ~1 = close to end trimesh, 0.5 right between trimeshes |
- Returns
- interpolated trimesh
◆ createVelocityVector()
Extracts velocity values from interpolation of mesh and returns a velocity for each vertex on the mesh.
- Parameters
-
| duration | The time between the two meshes |
| startTrimesh | - Mesh at t0 |
| endTrimesh | - Mesh at t1 |
- Returns
- Velocity values in a Vec3Vector
The documentation for this class was generated from the following file: