File tree Expand file tree Collapse file tree 3 files changed +486
-76
lines changed
main/java/com/glencoesoftware/bioformats2raw
test/java/com/glencoesoftware/bioformats2raw/test Expand file tree Collapse file tree 3 files changed +486
-76
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (c) 2025 Glencoe Software, Inc. All rights reserved.
3+ *
4+ * This software is distributed under the terms described by the LICENSE.txt
5+ * file you can find at the root of the distribution bundle. If the file is
6+ * missing please request a copy by contacting info@glencoesoftware.com
7+ */
8+ package com .glencoesoftware .bioformats2raw ;
9+
10+ /**
11+ * Describe an axis, including type and dimensions.
12+ */
13+ public class Axis {
14+
15+ private char type ;
16+ private int length ;
17+ private int chunkSize ;
18+
19+ /**
20+ * Create a new Axis.
21+ *
22+ * @param t axis type (e.g. 'X')
23+ * @param len axis length
24+ * @param chunk chunk length (expected to be in range [1, len])
25+ */
26+ public Axis (char t , int len , int chunk ) {
27+ type = t ;
28+ length = len ;
29+ chunkSize = chunk ;
30+ }
31+
32+ /**
33+ * @return axis type (e.g. 'X')
34+ */
35+ public char getType () {
36+ return type ;
37+ }
38+
39+ /**
40+ * @return axis length
41+ */
42+ public int getLength () {
43+ return length ;
44+ }
45+
46+ /**
47+ * @return chunk length
48+ */
49+ public int getChunkSize () {
50+ return chunkSize ;
51+ }
52+
53+ }
You can’t perform that action at this time.
0 commit comments