OFFIS DCMTK  Version 3.6.0
dcrlecp.h
1 /*
2  *
3  * Copyright (C) 1994-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: dcmdata
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose: codec parameter for RLE
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:15:42 $
22  * CVS/RCS Revision: $Revision: 1.6 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DCRLECP_H
30 #define DCRLECP_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmdata/dccodec.h" /* for DcmCodecParameter */
34 
38 {
39 public:
40 
53  OFBool pCreateSOPInstanceUID = OFFalse,
54  Uint32 pFragmentSize = 0,
55  OFBool pCreateOffsetTable = OFTrue,
56  OFBool pConvertToSC = OFFalse,
57  OFBool pReverseDecompressionByteOrder = OFFalse);
58 
61 
63  virtual ~DcmRLECodecParameter();
64 
69  virtual DcmCodecParameter *clone() const;
70 
74  virtual const char *className() const;
75 
79  Uint32 getFragmentSize() const
80  {
81  return fragmentSize;
82  }
83 
87  OFBool getCreateOffsetTable() const
88  {
89  return createOffsetTable;
90  }
91 
95  OFBool getConvertToSC() const
96  {
97  return convertToSC;
98  }
99 
103  OFBool getUIDCreation() const
104  {
105  return createInstanceUID;
106  }
107 
112  {
114  }
115 
116 
117 private:
118 
121 
123  Uint32 fragmentSize;
124 
127 
129  OFBool convertToSC;
130 
133 
138 };
139 
140 
141 #endif
142 
143 /*
144  * CVS/RCS Log
145  * $Log: dcrlecp.h,v $
146  * Revision 1.6 2010-10-14 13:15:42 joergr
147  * Updated copyright header. Added reference to COPYRIGHT file.
148  *
149  * Revision 1.5 2009-11-04 09:58:07 uli
150  * Switched to logging mechanism provided by the "new" oflog module
151  *
152  * Revision 1.4 2008-06-23 12:09:13 joergr
153  * Fixed inconsistencies in Doxygen API documentation.
154  *
155  * Revision 1.3 2005/12/08 16:28:35 meichel
156  * Changed include path schema for all DCMTK header files
157  *
158  * Revision 1.2 2005/07/26 17:08:33 meichel
159  * Added option to RLE decoder that allows to correctly decode images with
160  * incorrect byte order of byte segments (LSB instead of MSB).
161  *
162  * Revision 1.1 2002/06/06 14:52:35 meichel
163  * Initial release of the new RLE codec classes
164  * and the dcmcrle/dcmdrle tools in module dcmdata
165  *
166  *
167  */


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