class Tracksperanto::Tool::StartTrim
This tool removes all keyframes before frame 0, and skips trackers entirely if they are all before frame 0
Public Class Methods
action_description()
click to toggle source
# File lib/tools/start_trim.rb, line 4 def self.action_description "Remove all the keyframes that are on frames below 1" end
Public Instance Methods
export_point(frame, float_x, float_y, float_residual)
click to toggle source
Calls superclass method
# File lib/tools/start_trim.rb, line 13 def export_point(frame, float_x, float_y, float_residual) return super unless frame < 0 end
start_export( img_width, img_height)
click to toggle source
Calls superclass method
# File lib/tools/start_trim.rb, line 8 def start_export( img_width, img_height) @exporter = Tracksperanto::Tool::LengthCutoff.new(@exporter, :min_length => 1) # Ensure at least one keyframe super end