Sha256: 75af0a85111a422f74d37eba4f88119482440d2ecde1afd784b87ed6d4aee3e0

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

# Export for PFTrack .2dt files for version 5
class Tracksperanto::Export::PFTrack5 < Tracksperanto::Export::PFMatchit
    
    def self.desc_and_extension
      "pftrack_v5.2dt"
    end
    
    def self.human_name
      "PFTrack v5 .2dt file (single camera)"
    end
    
    private
    
    def camera_name
      "Primary".inspect
    end
    
    # PFT5 frames are zero-based
    def frame_number(tracksperanto_frame)
      tracksperanto_frame
    end
    
    # PFT5 wants CRLF
    def linebreak
      "\r\n"
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tracksperanto-4.2.0 lib/export/pftrack_5.rb
tracksperanto-4.1.3 lib/export/pftrack_5.rb
tracksperanto-4.1.2 lib/export/pftrack_5.rb
tracksperanto-4.1.0 lib/export/pftrack_5.rb
tracksperanto-4.0.0 lib/export/pftrack_5.rb