001/******************************************************************************* 002 * Permission to use and distribute this software is granted under the BSD 2-Clause 003 * "Simplified" License (see http://opensource.org/licenses/BSD-2-Clause). 004 * Copyright (c) 2016-2023 Wilhelm Burger. All rights reserved. 005 * Visit https://imagingbook.com for additional details. 006 ******************************************************************************/ 007package imagingbook.calibration.zhang.data; 008 009import imagingbook.core.resource.NamedResource; 010 011public enum TextDataResource implements NamedResource { 012 CalibrationResultZhangWithDistortion_txt("calibration-result-zhang-withdistortion.txt"), 013 Model_txt("Model.txt"), 014 AllCalibrationResultsEasyCalib_txt("all-calibration-results-EasyCalib.txt"), 015 AllCalibrationResults_txt("all-calibration-results.txt"), 016 Data1_txt("data1.txt"), 017 Data2_txt("data2.txt"), 018 Data3_txt("data3.txt"), 019 Data4_txt("data4.txt"), 020 Data5_txt("data5.txt"); 021 022 private final String filename; 023 024 private TextDataResource(String filename) { 025 this.filename = filename; 026 } 027 028 @Override 029 public String getFileName() { 030 return filename; 031 } 032 033}