djrploss.h

00001 /*
00002  *
00003  *  Copyright (C) 1997-2005, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  dcmjpeg
00019  *
00020  *  Author:  Norbert Olges, Marco Eichelberg
00021  *
00022  *  Purpose: representation parameter for lossy JPEG
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2005/12/08 16:59:37 $
00026  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmjpeg/include/dcmtk/dcmjpeg/djrploss.h,v $
00027  *  CVS/RCS Revision: $Revision: 1.2 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 #ifndef DJRPLOSS_H
00035 #define DJRPLOSS_H
00036 
00037 #include "dcmtk/config/osconfig.h"
00038 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */
00039 
00042 class DJ_RPLossy: public DcmRepresentationParameter
00043 {
00044 public:
00045 
00049   DJ_RPLossy(int aQuality=90);
00050 
00052   DJ_RPLossy(const DJ_RPLossy& arg);
00053 
00055   virtual ~DJ_RPLossy();
00056   
00061   virtual DcmRepresentationParameter *clone() const;
00062 
00066   virtual const char *className() const;
00067 
00073   virtual OFBool operator==(const DcmRepresentationParameter &arg) const;
00074 
00078   int getQuality() const
00079   {
00080     return quality;
00081   }
00082 
00083 private:
00084 
00086   int quality;
00087 
00088 };
00089 
00090 
00091 #endif
00092 
00093 /*
00094  * CVS/RCS Log
00095  * $Log: djrploss.h,v $
00096  * Revision 1.2  2005/12/08 16:59:37  meichel
00097  * Changed include path schema for all DCMTK header files
00098  *
00099  * Revision 1.1  2001/11/13 15:56:29  meichel
00100  * Initial release of module dcmjpeg
00101  *
00102  *
00103  */


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5