OFFIS DCMTK  Version 3.6.0
djrplol.h
1 /*
2  *
3  * Copyright (C) 1997-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmjpeg
15  *
16  * Author: Norbert Olges, Marco Eichelberg
17  *
18  * Purpose: representation parameter for lossless JPEG
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:17:17 $
22  * CVS/RCS Revision: $Revision: 1.3 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DJRPLOL_H
30 #define DJRPLOL_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */
34 
38 {
39 public:
40 
45  DJ_RPLossless(int aPrediction=1, int aPt=0);
46 
48  DJ_RPLossless(const DJ_RPLossless& arg);
49 
51  virtual ~DJ_RPLossless();
52 
57  virtual DcmRepresentationParameter *clone() const;
58 
62  virtual const char *className() const;
63 
69  virtual OFBool operator==(const DcmRepresentationParameter &arg) const;
70 
74  int getPrediction() const
75  {
76  return prediction;
77  }
78 
83  {
84  return pt;
85  }
86 
87 private:
88 
90  int prediction;
91 
93  int pt;
94 };
95 
96 #endif
97 
98 /*
99  * CVS/RCS Log
100  * $Log: djrplol.h,v $
101  * Revision 1.3 2010-10-14 13:17:17 joergr
102  * Updated copyright header. Added reference to COPYRIGHT file.
103  *
104  * Revision 1.2 2005-12-08 16:59:36 meichel
105  * Changed include path schema for all DCMTK header files
106  *
107  * Revision 1.1 2001/11/13 15:56:29 meichel
108  * Initial release of module dcmjpeg
109  *
110  *
111  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2