DICOMWINDOWATTRIBS

typedef struct tagDICOMWINDOWATTRIBS
{
   L_UINT uStructSize;
   L_DOUBLE fWindowCenter ; // Window Center
   L_DOUBLE fWindowWidth; // Window Width
   L_CHAR pszWindowCWExplanation[DICOM_VR_LO_LENGTH+1];
}DICOMWINDOWATTRIBS , * pDICOMWINDOWATTRIBS;

This structure is used by the functions LDicomDS::GetWindow and LDicomDS::SetWindow to get and set the attributes that describe window center and window width.

Member

Description

uStructSize

The size of the structure (use sizeof (DICOMWINDOWATTRIBS))

fWindowCenter

Value of the "Window Center" (0028,1050) element.

fWindowWidth

Value of the "Window Width" (0028,1051) element.

pszWindowCWExplanation

Value of the "Window Center & Width Explanation" (0028,1055) element. The maximum length of this string is DICOM_VR_LO_LENGTH, which is defined as 64.

Comments

The members of this structure are based on the attributes of the "VOI LUT Module". Please see "VOI LUT Module Attributes" in the DICOM standard for more details.

fWindowWidth shall always be greater than or equal to 1.