The DICOMGRAPHICOBJECT describes the attributes of a "Graphic Annotation" object.
typedef struct tagDICOMGRAPHICOBJECT
{
L_UINT uStructSize; /* size of this structure */
L_TCHAR *pszLayerName; /* pointer to the "Graphic Layer" attribute */
L_UINT uType; /* value of the "Graphic Type" */
L_UINT uUnits; /* value of the "Graphic Annotation Units" */
L_BOOL bFilled; /* value that indicates the "Graphic Filled" */
L_INT16 nPointCount; /* value that indicates the "Number of Graphic Points" */
pDICOMANNPOINT pAnnPoints; /* pointer to an array of DICOMANNPOINT structures */
L_VOID *pReserved;
L_UINT uCompoundGraphicInstanceId;
L_UINT uOptions;
pDICOMLINESTYLE pLineStyle;
pDICOMFILLSTYLE pFillStyle;
L_UINT uGraphicGroupId;
} DICOMGRAPHICOBJECT, *pDICOMGRAPHICOBJECT;
The size of the structure (use sizeof (DICOMGRAPHICOBJECT)).
Pointer to the "Graphic Layer" (0070,0002) attribute value in the "Graphic Annotation Sequence" (0070,0001)
The value of the attribute "Graphic Type" (0070,0023) in the "Graphic Annotation Module". Enumerated values are:
Value | Meaning |
---|---|
DICANN_TYPE_POINT | [0x00000001] "POINT". |
DICANN_TYPE_POLYLINE | [0x00000002] "POLYLINE". |
DICANN_TYPE_INTERPOLATED | [0x00000003] "INTERPOLATED". |
DICANN_TYPE_CIRCLE | [0x00000004] "CIRCLE". |
DICANN_TYPE_ELLIPSE | [0x00000005] "ELLIPSE". |
The value of the attribute "Graphic Annotation Units" (0070,0005) in the "Graphic Annotation Module". Enumerated values are:
Value | Meaning |
---|---|
DICANN_UNIT_PIXEL | [0x00000001] "PIXEL". |
DICANN_UNIT_DISPLAY | [0x00000002] "DISPLAY". |
Boolean variable, which represents the attribute "Graphic Filled" (0070,0024).
Value | Meaning |
---|---|
TRUE | Y = yes |
FALSE | N = no |
The value of the attribute "Number of Graphic Points" (0070,0021) in the "Graphic Annotation Module".
Pointer to an array of DICOMANNPOINT structures, which represent the points of the graphical object. This member is based on the "Graphic Data" (0070,0022) attribute in the "Graphic Annotation Module".
Reserved for internal use -- Pass 0.
O TAG_COMPOUND_GRAPHIC_INSTANCE_ID
DICANN_OPTIONS_NONE, DICANN_OPTIONS_LINE_STYLE, DICANN_OPTIONS_FILL_STYLE
TAG_LINE_STYLE_SEQUENCE
TAG_FILL_STYLE_SEQUENCE
TAG_GRAPHIC_GROUP_ID
The members of this structure are based on some of the attributes of the "Graphic Annotation Module", please see "Graphic Annotation Module Attributes" in the DICOM standard for more details.
Special note about the following members: pszLayerName and pAnnPoints:
When you call a function, which updates this structure (ex. LDicomDS::GetGraphicObjectInfo), 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::SetGraphicObjectInfo), 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