dcmjpeg/include/dcmtk/dcmjpeg/djrploss.h

00001 /*
00002  *
00003  *  Copyright (C) 1997-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module:  dcmjpeg
00015  *
00016  *  Author:  Norbert Olges, Marco Eichelberg
00017  *
00018  *  Purpose: representation parameter for lossy JPEG
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:17:17 $
00022  *  CVS/RCS Revision: $Revision: 1.3 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 #ifndef DJRPLOSS_H
00030 #define DJRPLOSS_H
00031 
00032 #include "dcmtk/config/osconfig.h"
00033 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */
00034 
00037 class DJ_RPLossy: public DcmRepresentationParameter
00038 {
00039 public:
00040 
00044   DJ_RPLossy(int aQuality=90);
00045 
00047   DJ_RPLossy(const DJ_RPLossy& arg);
00048 
00050   virtual ~DJ_RPLossy();
00051   
00056   virtual DcmRepresentationParameter *clone() const;
00057 
00061   virtual const char *className() const;
00062 
00068   virtual OFBool operator==(const DcmRepresentationParameter &arg) const;
00069 
00073   int getQuality() const
00074   {
00075     return quality;
00076   }
00077 
00078 private:
00079 
00081   int quality;
00082 
00083 };
00084 
00085 
00086 #endif
00087 
00088 /*
00089  * CVS/RCS Log
00090  * $Log: djrploss.h,v $
00091  * Revision 1.3  2010-10-14 13:17:17  joergr
00092  * Updated copyright header. Added reference to COPYRIGHT file.
00093  *
00094  * Revision 1.2  2005-12-08 16:59:37  meichel
00095  * Changed include path schema for all DCMTK header files
00096  *
00097  * Revision 1.1  2001/11/13 15:56:29  meichel
00098  * Initial release of module dcmjpeg
00099  *
00100  *
00101  */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1