Inheritance diagram for DJLSRepresentationParameter:
Public Member Functions | |
DJLSRepresentationParameter (Uint16 nearlosslessDeviation, OFBool losslessProcess) | |
constructor | |
DJLSRepresentationParameter (const DJLSRepresentationParameter &arg) | |
copy constructor | |
virtual | ~DJLSRepresentationParameter () |
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. | |
Uint16 | getnearlosslessDeviation () const |
returns the desired NEAR parameter | |
OFBool | useLosslessProcess () const |
returns true if lossless compression is desired | |
Private Attributes | |
Uint16 | nearlosslessDeviation_ |
desired NEAR parameter Default is 0 (lossless compression). | |
OFBool | losslessProcess_ |
true if lossless process should be used even in lossy transfer syntax |
Definition at line 37 of file djrparam.h.
DJLSRepresentationParameter::DJLSRepresentationParameter | ( | Uint16 | nearlosslessDeviation, | |
OFBool | losslessProcess | |||
) |
constructor
nearlosslessDeviation | used as parameter NEAR in JPEG-LS nearlossless-encoding process | |
losslessProcess | true if lossless process is requested |
virtual DcmRepresentationParameter* DJLSRepresentationParameter::clone | ( | ) | const [virtual] |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
Implements DcmRepresentationParameter.
virtual const char* DJLSRepresentationParameter::className | ( | ) | const [virtual] |
returns the class name as string.
can be used in operator== as poor man's RTTI replacement.
Implements DcmRepresentationParameter.
virtual OFBool DJLSRepresentationParameter::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.
Uint16 DJLSRepresentationParameter::getnearlosslessDeviation | ( | ) | const [inline] |
returns the desired NEAR parameter
Definition at line 76 of file djrparam.h.
References nearlosslessDeviation_.
OFBool DJLSRepresentationParameter::useLosslessProcess | ( | ) | const [inline] |
returns true if lossless compression is desired
Definition at line 84 of file djrparam.h.
References losslessProcess_.
Uint16 DJLSRepresentationParameter::nearlosslessDeviation_ [private] |
desired NEAR parameter Default is 0 (lossless compression).
Ignored during lossless compression.
Definition at line 95 of file djrparam.h.
Referenced by getnearlosslessDeviation().