Class Polarity

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, CodeStringWrapper, org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper

    public class Polarity
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements CodeStringWrapper
    Name: Polarity
    Keyword: Polarity
    Tag: (2020,0020)
    Value Representation: CodeString
    Value Multiplicity: 1
    • Described in the contexts: as follows:
      Attribute Name: Polarity
      Type:
      Attribute Description:

      Specifies whether minimum pixel values (after VOI LUT transformation) are to printed black or white.

      Enumerated Values:

      NORMAL
      REVERSE

      If Polarity (2020,0020) is not specified by the SCU, the SCP shall print with NORMAL polarity.


    • Constructor Summary

      Constructors 
      Constructor Description
      Polarity()
      Creates a new Polarity object which wraps a new and empty Attributes object.
      Polarity​(org.dcm4che3.data.Attributes attributes)
      Creates a new Polarity object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Polarity copy()
      Returns a new Polarity which wraps a copy of the Attributes wrapped in this Polarity.
      java.lang.String getPrivateCreator()  
      int getTag()  
      • Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper

        equals, exists, getValue, hashCode, toString
      • Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper

        getAttributes
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper

        copy, getAttributes, isEmpty
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper

        getBytes, getSafeBytes, setBytes
      • Methods inherited from interface org.dcm4che.typeddicom.DataElementWrapper

        exists, getValue
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper

        getString, setString
    • Constructor Detail

      • Polarity

        public Polarity​(org.dcm4che3.data.Attributes attributes)
        Creates a new Polarity object which wraps the provided attributes.
        Parameters:
        attributes - the Attributes object to be wrapped.
      • Polarity

        public Polarity()
        Creates a new Polarity object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

        public Polarity copy()
        Returns a new Polarity which wraps a copy of the Attributes wrapped in this Polarity. (see Attributes(Attributes)
        Returns:
        a new Polarity which wraps a copy of the Attributes wrapped in this Polarity.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper