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

generated.docs.javadoc.org.eclipse.dawnsci.nexus.impl.NXcylindrical_geometryImpl.html Maven / Gradle / Ivy






NXcylindrical_geometryImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXcylindrical_geometryImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<NodeLink>, GroupNode, Node, NXcylindrical_geometry, NXobject


    public class NXcylindrical_geometryImpl
    extends NXobjectImpl
    implements NXcylindrical_geometry
    Geometry description for cylindrical shapes. This class can be used in place of ``NXoff_geometry`` when an exact representation for cylinders is preferred. For example, for Helium-tube, neutron detectors. It can be used to describe the shape of any beamline component, including detectors. In the case of detectors it can be used to define the shape of a single pixel, or, if the pixel shapes are non-uniform, to describe the shape of the whole detector.
    See Also:
    Serialized Form
    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

        public static final java.util.Set<NexusBaseClass> PERMITTED_CHILD_GROUP_CLASSES
    • Constructor Detail

      • NXcylindrical_geometryImpl

        public NXcylindrical_geometryImpl()
      • NXcylindrical_geometryImpl

        public NXcylindrical_geometryImpl(long oid)
    • Method Detail

      • getNXclass

        public java.lang.Class<? extends NXobject> getNXclass()
        Description copied from interface: NXobject
        Java Class object of the interface for this base class, e.g. NXsample.class.
        Specified by:
        getNXclass in interface NXobject
        Returns:
        name of Nexus class
      • getVertices

        public IDataset getVertices()
        Description copied from interface: NXcylindrical_geometry
        List of x,y,z coordinates for vertices. The origin of the coordinates is the position of the parent component, for example the NXdetector which the geometry describes. If the shape describes a single pixel for a detector with uniform pixel shape then the origin is the position of each pixel as described by the ``x/y/z_pixel_offset`` datasets in ``NXdetector``.

        Type: NX_NUMBER Units: NX_LENGTH Dimensions: 1: i; 2: 3;

        Specified by:
        getVertices in interface NXcylindrical_geometry
        Returns:
        the value.
      • getVerticesScalar

        public java.lang.Number getVerticesScalar()
        Description copied from interface: NXcylindrical_geometry
        List of x,y,z coordinates for vertices. The origin of the coordinates is the position of the parent component, for example the NXdetector which the geometry describes. If the shape describes a single pixel for a detector with uniform pixel shape then the origin is the position of each pixel as described by the ``x/y/z_pixel_offset`` datasets in ``NXdetector``.

        Type: NX_NUMBER Units: NX_LENGTH Dimensions: 1: i; 2: 3;

        Specified by:
        getVerticesScalar in interface NXcylindrical_geometry
        Returns:
        the value.
      • setVertices

        public DataNode setVertices(IDataset vertices)
        Description copied from interface: NXcylindrical_geometry
        List of x,y,z coordinates for vertices. The origin of the coordinates is the position of the parent component, for example the NXdetector which the geometry describes. If the shape describes a single pixel for a detector with uniform pixel shape then the origin is the position of each pixel as described by the ``x/y/z_pixel_offset`` datasets in ``NXdetector``.

        Type: NX_NUMBER Units: NX_LENGTH Dimensions: 1: i; 2: 3;

        Specified by:
        setVertices in interface NXcylindrical_geometry
        Parameters:
        vertices - the vertices
      • setVerticesScalar

        public DataNode setVerticesScalar(java.lang.Number vertices)
        Description copied from interface: NXcylindrical_geometry
        List of x,y,z coordinates for vertices. The origin of the coordinates is the position of the parent component, for example the NXdetector which the geometry describes. If the shape describes a single pixel for a detector with uniform pixel shape then the origin is the position of each pixel as described by the ``x/y/z_pixel_offset`` datasets in ``NXdetector``.

        Type: NX_NUMBER Units: NX_LENGTH Dimensions: 1: i; 2: 3;

        Specified by:
        setVerticesScalar in interface NXcylindrical_geometry
        Parameters:
        vertices - the vertices
      • getCylinders

        public IDataset getCylinders()
        Description copied from interface: NXcylindrical_geometry
        List of indices of vertices in the ``vertices`` dataset to form each cylinder. Each cylinder is described by three vertices A, B, C. First vertex A lies on the cylinder axis and circular face, second point B on edge of the same face as A, and third point C at the other face and on axis.

        Type: NX_INT Dimensions: 1: j; 2: 3;

        Specified by:
        getCylinders in interface NXcylindrical_geometry
        Returns:
        the value.
      • getCylindersScalar

        public java.lang.Long getCylindersScalar()
        Description copied from interface: NXcylindrical_geometry
        List of indices of vertices in the ``vertices`` dataset to form each cylinder. Each cylinder is described by three vertices A, B, C. First vertex A lies on the cylinder axis and circular face, second point B on edge of the same face as A, and third point C at the other face and on axis.

        Type: NX_INT Dimensions: 1: j; 2: 3;

        Specified by:
        getCylindersScalar in interface NXcylindrical_geometry
        Returns:
        the value.
      • setCylinders

        public DataNode setCylinders(IDataset cylinders)
        Description copied from interface: NXcylindrical_geometry
        List of indices of vertices in the ``vertices`` dataset to form each cylinder. Each cylinder is described by three vertices A, B, C. First vertex A lies on the cylinder axis and circular face, second point B on edge of the same face as A, and third point C at the other face and on axis.

        Type: NX_INT Dimensions: 1: j; 2: 3;

        Specified by:
        setCylinders in interface NXcylindrical_geometry
        Parameters:
        cylinders - the cylinders
      • setCylindersScalar

        public DataNode setCylindersScalar(java.lang.Long cylinders)
        Description copied from interface: NXcylindrical_geometry
        List of indices of vertices in the ``vertices`` dataset to form each cylinder. Each cylinder is described by three vertices A, B, C. First vertex A lies on the cylinder axis and circular face, second point B on edge of the same face as A, and third point C at the other face and on axis.

        Type: NX_INT Dimensions: 1: j; 2: 3;

        Specified by:
        setCylindersScalar in interface NXcylindrical_geometry
        Parameters:
        cylinders - the cylinders
      • setDetector_number

        public DataNode setDetector_number(IDataset detector_number)
        Description copied from interface: NXcylindrical_geometry
        Maps cylinders in ``cylinder``, by index, with a detector id.

        Type: NX_INT Dimensions: 1: k;

        Specified by:
        setDetector_number in interface NXcylindrical_geometry
        Parameters:
        detector_number - the detector_number
      • setDetector_numberScalar

        public DataNode setDetector_numberScalar(java.lang.Long detector_number)
        Description copied from interface: NXcylindrical_geometry
        Maps cylinders in ``cylinder``, by index, with a detector id.

        Type: NX_INT Dimensions: 1: k;

        Specified by:
        setDetector_numberScalar in interface NXcylindrical_geometry
        Parameters:
        detector_number - the detector_number




© 2015 - 2024 Weber Informatics LLC | Privacy Policy