SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
jp2codecparameter.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#pragma once
5#include "dcmtk/config/osconfig.h"
6#include "dcmtk/dcmdata/dccodec.h"
7
8namespace slideio
9{
10 class Jp2CodecParameter : public DcmCodecParameter
11 {
12 public:
13 Jp2CodecParameter(OFBool pVerbose = OFFalse, OFBool pCreateSOPInstanceUID = OFFalse, OFBool pReverseDecompressionByteOrder = OFFalse);
14 Jp2CodecParameter(const Jp2CodecParameter&);
15 ~Jp2CodecParameter(void);
16 virtual DcmCodecParameter* clone() const;
17 virtual const char* className() const;
18 OFBool getUIDCreation() const
19 {
20 return createInstanceUID;
21 }
22
23 OFBool isVerbose() const
24 {
25 return verboseMode;
26 }
27 OFBool getReverseDecompressionByteOrder() const
28 {
29 return reverseDecompressionByteOrder;
30 }
31 protected:
32 OFBool createInstanceUID;
33 OFBool reverseDecompressionByteOrder;
34 OFBool verboseMode;
35 };
36
37}
Definition: exceptions.hpp:12