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

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






NXgeometryImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXgeometryImpl

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

    Deprecated. 
    as decided at 2014 NIAC meeting, convert to use :ref:`NXtransformations`

    @Deprecated
    public class NXgeometryImpl
    extends NXobjectImpl
    implements NXgeometry
    legacy class - recommend to use :ref:`NXtransformations` now It is recommended that instances of :ref:`NXgeometry` be converted to use :ref:`NXtransformations`. This is the description for a general position of a component. It is recommended to name an instance of :ref:`NXgeometry` as "geometry" to aid in the use of the definition in simulation codes such as McStas. Also, in HDF, linked items must share the same name. However, it might not be possible or practical in all situations.
    See Also:
    Serialized Form
    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

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

      • NXgeometryImpl

        public NXgeometryImpl()
        Deprecated. 
      • NXgeometryImpl

        public NXgeometryImpl(long oid)
        Deprecated. 
    • Method Detail

      • getNXclass

        public java.lang.Class<? extends NXobject> getNXclass()
        Deprecated. 
        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
      • getShape

        public NXshape getShape()
        Deprecated. 
        Description copied from interface: NXgeometry
        shape/size information of component
        Specified by:
        getShape in interface NXgeometry
        Returns:
        the value.
      • setShape

        public void setShape(NXshape shape)
        Deprecated. 
        Description copied from interface: NXgeometry
        shape/size information of component
        Specified by:
        setShape in interface NXgeometry
        Parameters:
        shape - the shape
      • getShape

        public NXshape getShape(java.lang.String name)
        Deprecated. 
        Description copied from interface: NXgeometry
        Get a NXshape node by name:
        • shape/size information of component
        Specified by:
        getShape in interface NXgeometry
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXshape for that node.
      • setShape

        public void setShape(java.lang.String name,
                             NXshape shape)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set a NXshape node by name:
        • shape/size information of component
        Specified by:
        setShape in interface NXgeometry
        Parameters:
        name - the name of the node
        shape - the value to set
      • getAllShape

        public java.util.Map<java.lang.String,NXshape> getAllShape()
        Deprecated. 
        Description copied from interface: NXgeometry
        Get all NXshape nodes:
        • shape/size information of component
        Specified by:
        getAllShape in interface NXgeometry
        Returns:
        a map from node names to the NXshape for that node.
      • setAllShape

        public void setAllShape(java.util.Map<java.lang.String,NXshape> shape)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set multiple child nodes of a particular type.
        • shape/size information of component
        Specified by:
        setAllShape in interface NXgeometry
        Parameters:
        shape - the child nodes to add
      • setTranslation

        public void setTranslation(NXtranslation translation)
        Deprecated. 
        Description copied from interface: NXgeometry
        translation of component
        Specified by:
        setTranslation in interface NXgeometry
        Parameters:
        translation - the translation
      • getTranslation

        public NXtranslation getTranslation(java.lang.String name)
        Deprecated. 
        Description copied from interface: NXgeometry
        Get a NXtranslation node by name:
        • translation of component
        Specified by:
        getTranslation in interface NXgeometry
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXtranslation for that node.
      • setTranslation

        public void setTranslation(java.lang.String name,
                                   NXtranslation translation)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set a NXtranslation node by name:
        • translation of component
        Specified by:
        setTranslation in interface NXgeometry
        Parameters:
        name - the name of the node
        translation - the value to set
      • getAllTranslation

        public java.util.Map<java.lang.String,NXtranslation> getAllTranslation()
        Deprecated. 
        Description copied from interface: NXgeometry
        Get all NXtranslation nodes:
        • translation of component
        Specified by:
        getAllTranslation in interface NXgeometry
        Returns:
        a map from node names to the NXtranslation for that node.
      • setAllTranslation

        public void setAllTranslation(java.util.Map<java.lang.String,NXtranslation> translation)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set multiple child nodes of a particular type.
        • translation of component
        Specified by:
        setAllTranslation in interface NXgeometry
        Parameters:
        translation - the child nodes to add
      • setOrientation

        public void setOrientation(NXorientation orientation)
        Deprecated. 
        Description copied from interface: NXgeometry
        orientation of component
        Specified by:
        setOrientation in interface NXgeometry
        Parameters:
        orientation - the orientation
      • getOrientation

        public NXorientation getOrientation(java.lang.String name)
        Deprecated. 
        Description copied from interface: NXgeometry
        Get a NXorientation node by name:
        • orientation of component
        Specified by:
        getOrientation in interface NXgeometry
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXorientation for that node.
      • setOrientation

        public void setOrientation(java.lang.String name,
                                   NXorientation orientation)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set a NXorientation node by name:
        • orientation of component
        Specified by:
        setOrientation in interface NXgeometry
        Parameters:
        name - the name of the node
        orientation - the value to set
      • getAllOrientation

        public java.util.Map<java.lang.String,NXorientation> getAllOrientation()
        Deprecated. 
        Description copied from interface: NXgeometry
        Get all NXorientation nodes:
        • orientation of component
        Specified by:
        getAllOrientation in interface NXgeometry
        Returns:
        a map from node names to the NXorientation for that node.
      • setAllOrientation

        public void setAllOrientation(java.util.Map<java.lang.String,NXorientation> orientation)
        Deprecated. 
        Description copied from interface: NXgeometry
        Set multiple child nodes of a particular type.
        • orientation of component
        Specified by:
        setAllOrientation in interface NXgeometry
        Parameters:
        orientation - the child nodes to add
      • getDescription

        public IDataset getDescription()
        Deprecated. 
        Description copied from interface: NXgeometry
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Specified by:
        getDescription in interface NXgeometry
        Returns:
        the value.
      • getDescriptionScalar

        public java.lang.String getDescriptionScalar()
        Deprecated. 
        Description copied from interface: NXgeometry
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Specified by:
        getDescriptionScalar in interface NXgeometry
        Returns:
        the value.
      • setDescription

        public DataNode setDescription(IDataset description)
        Deprecated. 
        Description copied from interface: NXgeometry
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Specified by:
        setDescription in interface NXgeometry
        Parameters:
        description - the description
      • setDescriptionScalar

        public DataNode setDescriptionScalar(java.lang.String description)
        Deprecated. 
        Description copied from interface: NXgeometry
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Specified by:
        setDescriptionScalar in interface NXgeometry
        Parameters:
        description - the description
      • getComponent_index

        public IDataset getComponent_index()
        Deprecated. 
        Description copied from interface: NXgeometry
        Position of the component along the beam path. The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.

        Type: NX_INT

        Specified by:
        getComponent_index in interface NXgeometry
        Returns:
        the value.
      • getComponent_indexScalar

        public java.lang.Long getComponent_indexScalar()
        Deprecated. 
        Description copied from interface: NXgeometry
        Position of the component along the beam path. The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.

        Type: NX_INT

        Specified by:
        getComponent_indexScalar in interface NXgeometry
        Returns:
        the value.
      • setComponent_index

        public DataNode setComponent_index(IDataset component_index)
        Deprecated. 
        Description copied from interface: NXgeometry
        Position of the component along the beam path. The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.

        Type: NX_INT

        Specified by:
        setComponent_index in interface NXgeometry
        Parameters:
        component_index - the component_index
      • setComponent_indexScalar

        public DataNode setComponent_indexScalar(java.lang.Long component_index)
        Deprecated. 
        Description copied from interface: NXgeometry
        Position of the component along the beam path. The sample is at 0, components upstream have negative component_index, components downstream have positive component_index.

        Type: NX_INT

        Specified by:
        setComponent_indexScalar in interface NXgeometry
        Parameters:
        component_index - the component_index




© 2015 - 2024 Weber Informatics LLC | Privacy Policy