Function Karana::KUtils::visualizeFrameToFrameRates#
Defined in File VizUtils.h
Function Documentation#
-
kc::ks_ptr<ScaledVectorVisualizer> Karana::KUtils::visualizeFrameToFrameRates(const kc::ks_ptr<kf::FrameToFrame> &frame_to_frame, const kc::ks_ptr<ks::ProxyScene> &scene, FrameToFrameRateType rate_type)#
Visualize the frame_to_frame vel/accel values.
Visualize the relative velocity/acceleration (as specified by the type argument) for the frame_to_frame as a vector originating from the pframe and whose size and direction is proportional to the selected relative rate. The orientation of the vector is in the oframe.
- Parameters:
frame_to_frame – Visualize the vector for the frame_to_frame’s rates.
scene – The ProxyScene to use for visualizing.
rate_type – The type of rate to visualize
- Returns:
A ScaledVectorVisualizer for visualizing the frame-to-frame rates.