lib/export/pftrack_5.rb in tracksperanto-2.0.2 vs lib/export/pftrack_5.rb in tracksperanto-2.1.0
- old
+ new
@@ -1,25 +1,17 @@
# Export for PFTrack .2dt files for version 5
-class Tracksperanto::Export::PFTrack5 < Tracksperanto::Export::PFTrack4
+class Tracksperanto::Export::PFTrack5 < Tracksperanto::Export::PFMatchit
def self.desc_and_extension
"pftrack_v5.2dt"
end
def self.human_name
- "PFTrack v5 .2dt file"
+ "PFTrack v5 .2dt file (single camera)"
end
- def end_tracker_segment
- 2.times { @io.write(LINEBREAK) }
- @io.write(@tracker_name.inspect) # autoquotes
- @io.write(LINEBREAK)
- @io.write("Primary".inspect) # For primary/secondary cam in stereo pair
- @io.write(LINEBREAK)
- @io.write(@frame_count)
- @io.write(LINEBREAK)
-
- @tracker_io.rewind
- @io.write(@tracker_io.read) until @tracker_io.eof?
- @tracker_io.close!
+ private
+
+ def camera_name
+ "Primary".inspect
end
end
\ No newline at end of file