LDicomWaveformChannel::GetAnnotation

#include "Ltdic.h"

pDICOMWAVEFORMANNOTATION LDicomWaveformChannel::GetAnnotation(uIndex)

L_UINT32 uIndex;

/* index */

Gets the channel annotation.

Parameter

Description

uIndex

Index to the waveform annotation to be retrieved. This index is zero-based. As an Example, if you are retrieving the 3rd waveform annotation, use an index of 2.

Returns

!NULL

SUCCESS

NULL

An error occurred.

Comments

This function Returns a pointer to a DICOMWAVEFORMANNOTATION structure that describes one of waveform annotations associated with this channel.

This function Returns NULL if the index is out of range or if the channel has no annotations associated with it.

Note:

This function Returns a pointer to an internal structure that is managed by the class. Therefore, you should not free it when you are done with it.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomWaveformChannel::GetAnnotationCount, LDicomWaveformChannel::AddAnnotation, LDicomWaveformChannel::DeleteAnnotation

Topics:

Working with DICOM Waveforms

Example

For an Example, refer to LDicomWaveformChannel::SetChannelSamples8