typedef struct tagDICOMGRAPHICLAYER
{
L_UINT uStructSize;
L_TCHAR *pszLayerName;
L_INT32 nLayerOrder;
L_INT16 *puGrayscale;
L_INT16 *pRGBLayerColors;
L_TCHAR *pszLayerDescription;
}
DICOMGRAPHICLAYER, *pDICOMGRAPHICLAYER;
The DICOMGRAPHICLAYER structure is used by the functions L_DicomCreateLayer to create a layer, and by L_DicomGetLayerInfo and L_DicomSetLayerInfo to get and set the attributes that describe a DICOM graphic layer.
The size of the structure (use sizeof (DICOMGRAPHICLAYER)).
Pointer to the "Graphic Layer" (0070,0002) attribute value.
"Graphic Layer Order" (0070,0062) attribute value.
Pointer to the "Graphic Layer Recommended Display Grayscale Value" (0070,0066) attribute value.
Pointer to the "Graphic Layer Recommended Display RGB Value" (0070,0067) attribute value.
Pointer to the "Graphic Layer Description" (0070,0068) attribute value.
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. L_DicomGetLayerInfo), 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. L_DicomSetLayerInfo), 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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document