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 lossless 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 DJRPLOL_H 00030 #define DJRPLOL_H 00031 00032 #include "dcmtk/config/osconfig.h" 00033 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */ 00034 00037 class DJ_RPLossless: public DcmRepresentationParameter 00038 { 00039 public: 00040 00045 DJ_RPLossless(int aPrediction=1, int aPt=0); 00046 00048 DJ_RPLossless(const DJ_RPLossless& arg); 00049 00051 virtual ~DJ_RPLossless(); 00052 00057 virtual DcmRepresentationParameter *clone() const; 00058 00062 virtual const char *className() const; 00063 00069 virtual OFBool operator==(const DcmRepresentationParameter &arg) const; 00070 00074 int getPrediction() const 00075 { 00076 return prediction; 00077 } 00078 00082 int getPointTransformation() const 00083 { 00084 return pt; 00085 } 00086 00087 private: 00088 00090 int prediction; 00091 00093 int pt; 00094 }; 00095 00096 #endif 00097 00098 /* 00099 * CVS/RCS Log 00100 * $Log: djrplol.h,v $ 00101 * Revision 1.3 2010-10-14 13:17:17 joergr 00102 * Updated copyright header. Added reference to COPYRIGHT file. 00103 * 00104 * Revision 1.2 2005-12-08 16:59:36 meichel 00105 * Changed include path schema for all DCMTK header files 00106 * 00107 * Revision 1.1 2001/11/13 15:56:29 meichel 00108 * Initial release of module dcmjpeg 00109 * 00110 * 00111 */