Class GridAspectRatio
java.lang.Object
org.dcm4che.typeddicom.AbstractAttributesWrapper
org.dcm4che.typeddicom.AbstractDataElementWrapper
org.dcm4che.typeddicom.dataelements.GridAspectRatio
- All Implemented Interfaces:
AttributesWrapper,DataElementWrapper,BytesDataElementWrapper,IntDataElementMultiWrapper,IntegerStringMultiWrapper,StringDataElementMultiWrapper
public class GridAspectRatio
extends AbstractDataElementWrapper
implements IntegerStringMultiWrapper
Name: Grid Aspect Ratio
Keyword: GridAspectRatio
Tag: (0018,7046)
Value Representation: IS
Value Multiplicity: 2
Keyword: GridAspectRatio
Tag: (0018,7046)
Value Representation: IS
Value Multiplicity: 2
- Described in the contexts:
as follows:
Attribute Name: Grid Aspect Ratio
Type: 3
Attribute Description:Ratio of the vertical spacing and horizontal spacing of the X-Ray absorbing material used in the grid. Specified by a pair of integer values where the first value is the vertical size, and the second value is the horizontal size.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceGridAspectRatio.Builder<SELF extends GridAspectRatio.Builder<SELF,T>, T extends GridAspectRatio.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Grid Aspect Ratio" (seeGridAspectRatio)Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
IntegerStringMultiWrapper.Setter<B extends Builder<B,? extends AttributesWrapper>, D extends IntegerStringMultiWrapper> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe DICOM Tag associated with this class.static final org.dcm4che3.data.VRThe DICOM Value Representation (VR) associated with this class. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Grid Aspect Ratio object which wraps a new and emptyAttributesobject.GridAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new Grid Aspect Ratio object which wraps the providedattributes. -
Method Summary
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toStringMethods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper
getAttributesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmptyMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytesMethods inherited from interface org.dcm4che.typeddicom.DataElementWrapper
exists, getValueMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setIntsMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper
getString, getString, getStrings, setStrings
-
Field Details
-
TAG
public static final int TAGThe DICOM Tag associated with this class.- See Also:
-
VALUE_REPRESENTATION
public static final org.dcm4che3.data.VR VALUE_REPRESENTATIONThe DICOM Value Representation (VR) associated with this class.
-
-
Constructor Details
-
GridAspectRatio
public GridAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new Grid Aspect Ratio object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
GridAspectRatio
public GridAspectRatio()Creates a new Grid Aspect Ratio object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Grid Aspect Ratio which wraps a copy of the Attributes wrapped in this Grid Aspect Ratio. (seeAttributes(Attributes)- Returns:
- a new Grid Aspect Ratio which wraps a copy of the Attributes wrapped in this Grid Aspect Ratio.
-
getValueRepresentation
public org.dcm4che3.data.VR getValueRepresentation()- Specified by:
getValueRepresentationin interfaceDataElementWrapper- Returns:
- The DICOM Value Representation (VR) of the wrapped DICOM sequence.
-
getTag
public int getTag()- Specified by:
getTagin interfaceDataElementWrapper- Returns:
- The DICOM Tag of the wrapped DICOM sequence.
-