Main Content

removeTransform

Remove frame transform relative to its parent

Since R2022a

Description

removeTransform(frames,framename,timestamp) removes the frame transforms between the given frame name and their parent frame at the specified timestamps.

removeTransform(frames,framename,timeStart,timeEnd) removes all the frame transforms for the given frame name in the time interval, [timeStart timeEnd].

Input Arguments

collapse all

Transform tree defining the child-parent frame relationship at given timestamps, specified as a transformTree object.

Frame name with transforms you want to remove, specified as a string scalar or character vector.

Data Types: char | string | cell

Times for removing transforms, specified as a scalar or vector of scalars in seconds. These timestamps must be specified for each of the frame transforms that you want to remove.

Initial time for removing transforms, specified as a scalar in seconds. All transforms for the given framename are removed from timeStart to timeEnd.

Final time for removing transforms, specified as a scalar in seconds. All transforms for the given framename are removed from timeStart to timeEnd.

Version History

Introduced in R2022a