Class BoundingBoxCrop
java.lang.Object
org.dcm4che.typeddicom.AbstractAttributesWrapper
org.dcm4che.typeddicom.AbstractDataElementWrapper
org.dcm4che.typeddicom.dataelements.BoundingBoxCrop
- All Implemented Interfaces:
AttributesWrapper,DataElementWrapper,BytesDataElementWrapper,DoubleDataElementMultiWrapper,FloatDataElementMultiWrapper,FloatingPointDoubleMultiWrapper
public class BoundingBoxCrop
extends AbstractDataElementWrapper
implements FloatingPointDoubleMultiWrapper
Name: Bounding Box Crop
Keyword: BoundingBoxCrop
Tag: (0070,1303)
Value Representation: FD
Value Multiplicity: 6
Keyword: BoundingBoxCrop
Tag: (0070,1303)
Value Representation: FD
Value Multiplicity: 6
- Described in the contexts:
as follows:
Attribute Name: Bounding Box Crop
Type: 1C
Attribute Description:A cuboid containing the source volume data to be included. The axes of the cuboid are aligned to the axes of encoded source volume. The bounding box is defined by the (x,y,z) coordinates in mm of two opposite corners in the Volumetric Presentation State Reference Coordinate System.
NoteIf the source volume consists of gantry tilted slices (e.g., CT) then the bounding box will be a cuboid in the encoded image space, but a parallelepiped in the VPS-RCS.
Required if Volume Cropping Method (0070,1302) has a value of BOUNDING_BOX.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBoundingBoxCrop.Builder<SELF extends BoundingBoxCrop.Builder<SELF,T>, T extends BoundingBoxCrop.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Bounding Box Crop" (seeBoundingBoxCrop)Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatingPointDoubleMultiWrapper
FloatingPointDoubleMultiWrapper.Setter<B extends Builder<B,? extends AttributesWrapper>, D extends FloatingPointDoubleMultiWrapper> -
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 Bounding Box Crop object which wraps a new and emptyAttributesobject.BoundingBoxCrop(org.dcm4che3.data.Attributes attributes) Creates a new Bounding Box Crop 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.DoubleDataElementMultiWrapper
getDouble, getDoubles, setDoublesMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatDataElementMultiWrapper
getFloat, getFloats, setFloats
-
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
-
BoundingBoxCrop
public BoundingBoxCrop(org.dcm4che3.data.Attributes attributes) Creates a new Bounding Box Crop object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
BoundingBoxCrop
public BoundingBoxCrop()Creates a new Bounding Box Crop object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Bounding Box Crop which wraps a copy of the Attributes wrapped in this Bounding Box Crop. (seeAttributes(Attributes)- Returns:
- a new Bounding Box Crop which wraps a copy of the Attributes wrapped in this Bounding Box Crop.
-
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.
-