DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
representation parameter for lossless JPEG More...
Public Member Functions | |
DJ_RPLossless (int aPrediction=1, int aPt=0) | |
constructor | |
DJ_RPLossless (const DJ_RPLossless &arg) | |
copy constructor | |
virtual | ~DJ_RPLossless () |
destructor | |
virtual DcmRepresentationParameter * | clone () const |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass. | |
virtual const char * | className () const |
returns the class name as string. | |
virtual OFBool | operator== (const DcmRepresentationParameter &arg) const |
compares an object to another DcmRepresentationParameter. | |
int | getPrediction () const |
returns the prediction value | |
int | getPointTransformation () const |
returns the point transform | |
Private Attributes | |
int | prediction |
prediction value | |
int | pt |
point transform value |
representation parameter for lossless JPEG
DJ_RPLossless::DJ_RPLossless | ( | int | aPrediction = 1 , |
int | aPt = 0 |
||
) |
constructor
aPrediction | prediction value |
aPt | point transform value |
virtual const char* DJ_RPLossless::className | ( | ) | const [virtual] |
returns the class name as string.
can be used in operator== as poor man's RTTI replacement.
Implements DcmRepresentationParameter.
virtual DcmRepresentationParameter* DJ_RPLossless::clone | ( | ) | const [virtual] |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
Implements DcmRepresentationParameter.
int DJ_RPLossless::getPointTransformation | ( | ) | const [inline] |
returns the point transform
int DJ_RPLossless::getPrediction | ( | ) | const [inline] |
returns the prediction value
virtual OFBool DJ_RPLossless::operator== | ( | const DcmRepresentationParameter & | arg | ) | const [virtual] |
compares an object to another DcmRepresentationParameter.
Implementation must make sure that classes are comparable.
arg | representation parameter to compare with |
Implements DcmRepresentationParameter.