Interface NXgeometry

All Superinterfaces:
GroupNode, Iterable<NodeLink>, Node, NXobject

@Deprecated public interface NXgeometry extends NXobject
Deprecated.
as decided at 2014 NIAC meeting, convert to use :ref:`NXtransformations`
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 Details

  • Method Details

    • getShape

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

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

      NXshape getShape(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(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

      Map<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(Map<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 translationGroup)
      Deprecated.
      translation of component
      Parameters:
      translationGroup - the translationGroup
    • getTranslation

      NXtranslation getTranslation(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(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

      Map<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(Map<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 orientationGroup)
      Deprecated.
      orientation of component
      Parameters:
      orientationGroup - the orientationGroup
    • getOrientation

      NXorientation getOrientation(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(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

      Map<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(Map<String,NXorientation> orientation)
      Deprecated.
      Set multiple child nodes of a particular type.
      • orientation of component
      Parameters:
      orientation - the child nodes to add
    • getDescription

      org.eclipse.january.dataset.Dataset 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(org.eclipse.january.dataset.IDataset descriptionDataset)
      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:
      descriptionDataset - the descriptionDataset
    • getDescriptionScalar

      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(String descriptionValue)
      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

      org.eclipse.january.dataset.Dataset 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(org.eclipse.january.dataset.IDataset component_indexDataset)
      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_indexDataset - the component_indexDataset
    • getComponent_indexScalar

      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(Long component_indexValue)
      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