DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
a class that allows for a lookup of Transfer Syntax properties and readable descriptions More...
Public Member Functions | |
DcmXfer (E_TransferSyntax xfer) | |
constructor More... | |
DcmXfer (const char *xferName_xferID) | |
constructor More... | |
DcmXfer (const DcmXfer &newXfer) | |
copy constructor | |
~DcmXfer () | |
destructor | |
DcmXfer & | operator= (const E_TransferSyntax xfer) |
assignment operator for transfer syntax enum | |
DcmXfer & | operator= (const DcmXfer &newtag) |
copy assignment operator | |
E_TransferSyntax | getXfer () const |
return transfer syntax enum for this transfer syntax | |
E_ByteOrder | getByteOrder () const |
return byte order for this transfer syntax | |
E_ByteOrder | getPixelDataByteOrder () const |
return byte order for this transfer syntax | |
const char * | getXferName () const |
return name string for this transfer syntax | |
const char * | getXferID () const |
return UID string for this transfer syntax | |
OFBool | isLittleEndian () const |
return true if transfer syntax is little endian, false otherwise | |
OFBool | isBigEndian () const |
return true if transfer syntax is big endian, false otherwise | |
OFBool | isImplicitVR () const |
return true if transfer syntax is implicit VR, false otherwise | |
OFBool | isExplicitVR () const |
return true if transfer syntax is explicit VR, false otherwise | |
OFBool | isEncapsulated () const |
return true if transfer syntax is encapsulated, false otherwise | |
OFBool | isNotEncapsulated () const |
return true if transfer syntax is native (non-encapsulated), false otherwise | |
Uint32 | getJPEGProcess8Bit () const |
return 8-bit JPEG process ID for this transfer syntax. More... | |
Uint32 | getJPEGProcess12Bit () const |
return 12-bit JPEG process ID for this transfer syntax. More... | |
OFBool | isLossy () const |
check whether transfer syntax uses a lossy compression More... | |
OFBool | isLossless () const |
check whether transfer syntax uses a lossless compression or no compression More... | |
OFBool | isRetired () const |
check whether transfer syntax is retired More... | |
E_StreamCompression | getStreamCompression () const |
get stream compression type for this transfer syntax More... | |
OFBool | isReferenced () const |
check whether transfer syntax uses (0028,7FE0) Pixel Data Provider URL to reference pixel data More... | |
Uint32 | sizeofTagHeader (DcmEVR evr) const |
return the number of bytes needed to describe the tag, length, VR and any reserved fields for this transfer syntax when encoding the specified VR. More... | |
Private Attributes | |
const char * | xferID |
transfer syntax UID | |
const char * | xferName |
transfer syntax name | |
E_TransferSyntax | xferSyn |
transfer syntax enum | |
E_ByteOrder | byteOrder |
transfer syntax byte order | |
E_ByteOrder | pixelDataByteOrder |
transfer syntax byte order for pixel data | |
E_VRType | vrType |
transfer syntax VR encoding (implicit/explicit) | |
E_JPEGEncapsulated | encapsulated |
transfer syntax encapsulated or native | |
Uint32 | JPEGProcess8 |
8-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable | |
Uint32 | JPEGProcess12 |
12-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable | |
OFBool | lossy |
flag indicating whether this transfer syntax uses a lossy compression | |
OFBool | retired |
flag indicating whether this transfer syntax has been retired from DICOM | |
E_StreamCompression | streamCompression |
transfer syntax stream compression type | |
OFBool | referenced |
flag indicating whether this transfer syntax uses a pixel data URL reference | |
a class that allows for a lookup of Transfer Syntax properties and readable descriptions
DcmXfer::DcmXfer | ( | E_TransferSyntax | xfer | ) |
constructor
xfer | transfer syntax enum |
DcmXfer::DcmXfer | ( | const char * | xferName_xferID | ) |
constructor
xferName_xferID | transfer syntax name as string |
|
inline |
return 12-bit JPEG process ID for this transfer syntax.
Lossy JPEG transfer syntaxes support two alternative JPEG encoding processes - 8 and 12 bits. When called for a non-JPEG transfer syntax, returns 0.
|
inline |
return 8-bit JPEG process ID for this transfer syntax.
Lossy JPEG transfer syntaxes support two alternative JPEG encoding processes - 8 and 12 bits. When called for a non-JPEG transfer syntax, returns 0.
|
inline |
get stream compression type for this transfer syntax
|
inline |
check whether transfer syntax uses a lossless compression or no compression
|
inline |
check whether transfer syntax uses a lossy compression
|
inline |
check whether transfer syntax uses (0028,7FE0) Pixel Data Provider URL to reference pixel data
|
inline |
check whether transfer syntax is retired
Uint32 DcmXfer::sizeofTagHeader | ( | DcmEVR | evr | ) | const |
return the number of bytes needed to describe the tag, length, VR and any reserved fields for this transfer syntax when encoding the specified VR.
evr | value representation to be encoded in this transfer syntax |