Class: Tracksperanto::Tool::Golden

Inherits:
Base
  • Object
show all
Defined in:
lib/tools/golden.rb

Overview

This tool marks all trackers as being 100% accurate

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

inherited, #initialize

Methods included from Parameters

included, #parameter, #parameters

Methods included from SimpleExport

#just_export

Methods included from ConstName

#const_name, included

Methods included from BlockInit

#initialize

Methods included from Casts

#cast_to_bool, #cast_to_float, #cast_to_int, #cast_to_string, included

Constructor Details

This class inherits a constructor from Tracksperanto::Tool::Base

Class Method Details

.action_descriptionObject



5
6
7
# File 'lib/tools/golden.rb', line 5

def self.action_description
  "Reset residual of all the trackers to zero"
end

Instance Method Details

#export_point(frame, float_x, float_y, float_residual) ⇒ Object



9
10
11
# File 'lib/tools/golden.rb', line 9

def export_point(frame, float_x, float_y, float_residual)
  super(frame, float_x, float_y, 0.0)
end