001/*- 002 ******************************************************************************* 003 * Copyright (c) 2011, 2016 Diamond Light Source Ltd. 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Peter Chang - initial API and implementation and/or initial documentation 011 *******************************************************************************/ 012 013package org.eclipse.january.metadata; 014 015public interface DimensionMetadata extends MetadataType { 016 017 /** 018 * Initialize dimension metadata 019 * @param shape to set 020 * @param maxShape maximum possible dimensions 021 * @param chunkShape dimensions of chunks 022 */ 023 public void initialize(int[] shape, int[] maxShape, int[] chunkShape); 024 025 public int[] getDataDimensions(); 026 027 public int[] getDataMaxDimensions(); 028 029 public int[] getDataChunkDimensions(); 030}