djrplol.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 lossless JPEG
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2005/12/08 16:59:36 $
00026  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmjpeg/include/dcmtk/dcmjpeg/djrplol.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 DJRPLOL_H
00035 #define DJRPLOL_H
00036 
00037 #include "dcmtk/config/osconfig.h"
00038 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */
00039 
00042 class DJ_RPLossless: public DcmRepresentationParameter
00043 {
00044 public:
00045 
00050   DJ_RPLossless(int aPrediction=1, int aPt=0);
00051 
00053   DJ_RPLossless(const DJ_RPLossless& arg);
00054 
00056   virtual ~DJ_RPLossless();
00057   
00062   virtual DcmRepresentationParameter *clone() const;
00063 
00067   virtual const char *className() const;
00068 
00074   virtual OFBool operator==(const DcmRepresentationParameter &arg) const;
00075 
00079   int getPrediction() const
00080   {
00081     return prediction;
00082   }
00083 
00087   int getPointTransformation() const 
00088   {
00089     return pt;
00090   }
00091 
00092 private:
00093 
00095   int prediction; 
00096 
00098   int pt;
00099 };
00100 
00101 #endif
00102 
00103 /*
00104  * CVS/RCS Log
00105  * $Log: djrplol.h,v $
00106  * Revision 1.2  2005/12/08 16:59:36  meichel
00107  * Changed include path schema for all DCMTK header files
00108  *
00109  * Revision 1.1  2001/11/13 15:56:29  meichel
00110  * Initial release of module dcmjpeg
00111  *
00112  *
00113  */


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