All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.dawnsci.nexus.NXpinhole Maven / Gradle / Ivy

/*-
 *******************************************************************************
 * Copyright (c) 2015 Diamond Light Source Ltd.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * This file was auto-generated from the NXDL XML definition.
 *******************************************************************************/

package org.eclipse.dawnsci.nexus;

import org.eclipse.dawnsci.analysis.api.tree.DataNode;
import org.eclipse.january.dataset.IDataset;

/**
 * A simple pinhole.
 * For more complex geometries, :ref:`NXaperture` should be used.
 * 
 */
public interface NXpinhole extends NXobject {

	public static final String NX_DEPENDS_ON = "depends_on";
	public static final String NX_DIAMETER = "diameter";
	/**
	 * Points to the path of the last element in the geometry chain that places
	 * this object in space.
	 * When followed through that chain is supposed to end at an element depending
	 * on "." i.e. the origin of the coordinate system.
	 * If desired the location of the slit can also be described relative to
	 * an NXbeam, which will allow a simple description of a non-centred pinhole.
	 * 

* Type: NX_CHAR *

* * @return the value. */ public IDataset getDepends_on(); /** * Points to the path of the last element in the geometry chain that places * this object in space. * When followed through that chain is supposed to end at an element depending * on "." i.e. the origin of the coordinate system. * If desired the location of the slit can also be described relative to * an NXbeam, which will allow a simple description of a non-centred pinhole. *

* Type: NX_CHAR *

* * @param depends_on the depends_on */ public DataNode setDepends_on(IDataset depends_on); /** * Points to the path of the last element in the geometry chain that places * this object in space. * When followed through that chain is supposed to end at an element depending * on "." i.e. the origin of the coordinate system. * If desired the location of the slit can also be described relative to * an NXbeam, which will allow a simple description of a non-centred pinhole. *

* Type: NX_CHAR *

* * @return the value. */ public String getDepends_onScalar(); /** * Points to the path of the last element in the geometry chain that places * this object in space. * When followed through that chain is supposed to end at an element depending * on "." i.e. the origin of the coordinate system. * If desired the location of the slit can also be described relative to * an NXbeam, which will allow a simple description of a non-centred pinhole. *

* Type: NX_CHAR *

* * @param depends_on the depends_on */ public DataNode setDepends_onScalar(String depends_on); /** * Size of the circular hole defining the transmitted beam size. *

* Type: NX_NUMBER * Units: NX_LENGTH *

* * @return the value. */ public IDataset getDiameter(); /** * Size of the circular hole defining the transmitted beam size. *

* Type: NX_NUMBER * Units: NX_LENGTH *

* * @param diameter the diameter */ public DataNode setDiameter(IDataset diameter); /** * Size of the circular hole defining the transmitted beam size. *

* Type: NX_NUMBER * Units: NX_LENGTH *

* * @return the value. */ public Number getDiameterScalar(); /** * Size of the circular hole defining the transmitted beam size. *

* Type: NX_NUMBER * Units: NX_LENGTH *

* * @param diameter the diameter */ public DataNode setDiameterScalar(Number diameter); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy