Method GetTrajectoryTransformBetween
GetTrajectoryTransformBetween(int, int)
Calculates the relative root transform displacement between a frame and an offset.
Declaration
public AffineTransform GetTrajectoryTransformBetween(int poseIndex, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| int | poseIndex | The reference frame for which the relative root transform should be calculated. |
| int | offset | An offset in frames that determines the number of frames that the relative root transform should span. |
Returns
| Type | Description |
|---|---|
| AffineTransform | The relative root transform between a reference and offset frame passed as argument. |
GetTrajectoryTransformBetween(SamplingTime, float)
Calculates the relative root transform between a sampling time and a delta time in seconds.
Declaration
public AffineTransform GetTrajectoryTransformBetween(SamplingTime samplingTime, float deltaTime)
Parameters
| Type | Name | Description |
|---|---|---|
| SamplingTime | samplingTime | The reference sampling time for which the relative root transform should be calculated. |
| float | deltaTime | An delta time in seconds that determines the duration that the relative root transform should span. |
Returns
| Type | Description |
|---|---|
| AffineTransform | The relative root transform between a sampling time and a delta time in seconds passed as argument. |