DICOMGRAPHICLAYER

typedef struct tagDICOMGRAPHICLAYER 
{ 
   L_UINT uStructSize;  /* size of this structure */ 
   L_TCHAR *pszLayerName; /* pointer to the "Graphic Layer" */ 
   L_INT32 nLayerOrder;  /* the "Graphic Layer Order" */ 
   L_INT16 *puGrayscale;  /* pointer to the "Graphic Layer Recommended Display Grayscale Value" */ 
   L_INT16 *pRGBLayerColors;  /* pointer to the "Graphic Layer Recommended Display RGB Value" */ 
   L_TCHAR *pszLayerDescription;  /* pointer to the "Graphic Layer Description" */ 
} 
DICOMGRAPHICLAYER, *pDICOMGRAPHICLAYER; 

The DICOMGRAPHICLAYER structure is used by the functions LDicomDS::CreateLayer to create a layer, and by LDicomDS::GetLayerInfo and LDicomDS::SetLayerInfo to get and set the attributes that describe a DICOM graphic layer.

Members

uStructSize

The size of the structure (use sizeof (DICOMGRAPHICLAYER)).

pszLayerName

Pointer to the "Graphic Layer" (0070,0002) attribute value.

nLayerOrder

"Graphic Layer Order" (0070,0062) attribute value.

puGrayscale

Pointer to the "Graphic Layer Recommended Display Grayscale Value" (0070,0066) attribute value.

pRGBLayerColors

Pointer to the "Graphic Layer Recommended Display RGB Value" (0070,0067) attribute value.

pszLayerDescription

Pointer to the "Graphic Layer Description" (0070,0068) attribute value.

Comments

The members of this structure are based on the attributes of the "Graphic Layer Module", please see "Graphic Layer Module Attributes" in the DICOM standard for more details.

Special note about the following members: pszLayerName, puGrayscale, pRGBLayerColors, and pszLayerDescription:

When you call a function, which updates this structure (ex. LDicomDS::GetLayerInfo), LEADTOOLS will fill these members with pointers to the internal memory, which LEADTOOLS manages. You must not free these pointers. When you call a function, which updates internal data from the structure you provide (ex. LDicomDS::SetLayerInfo), LEADTOOLS expects you to fill these members with pointers to memory that you have allocated and that you manage. You must free these pointers when they are no longer needed.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help