class Tracksperanto::Export::FlameStabilizerCornerpin
Exports setups with tracker naming that works with the Action bilinears
Constants
- CORNERPIN_NAMING
Public Class Methods
desc_and_extension()
click to toggle source
# File lib/export/flame_stabilizer_cornerpin.rb, line 5 def self.desc_and_extension "flame_cornerpin.stabilizer" end
human_name()
click to toggle source
# File lib/export/flame_stabilizer_cornerpin.rb, line 9 def self.human_name "Flame/Smoke 2D Stabilizer setup for bilinear corner pins" end
new(*arguments)
click to toggle source
Initialize the exporter with a preconfigured sorter around it. When this object receives the commands they will come from the Sorter
instead, and the trackers will already be in their Z-order
Calls superclass method
Tracksperanto::Export::Base::new
# File lib/export/flame_stabilizer_cornerpin.rb, line 75 def self.new(*arguments) object = super Sorter.new(object) end
Public Instance Methods
end_tracker_segment()
click to toggle source
Calls superclass method
Tracksperanto::Export::FlameStabilizer#end_tracker_segment
# File lib/export/flame_stabilizer_cornerpin.rb, line 101 def end_tracker_segment return if @skip super end
export_point(frame, abs_float_x, abs_float_y, float_residual)
click to toggle source
Calls superclass method
Tracksperanto::Export::FlameStabilizer#export_point
# File lib/export/flame_stabilizer_cornerpin.rb, line 96 def export_point(frame, abs_float_x, abs_float_y, float_residual) return if @skip super end
prefix(tracker_channel)
click to toggle source
Overridden to give the right names to trackers
# File lib/export/flame_stabilizer_cornerpin.rb, line 83 def prefix(tracker_channel) tracker_name = CORNERPIN_NAMING[@counter] [tracker_name, tracker_channel].join("/") end
start_tracker_segment(tracker_name)
click to toggle source
Calls superclass method
Tracksperanto::Export::FlameStabilizer#start_tracker_segment
# File lib/export/flame_stabilizer_cornerpin.rb, line 88 def start_tracker_segment(tracker_name) if (@counter == 4) @skip = true else super end end