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

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






NXorientationImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXorientationImpl

    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

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

      • NXorientationImpl

        public NXorientationImpl()
      • NXorientationImpl

        public NXorientationImpl(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
      • getGeometry

        public NXgeometry getGeometry()
        Description copied from interface: NXorientation
        Link to another object if we are using relative positioning, else absent
        Specified by:
        getGeometry in interface NXorientation
        Returns:
        the value.
      • setGeometry

        public void setGeometry(NXgeometry geometry)
        Description copied from interface: NXorientation
        Link to another object if we are using relative positioning, else absent
        Specified by:
        setGeometry in interface NXorientation
        Parameters:
        geometry - the geometry
      • getGeometry

        public NXgeometry getGeometry(java.lang.String name)
        Description copied from interface: NXorientation
        Get a NXgeometry node by name:
        • Link to another object if we are using relative positioning, else absent
        Specified by:
        getGeometry in interface NXorientation
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXgeometry for that node.
      • setGeometry

        public void setGeometry(java.lang.String name,
                                NXgeometry geometry)
        Description copied from interface: NXorientation
        Set a NXgeometry node by name:
        • Link to another object if we are using relative positioning, else absent
        Specified by:
        setGeometry in interface NXorientation
        Parameters:
        name - the name of the node
        geometry - the value to set
      • getAllGeometry

        public java.util.Map<java.lang.String,NXgeometry> getAllGeometry()
        Description copied from interface: NXorientation
        Get all NXgeometry nodes:
        • Link to another object if we are using relative positioning, else absent
        Specified by:
        getAllGeometry in interface NXorientation
        Returns:
        a map from node names to the NXgeometry for that node.
      • setAllGeometry

        public void setAllGeometry(java.util.Map<java.lang.String,NXgeometry> geometry)
        Description copied from interface: NXorientation
        Set multiple child nodes of a particular type.
        • Link to another object if we are using relative positioning, else absent
        Specified by:
        setAllGeometry in interface NXorientation
        Parameters:
        geometry - the child nodes to add
      • getValue

        public IDataset getValue()
        Description copied from interface: NXorientation
        The orientation information is stored as direction cosines. The direction cosines will be between the local coordinate directions and the reference directions (to origin or relative NXgeometry). Calling the local unit vectors (x',y',z') and the reference unit vectors (x,y,z) the six numbers will be [x' dot x, x' dot y, x' dot z, y' dot x, y' dot y, y' dot z] where "dot" is the scalar dot product (cosine of the angle between the unit vectors). The unit vectors in both the local and reference coordinates are right-handed and orthonormal. The pair of groups NXtranslation and NXorientation together describe the position of a component.

        Type: NX_FLOAT Units: NX_UNITLESS Dimensions: 1: numobj; 2: 6;

        Specified by:
        getValue in interface NXorientation
        Returns:
        the value.
      • getValueScalar

        public java.lang.Double getValueScalar()
        Description copied from interface: NXorientation
        The orientation information is stored as direction cosines. The direction cosines will be between the local coordinate directions and the reference directions (to origin or relative NXgeometry). Calling the local unit vectors (x',y',z') and the reference unit vectors (x,y,z) the six numbers will be [x' dot x, x' dot y, x' dot z, y' dot x, y' dot y, y' dot z] where "dot" is the scalar dot product (cosine of the angle between the unit vectors). The unit vectors in both the local and reference coordinates are right-handed and orthonormal. The pair of groups NXtranslation and NXorientation together describe the position of a component.

        Type: NX_FLOAT Units: NX_UNITLESS Dimensions: 1: numobj; 2: 6;

        Specified by:
        getValueScalar in interface NXorientation
        Returns:
        the value.
      • setValue

        public DataNode setValue(IDataset value)
        Description copied from interface: NXorientation
        The orientation information is stored as direction cosines. The direction cosines will be between the local coordinate directions and the reference directions (to origin or relative NXgeometry). Calling the local unit vectors (x',y',z') and the reference unit vectors (x,y,z) the six numbers will be [x' dot x, x' dot y, x' dot z, y' dot x, y' dot y, y' dot z] where "dot" is the scalar dot product (cosine of the angle between the unit vectors). The unit vectors in both the local and reference coordinates are right-handed and orthonormal. The pair of groups NXtranslation and NXorientation together describe the position of a component.

        Type: NX_FLOAT Units: NX_UNITLESS Dimensions: 1: numobj; 2: 6;

        Specified by:
        setValue in interface NXorientation
        Parameters:
        value - the value
      • setValueScalar

        public DataNode setValueScalar(java.lang.Double value)
        Description copied from interface: NXorientation
        The orientation information is stored as direction cosines. The direction cosines will be between the local coordinate directions and the reference directions (to origin or relative NXgeometry). Calling the local unit vectors (x',y',z') and the reference unit vectors (x,y,z) the six numbers will be [x' dot x, x' dot y, x' dot z, y' dot x, y' dot y, y' dot z] where "dot" is the scalar dot product (cosine of the angle between the unit vectors). The unit vectors in both the local and reference coordinates are right-handed and orthonormal. The pair of groups NXtranslation and NXorientation together describe the position of a component.

        Type: NX_FLOAT Units: NX_UNITLESS Dimensions: 1: numobj; 2: 6;

        Specified by:
        setValueScalar in interface NXorientation
        Parameters:
        value - the value




© 2015 - 2024 Weber Informatics LLC | Privacy Policy