class Tracksperanto::Export::PFTrack5

Export for PFTrack .2dt files for version 5

Public Class Methods

desc_and_extension() click to toggle source
# File lib/export/pftrack_5.rb, line 4
def self.desc_and_extension
  "pftrack_v5.2dt"
end
human_name() click to toggle source
# File lib/export/pftrack_5.rb, line 8
def self.human_name
  "PFTrack v5 .2dt file (single camera)"
end

Private Instance Methods

camera_name() click to toggle source
# File lib/export/pftrack_5.rb, line 14
def camera_name
  "Primary".inspect
end
frame_number(tracksperanto_frame) click to toggle source

PFT5 frames are zero-based

# File lib/export/pftrack_5.rb, line 19
def frame_number(tracksperanto_frame)
  tracksperanto_frame
end
linebreak() click to toggle source

PFT5 wants CRLF

# File lib/export/pftrack_5.rb, line 24
def linebreak
  "\r\n"
end