GDCM 3.0.24
gdcmFileDecompressLookupTable.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMFILEDECOMPRESSLOOKUPTABLE_H
15#define GDCMFILEDECOMPRESSLOOKUPTABLE_H
16
17#include "gdcmSubject.h"
18#include "gdcmFile.h"
19#include "gdcmPixmap.h"
20
21namespace gdcm
22{
23
24class DataElement;
31{
32public:
34 ~FileDecompressLookupTable() override = default;
35
37 bool Change();
38
40 void SetFile(const File& f) { F = f; }
41 File &GetFile() { return *F; }
42
43 const Pixmap& GetPixmap() const { return *PixelData; }
44 Pixmap& GetPixmap() { return *PixelData; }
45 void SetPixmap(Pixmap const &img) { PixelData = img; }
46
47protected:
48
49private:
51 SmartPointer<Pixmap> PixelData;
52};
53
54} // end namespace gdcm
55
56#endif //GDCMFILEDECOMPRESSLOOKUPTABLE_H
FileDecompressLookupTable class.
Definition gdcmFileDecompressLookupTable.h:31
const Pixmap & GetPixmap() const
Definition gdcmFileDecompressLookupTable.h:43
Pixmap & GetPixmap()
Definition gdcmFileDecompressLookupTable.h:44
void SetPixmap(Pixmap const &img)
Definition gdcmFileDecompressLookupTable.h:45
void SetFile(const File &f)
Set/Get File.
Definition gdcmFileDecompressLookupTable.h:40
File & GetFile()
Definition gdcmFileDecompressLookupTable.h:41
~FileDecompressLookupTable() override=default
a DICOM File
Definition gdcmFile.h:34
Pixmap class.
Definition gdcmPixmap.h:33
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
Subject.
Definition gdcmSubject.h:29
#define GDCM_EXPORT
Definition gdcmWin32.h:34
Definition gdcmASN1.h:21