Class LandMarkCSVLogging
java.lang.Object
videoRangePanel.vrmethods.landMarkMethod.LandMarkCSVLogging
Imports landmarks.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(File file, LandMarkGroup landMarkGroup) Import landmarks from a .csv filevoid
export
(LandMarkGroup landMarkGroup, javafx.stage.Window owner) Opens a file dialog and allows users to export and landmark groupimportLandMarks
(File file) Import landmarks from a .csv fileimportLandMarks
(javafx.stage.Window owner) Open a file dialog and import a .csv of landmarks.parseLandMarkString
(String landMarkString) Convert a string from .csv file into a landmark object.static void
saveCSVResult
(LandMark landMark, FileWriter fwLoc) Save a landmark as a line in a .csv file
-
Constructor Details
-
LandMarkCSVLogging
public LandMarkCSVLogging()
-
-
Method Details
-
importLandMarks
Open a file dialog and import a .csv of landmarks.- Returns:
- imported LandMarkGroup.
-
importLandMarks
Import landmarks from a .csv file- Parameters:
file
- - the file- Returns:
- list of imported landmarks.
-
export
Opens a file dialog and allows users to export and landmark group- Parameters:
landMarkGroup
- - the landmark group to export.
-
export
Import landmarks from a .csv file- Parameters:
file
- - the file
-
saveCSVResult
Save a landmark as a line in a .csv file- Parameters:
landMark
-fwLoc
-
-
parseLandMarkString
Convert a string from .csv file into a landmark object.- Returns:
- landmark representation of the string. Null if could not be parsed from String.
-