Visualize 3D Marker Positions and Segments
Source:R/visualise_3D_segment_position.R
visualise_3D_segment_position.Rd
This function visualizes the 3D positions of markers at a specific frame, connecting markers belonging to the same body segment with lines to represent the segments of the body in a 3D space.
Arguments
- data
A data frame containing time and marker positions with columns formatted as `Frame`, `Time`, `markername_X`, `markername_Y`, `markername_Z`.
- selected_frame
Numeric value indicating the frame to visualize the marker positions.
- mapping_data
A data frame containing mapping information, with columns for marker names and associated body segments.
- marker_col
Name of the column in `mapping_data` that contains the marker names.
- segment
Name of the column in `mapping_data` that contains the body segments.