gdcmFileDecompressLookupTable.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMFILEDECOMPRESSLOOKUPTABLE_H
#define GDCMFILEDECOMPRESSLOOKUPTABLE_H
#include "gdcmSubject.h"
#include "gdcmFile.h"
#include "gdcmPixmap.h"
namespace gdcm
{
class DataElement;
class GDCM_EXPORT FileDecompressLookupTable : public Subject
{
public:
FileDecompressLookupTable() = default;
~FileDecompressLookupTable() override = default;
bool Change();
void SetFile(const File& f) { F = f; }
File &GetFile() { return *F; }
const Pixmap& GetPixmap() const { return *PixelData; }
Pixmap& GetPixmap() { return *PixelData; }
void SetPixmap(Pixmap const &img) { PixelData = img; }
protected:
private:
SmartPointer<File> F;
SmartPointer<Pixmap> PixelData;
};
} // end namespace gdcm
#endif //GDCMFILEDECOMPRESSLOOKUPTABLE_H
gdcm::DataElement
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
gdcm::FileDecompressLookupTable::GetPixmap
const Pixmap & GetPixmap() const
Definition gdcmFileDecompressLookupTable.h:43
gdcm::FileDecompressLookupTable::GetPixmap
Pixmap & GetPixmap()
Definition gdcmFileDecompressLookupTable.h:44
gdcm::FileDecompressLookupTable::SetPixmap
void SetPixmap(Pixmap const &img)
Definition gdcmFileDecompressLookupTable.h:45
gdcm::FileDecompressLookupTable::SetFile
void SetFile(const File &f)
Set/Get File.
Definition gdcmFileDecompressLookupTable.h:40
gdcm::FileDecompressLookupTable::GetFile
File & GetFile()
Definition gdcmFileDecompressLookupTable.h:41
gdcm::FileDecompressLookupTable::Change
bool Change()
Decompress.
gdcm::FileDecompressLookupTable::~FileDecompressLookupTable
~FileDecompressLookupTable() override=default
gdcm::FileDecompressLookupTable::FileDecompressLookupTable
FileDecompressLookupTable()=default
gdcm::File
a DICOM File
Definition gdcmFile.h:34
gdcm::Pixmap
Pixmap class.
Definition gdcmPixmap.h:33
gdcm::SmartPointer
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
gdcm::Subject::Subject
Subject()
gdcmFile.h
gdcmPixmap.h
gdcmSubject.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21