File_DICOM
[ class tree: File_DICOM ] [ index: File_DICOM ] [ all elements ]

Class: File_DICOM_Element

Source Location: /File_DICOM-0.3/DICOM/Element.php

Class Overview


This class defines DICOM file elements


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 27]
This class defines DICOM file elements


[ Top ]


Class Variables

$code =

[line 82]

Element length

Type:   integer


[ Top ]

$element =

[line 106]

Element identifier

Type:   integer


[ Top ]

$group =

[line 100]

Group this element belongs to

Type:   integer


[ Top ]

$header =

[line 94]

Complete header of this element. It might disappear in the future.

Type:   string


[ Top ]

$length =

[line 88]

Element length

Type:   integer


[ Top ]

$name =

[line 118]

Name for this element

Type:   string


[ Top ]

$offset =

[line 112]

Position inside the current field for the element

Type:   integer


[ Top ]

$value =

[line 76]

Element length

Type:   integer


[ Top ]

$VR = array(
'AE' => array('Application Entity',16,0),'AS'=>array('Age String',4,1),'AT'=>array('Attribute Tag',4,1),'CS'=>array('Code String',16,0),'DA'=>array('Date',8,1),'DS'=>array('Decimal String',16,0),'DT'=>array('Date Time',26,0),'FL'=>array('Floating Point Single',4,1),'FD'=>array('Floating Point Double',8,1),'IS'=>array('Integer String',12,0),'LO'=>array('Long Strong',64,0),'LT'=>array('Long Text',10240,0),'OB'=>array('Other Byte String',0,0),'OW'=>array('Other Word String',0,0),'PN'=>array('Person Name',64,0),'SH'=>array('Short String',16,0),'SL'=>array('Signed Long',4,1),'SQ'=>array('Sequence of Items',0,0),'SS'=>array('Signed Short',2,1),'ST'=>array('Short Text',1024,0),'TM'=>array('Time',16,0),'UI'=>array('Unique Identifier UID',64,0),'UL'=>array('Unsigned Long',4,1),'UN'=>array('Unknown',0,0),'US'=>array('Unsigned Short',2,1),'UT'=>array('Unlimited Text',0,0))

[line 37]

Value Representations (DICOM Standard PS 3.5 Sect 6.2) Bytes=0 => Undefined length.

Fixed=1 => Exact field length, otherwise max length. each array contains: Name, Bytes, Fixed


Type:   array


[ Top ]

$vr_type =

[line 70]

Type of VR for this element

Type:   integer


[ Top ]



Method Detail

File_DICOM_Element (Constructor)   [line 129]

File_DICOM_Element File_DICOM_Element( resource $IN, array &$dictref)

Create DICOM file element from contents of the file given.

It assumes the element begins at the current position of the given file pointer.

  • Access: public

Parameters:

resource   $IN     File handle for the file currently being parsed
array   &$dictref     Reference to the dictionary of DICOM headers

[ Top ]

getValue   [line 340]

mixed getValue( )

Retrieves the value field for this File_DICOM_Element
  • Return: The value for this File_DICOM_Element
  • Access: public

[ Top ]


Documentation generated on Sat, 1 May 2004 01:21:25 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.