Class FloatingPointSingle

Class FloatingPointSingle

Namespace: Aspose.Medical.Dicom.Elements
Assembly: Aspose.Medical.dll (25.11.0)

Encapsulates the Floating Point Single (FL) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=FL-,Floating%20Point%20Single,-Single%20precision%20binary.c

public sealed class FloatingPointSingle : ValueElement<float>, IElement

Inheritance

object ValueElement<float> FloatingPointSingle

Implements

IElement

Inherited Members

ValueElement<float>.Add(float) , ValueElement<float>.AddRange(Span<float>) , ValueElement<float>.ConvertData<toutput>(Func<float, toutput="">) , ValueElement<float>.Get<tvalue>(int) , ValueElement<float>.Get<tvalue>(Index) , ValueElement<float>.Get(int) , ValueElement<float>.GetOrDefault<tvalue>(int) , ValueElement<float>.GetOrDefault<tvalue>(Index) , ValueElement<float>.GetSingleOrDefault() , ValueElement<float>.GetValues<tvalue>() , ValueElement<float>.GetValues() , ValueElement<float>.GetValues<tvalue>(Range) , ValueElement<float>.GetValues(Range) , ValueElement<float>.Insert(int, float) , ValueElement<float>.Remove(float) , ValueElement<float>.RemoveAt(int) , ValueElement<float>.Replace(IEnumerable<float>) , ValueElement<float>.ToString() , ValueElement<float>.TryGetValue<tvalue>(int, out TValue?) , ValueElement<float>.TryGetValue<tvalue>(Index, out TValue?) , ValueElement<float>.Data , ValueElement<float>.Tag , ValueElement<float>.ValueRepresentation , ValueElement<float>.Count , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

FloatingPointSingle(Tag, Span<float>)

public FloatingPointSingle(Tag tag, Span<float> data)

Parameters

tag Tag

data Span < float &gt;

FloatingPointSingle(Tag, float)

Initializes a new instance of the Aspose.Medical.Dicom.Elements.FloatingPointSingle with the given value and tag.

public FloatingPointSingle(Tag tag, float value)

Parameters

tag Tag

Element’s tag.

value float

Element’s value.

Exceptions

DicomValidationException

The provided data are invalid.

Properties

ValueRepresentation

The Value Representation of the element. Read-only Aspose.Medical.Dicom.Elements.IElement.ValueRepresentation.

public override ValueRepresentation ValueRepresentation { get; }

Property Value

ValueRepresentation

Methods

Accept(Walker)

Dispatches (delegates) a request to the accepted walker.

protected override void Accept(Walker walker)

Parameters

walker Walker

A walker to be used for traversal and perform operations.

AcceptAsync(AsyncWalker)

Asynchronously dispatches (delegates) a request to the accepted walker.

protected override Task AcceptAsync(AsyncWalker walker)

Parameters

walker AsyncWalker

A walker to be used for traversal and perform operations.

Returns

Task </float></float></float></float></float></tvalue></float></tvalue></float></float></float></float></float></float></float></float></tvalue></float></float></tvalue></float></float></tvalue></float></tvalue></float></float></tvalue></float></tvalue></float></float,></toutput></float></float></float></float></float>