Sha256: 6a9347c14050f8ad1fead9605ab12bc999a33bb2fa2927dc4b63aeb45049a095

Contents?: true

Size: 877 Bytes

Versions: 5

Compression:

Stored size: 877 Bytes

Contents

class Tracksperanto::Export::FlameStabilizer < Tracksperanto::Export::Base
  PREAMBLE = '' #__DATA__.read
  
  # Should return the suffix and extension of this export file (like "_flame.stabilizer")
  def self.desc_and_extension
    "flame.stabilizer"
  end
  
  def start_export(w, h)
    @width = w, @height = h
  end
  
  def start_tracker_segment(tracker_name)
    @tracker_count ||= 0
    @tracker_count += 1
  end
  
  def end_export
    preamble = PREAMBLE % [ @tracker_count, @width, @height]
  end
  
  def export_point(frame, abs_float_x, abs_float_y, float_residual)
  end
end

__END__
StabilizerFileVersion 5.0
CreationDate Tue Dec  9 21:02:02 2008


NbTrackers %d
Selected 0
FrameWidth %d
FrameHeight %d
AutoKey yes
MotionPath yes
Icons yes
AutoPan no
EditMode 1
Format 0
Padding
	Red 0
	Green 0
	Blue 0
Oversampling no
Opacity 50
Zoom 3
Field no
Backward no
Anim

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tracksperanto-1.0.6 lib/export/flame_stabilizer.rb
tracksperanto-1.0.4 lib/export/flame_stabilizer.rb
tracksperanto-1.0.2 lib/export/flame_stabilizer.rb
tracksperanto-1.0.1 lib/export/flame_stabilizer.rb
tracksperanto-1.0.0 lib/export/flame_stabilizer.rb