Inheritance diagram for DiDocument:
Public Member Functions | |
DiDocument (const char *filename, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0) | |
constructor, open a DICOM file | |
DiDocument (DcmObject *object, const E_TransferSyntax xfer, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0) | |
constructor, use a given DcmObject | |
virtual | ~DiDocument () |
destructor | |
int | good () const |
check whether current document is valid | |
DcmObject * | getDicomObject () const |
get current DICOM object (dataset) | |
unsigned long | getFrameStart () const |
get first frame to be processed | |
unsigned long | getFrameCount () const |
get number of frames to be processed | |
unsigned long | getFlags () const |
get configuration flags | |
E_TransferSyntax | getTransferSyntax () const |
get transfer syntax of the DICOM dataset | |
DcmElement * | search (const DcmTagKey &tag, DcmObject *obj=NULL) const |
search for given tag | |
int | search (const DcmTagKey &tag, DcmStack &stack) const |
search for given tag and put result(s) on a stack | |
unsigned long | getVM (const DcmTagKey &tag) const |
get value multiplicity (VM) of given tag | |
unsigned long | getValue (const DcmTagKey &tag, Uint16 &returnVal, const unsigned long pos=0, DcmObject *item=NULL) const |
get value of given tag (Uint16) | |
unsigned long | getValue (const DcmTagKey &tag, Sint16 &returnVal, const unsigned long pos=0) const |
get value of given tag (Sint16) | |
unsigned long | getValue (const DcmTagKey &tag, Uint32 &returnVal, const unsigned long pos=0) const |
get value of given tag (Uint32) | |
unsigned long | getValue (const DcmTagKey &tag, Sint32 &returnVal, const unsigned long pos=0) const |
get value of given tag (Sint32) | |
unsigned long | getValue (const DcmTagKey &tag, double &returnVal, const unsigned long pos=0) const |
get value of given tag (double) | |
unsigned long | getValue (const DcmTagKey &tag, const Uint16 *&returnVal, DcmObject *item=NULL) const |
get value of given tag (Uint16 array) | |
unsigned long | getValue (const DcmTagKey &tag, const char *&returnVal, DcmObject *item=NULL) const |
get value of given tag (const char *) | |
unsigned long | getValue (const DcmTagKey &tag, OFString &returnVal, const unsigned long pos=0, DcmObject *item=NULL) const |
get value of given tag (OFString) | |
unsigned long | getSequence (const DcmTagKey &tag, DcmSequenceOfItems *&seq) const |
get sequence of given tag | |
Static Public Member Functions | |
static unsigned long | getElemValue (const DcmElement *elem, Uint16 &returnVal, const unsigned long pos=0) |
get value of given element (Uint16) | |
static unsigned long | getElemValue (const DcmElement *elem, const Uint16 *&returnVal) |
get value of given element (Uint16 array) | |
static unsigned long | getElemValue (const DcmElement *elem, const char *&returnVal) |
get value of given element (const char *) | |
static unsigned long | getElemValue (const DcmElement *elem, OFString &returnVal, const unsigned long pos=0) |
get value of given element (OFString) | |
Protected Member Functions | |
void | convertPixelData () |
convert pixel data to uncompressed representation (if required) | |
Private Member Functions | |
DiDocument (const DiDocument &) | |
DiDocument & | operator= (const DiDocument &) |
Private Attributes | |
DcmObject * | Object |
reference to DICOM dataset (in memory) | |
DcmFileFormat * | FileFormat |
reference to DICOM fileformat (read from file, maybe NULL) | |
E_TransferSyntax | Xfer |
transfer syntax used for reading the dataset | |
unsigned long | FrameStart |
first frame to be processed | |
unsigned long | FrameCount |
number of frames to be processed | |
unsigned long | Flags |
configuration flags |
NB: This is an internal class of module dcmimgle/dcmimage. Please do not use it for accessing DICOM data structures. Instead use the classes and functions provided by dcmdata (e.g. class DcmFileFormat, DcmItem).
Definition at line 68 of file didocu.h.
|
constructor, open a DICOM file
|
|
constructor, use a given DcmObject
|
|
get current DICOM object (dataset)
Definition at line 117 of file didocu.h. References Object. |
|
get value of given element (OFString)
|
|
get value of given element (const char *)
|
|
get value of given element (Uint16 array)
|
|
get value of given element (Uint16)
|
|
get configuration flags
Definition at line 144 of file didocu.h. References Flags. |
|
get number of frames to be processed
Definition at line 135 of file didocu.h. References FrameCount. |
|
get first frame to be processed
Definition at line 126 of file didocu.h. References FrameStart. |
|
get sequence of given tag
|
|
get transfer syntax of the DICOM dataset
Definition at line 153 of file didocu.h. References Xfer. |
|
get value of given tag (OFString)
|
|
get value of given tag (const char *)
|
|
get value of given tag (Uint16 array)
|
|
get value of given tag (double)
|
|
get value of given tag (Sint32)
|
|
get value of given tag (Uint32)
|
|
get value of given tag (Sint16)
|
|
get value of given tag (Uint16)
|
|
get value multiplicity (VM) of given tag
|
|
check whether current document is valid
Definition at line 108 of file didocu.h. References Object. |
|
search for given tag and put result(s) on a stack
|
|
search for given tag
|