Package org.eclipse.dawnsci.nexus
Interface NXgeometry
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 Summary
FieldsFields inherited from interface org.eclipse.dawnsci.nexus.NXobject
NX_ATTRIBUTE_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get all NXorientation nodes: orientation of componentDeprecated.Get all NXshape nodes: shape/size information of componentDeprecated.Get all NXtranslation nodes: translation of componentorg.eclipse.january.dataset.DatasetDeprecated.Position of the component along the beam path.Deprecated.Position of the component along the beam path.org.eclipse.january.dataset.DatasetDeprecated.Optional description/label.Deprecated.Optional description/label.Deprecated.orientation of componentgetOrientation(String name) Deprecated.Get a NXorientation node by name: orientation of componentgetShape()Deprecated.shape/size information of componentDeprecated.Get a NXshape node by name: shape/size information of componentDeprecated.translation of componentgetTranslation(String name) Deprecated.Get a NXtranslation node by name: translation of componentvoidsetAllOrientation(Map<String, NXorientation> orientation) Deprecated.Set multiple child nodes of a particular type.voidsetAllShape(Map<String, NXshape> shape) Deprecated.Set multiple child nodes of a particular type.voidsetAllTranslation(Map<String, NXtranslation> translation) Deprecated.Set multiple child nodes of a particular type.setComponent_index(org.eclipse.january.dataset.IDataset component_indexDataset) Deprecated.Position of the component along the beam path.setComponent_indexScalar(Long component_indexValue) Deprecated.Position of the component along the beam path.setDescription(org.eclipse.january.dataset.IDataset descriptionDataset) Deprecated.Optional description/label.setDescriptionScalar(String descriptionValue) Deprecated.Optional description/label.voidsetOrientation(String name, NXorientation orientation) Deprecated.Set a NXorientation node by name: orientation of componentvoidsetOrientation(NXorientation orientationGroup) Deprecated.orientation of componentvoidDeprecated.Set a NXshape node by name: shape/size information of componentvoidDeprecated.shape/size information of componentvoidsetTranslation(String name, NXtranslation translation) Deprecated.Set a NXtranslation node by name: translation of componentvoidsetTranslation(NXtranslation translationGroup) Deprecated.translation of componentMethods inherited from interface org.eclipse.dawnsci.analysis.api.tree.GroupNode
addDataNode, addGroupNode, addNode, addNodeLink, addSymbolicNode, containsDataNode, containsGroupNode, containsNode, containsSymbolicNode, findLinkedNodeName, findNode, findNodeLink, getDataNode, getDataNodeMap, getDataNodeNames, getDataNodes, getDatasets, getGlobalPool, getGroupNode, getGroupNodeMap, getGroupNodeNames, getGroupNodes, getNames, getNode, getNodeLink, getNodeNameIterator, getNumberOfDataNodes, getNumberOfGroupNodes, getNumberOfNodelinks, getSymbolicNode, getSymbolicNodeNames, isPopulated, iterator, removeDataNode, removeDataNode, removeGroupNode, removeGroupNode, removeSymbolicNode, removeSymbolicNode, setGlobalPoolMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.dawnsci.analysis.api.tree.Node
addAttribute, containsAttribute, getAttribute, getAttributeIterator, getAttributeNameIterator, getAttributeNames, getID, getNumberOfAttributes, isDataNode, isGroupNode, isSymbolicNode, removeAttribute, removeAttributeMethods inherited from interface org.eclipse.dawnsci.nexus.NXobject
addExternalLink, canAddChild, createDataNode, getAllDatasets, getAttr, getAttrBoolean, getAttrDate, getAttrDouble, getAttributeDefault, getAttrLong, getAttrNumber, getAttrString, getBoolean, getChild, getChildren, getChildren, getDataset, getDate, getDouble, getLazyDataset, getLazyWritableDataset, getLong, getNexusBaseClass, getNumber, getNXclass, getPermittedChildGroupClasses, getString, initializeFixedSizeLazyDataset, initializeLazyDataset, initializeLazyDataset, initializeLazyDataset, putChild, setAttribute, setAttributeDefault, setChildren, setDataset, setField
-
Field Details
-
NX_DESCRIPTION
Deprecated.- See Also:
-
NX_COMPONENT_INDEX
Deprecated.- See Also:
-
-
Method Details
-
getShape
NXshape getShape()Deprecated.shape/size information of component- Returns:
- the value.
-
setShape
Deprecated.shape/size information of component- Parameters:
shapeGroup- the shapeGroup
-
getShape
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
Deprecated.Set a NXshape node by name:- shape/size information of component
- Parameters:
name- the name of the nodeshape- the value to set
-
getAllShape
Deprecated.Get all NXshape nodes:- shape/size information of component
- Returns:
- a map from node names to the NXshape for that node.
-
setAllShape
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
Deprecated.translation of component- Parameters:
translationGroup- the translationGroup
-
getTranslation
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
Deprecated.Set a NXtranslation node by name:- translation of component
- Parameters:
name- the name of the nodetranslation- 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
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
Deprecated.orientation of component- Parameters:
orientationGroup- the orientationGroup
-
getOrientation
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
Deprecated.Set a NXorientation node by name:- orientation of component
- Parameters:
name- the name of the nodeorientation- 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
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
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
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
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
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
-