Class OtherFloat

Class OtherFloat

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

Encapsulates the Other Float (OF) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=OF-,Other%20Float,-A%20stream%20of .

public sealed class OtherFloat : ValueElement<float>, IElement

Inheritance

object ValueElement<float> OtherFloat

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

OtherFloat(Tag, Span<float>)

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

Parameters

tag Tag

data Span < float &gt;

OtherFloat(Tag, float)

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

public OtherFloat(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>