Page 1512 |
DICOM PS3.3 2020a - Information Object Definitions |
Attribute Name |
Tag |
Type |
Attribute Description |
>HPGL Pen Sequence |
(0068,6320) |
1 |
Labels for each pen used in the encapsulated HPGL |
|
|
|
Document. |
|
|
|
One or more Items shall be included in this Sequence. |
|
|
|
Shall contain one Item per pen used in the HPGL |
|
|
|
document. |
>>HPGL Pen Number |
(0068,6330) |
1 |
Numeric ID of the pen in the HPGL document |
>>HPGL Pen Label |
(0068,6340) |
1 |
Label of the pen. |
>>HPGL Pen Description |
(0068,6345) |
3 |
Description of the kind of information drawn with the pen. |
>Recommended Rotation Point |
(0068,6346) |
1 |
Point around which the 2D template is rotated in manual |
|
|
|
planning, in HPGL coordinates. |
>Bounding Rectangle |
(0068,6347) |
1 |
HPGL coordinates of the smallest rectangle parallel to the |
|
|
|
paper axes that contains the whole drawing. |
C.29.1.2.1 Generic Implant Template 2D Drawings Attribute Descriptions
C.29.1.2.1.1 HPGL Document Scaling and Coordinate System
HPGL Documents use integer coordinates based on a 25µm grid in the printing space - i.e., the paper to print on - rather than the object space. HPGL Document Scaling (0068,62F2) is used to scale the printed dimensions measured in millimeters to match the real dimensions of the implant measured in millimeters.
Note
1.For example, if HPGL Document Scaling is 2.5, then a line in HPGL that goes from (0,0) to (0,500) that is 12.5 mm long when printed represents 31.25 mm in the real world.
2.InHPGL,theoriginoftheprintingspaceisplacedinthelowerleftcornerwiththex-axispointingtotheright.Nonegative coordinates are allowed.
This Attribute does not compensate for any radiographic geometric magnification effect caused by the diverging X-Ray beam in the projection patient images used for planning. Such compensation is the responsibility of the application based on calibration of the imaging process.
C.29.1.2.1.2 HPGL Document
The HPGL files encapsulated in the Attribute HPGL Document (0068,6300) is restricted to a subset of HPGL commands called DICOM-HPGL specified in this section.
C.29.1.2.1.2.1 Scope
The aim of DICOM-HPGL is to facilitate the storage of 2D template graphics in DICOM implant objects. DICOM-HPGL is a subset of HPGL-2 that is kept as minimal as possible to comply with the needs of 2D implant templates.
C.29.1.2.1.2.2 Syntax
DICOM-HPGL documents consist of valid HPGL commands terminated by a semicolon. Commands consist of a two-letter mnemonic and zero or more numeric parameters separated by commas. To separate between commands, line breaks (x0D, x0A or x0Dx0A) or whitespaces (x20) may be used but are not mandatory.
Only the following commands shall be used in a DICOM-HPGL document
Table C.29.1.2-2. Permitted HPGL Commands
Command |
Parameter |
Meaning |
IN |
- |
Initialize. |