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

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






NXgeometry (h5jan API)












org.eclipse.dawnsci.nexus

Interface NXgeometry

  • All Superinterfaces:
    GroupNode, java.lang.Iterable<NodeLink>, Node, NXobject
    All Known Implementing Classes:
    NXgeometryImpl

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

    @Deprecated
    public interface NXgeometry
    extends NXobject
    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.
    • Field Detail

      • NX_DESCRIPTION

        static final java.lang.String NX_DESCRIPTION
        Deprecated. 
        See Also:
        Constant Field Values
      • NX_COMPONENT_INDEX

        static final java.lang.String NX_COMPONENT_INDEX
        Deprecated. 
        See Also:
        Constant Field Values
    • Method Detail

      • getShape

        NXshape getShape()
        Deprecated. 
        shape/size information of component
        Returns:
        the value.
      • setShape

        void setShape(NXshape shape)
        Deprecated. 
        shape/size information of component
        Parameters:
        shape - the shape
      • getShape

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

        void setShape(java.lang.String name,
                      NXshape shape)
        Deprecated. 
        Set a NXshape node by name:
        • shape/size information of component
        Parameters:
        name - the name of the node
        shape - the value to set
      • getAllShape

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

        void setAllShape(java.util.Map<java.lang.String,NXshape> shape)
        Deprecated. 
        Set multiple child nodes of a particular type.
        • shape/size information of component
        Parameters:
        shape - the child nodes to add
      • getTranslation

        NXtranslation getTranslation()
        Deprecated. 
        translation of component
        Returns:
        the value.
      • setTranslation

        void setTranslation(NXtranslation translation)
        Deprecated. 
        translation of component
        Parameters:
        translation - the translation
      • getTranslation

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

        void setTranslation(java.lang.String name,
                            NXtranslation translation)
        Deprecated. 
        Set a NXtranslation node by name:
        • translation of component
        Parameters:
        name - the name of the node
        translation - the value to set
      • getAllTranslation

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

        void setAllTranslation(java.util.Map<java.lang.String,NXtranslation> translation)
        Deprecated. 
        Set multiple child nodes of a particular type.
        • translation of component
        Parameters:
        translation - the child nodes to add
      • getOrientation

        NXorientation getOrientation()
        Deprecated. 
        orientation of component
        Returns:
        the value.
      • setOrientation

        void setOrientation(NXorientation orientation)
        Deprecated. 
        orientation of component
        Parameters:
        orientation - the orientation
      • getOrientation

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

        void setOrientation(java.lang.String name,
                            NXorientation orientation)
        Deprecated. 
        Set a NXorientation node by name:
        • orientation of component
        Parameters:
        name - the name of the node
        orientation - the value to set
      • getAllOrientation

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

        void setAllOrientation(java.util.Map<java.lang.String,NXorientation> orientation)
        Deprecated. 
        Set multiple child nodes of a particular type.
        • orientation of component
        Parameters:
        orientation - the child nodes to add
      • getDescription

        IDataset getDescription()
        Deprecated. 
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Returns:
        the value.
      • setDescription

        DataNode setDescription(IDataset description)
        Deprecated. 
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Parameters:
        description - the description
      • getDescriptionScalar

        java.lang.String getDescriptionScalar()
        Deprecated. 
        Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component.
        Returns:
        the value.
      • setDescriptionScalar

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

        IDataset getComponent_index()
        Deprecated. 
        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

        Returns:
        the value.
      • setComponent_index

        DataNode setComponent_index(IDataset component_index)
        Deprecated. 
        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

        Parameters:
        component_index - the component_index
      • getComponent_indexScalar

        java.lang.Long getComponent_indexScalar()
        Deprecated. 
        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

        Returns:
        the value.
      • setComponent_indexScalar

        DataNode setComponent_indexScalar(java.lang.Long component_index)
        Deprecated. 
        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

        Parameters:
        component_index - the component_index




© 2015 - 2024 Weber Informatics LLC | Privacy Policy