gdcmIconImageFilter.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 GDCMICONIMAGEFILTER_H
#define GDCMICONIMAGEFILTER_H
#include "gdcmFile.h"
#include "gdcmIconImage.h"
namespace gdcm
{
class IconImageFilterInternals;
class GDCM_EXPORT IconImageFilter
{
public:
IconImageFilter();
~IconImageFilter();
void SetFile(const File& f) { F = f; }
File &GetFile() { return *F; }
const File &GetFile() const { return *F; }
bool Extract();
unsigned int GetNumberOfIconImages() const;
IconImage& GetIconImage( unsigned int i ) const;
protected:
void ExtractIconImages();
void ExtractVeproIconImages();
private:
SmartPointer<File> F;
IconImageFilterInternals *Internals;
};
} // end namespace gdcm
#endif //GDCMICONIMAGEFILTER_H
gdcm::File
a DICOM File
Definition gdcmFile.h:34
gdcm::IconImageFilter::GetNumberOfIconImages
unsigned int GetNumberOfIconImages() const
Retrieve extract IconImage (need to call Extract first).
gdcm::IconImageFilter::SetFile
void SetFile(const File &f)
Set/Get File.
Definition gdcmIconImageFilter.h:56
gdcm::IconImageFilter::ExtractIconImages
void ExtractIconImages()
gdcm::IconImageFilter::IconImageFilter
IconImageFilter()
gdcm::IconImageFilter::GetFile
File & GetFile()
Definition gdcmIconImageFilter.h:57
gdcm::IconImageFilter::GetFile
const File & GetFile() const
Definition gdcmIconImageFilter.h:58
gdcm::IconImageFilter::GetIconImage
IconImage & GetIconImage(unsigned int i) const
gdcm::IconImageFilter::~IconImageFilter
~IconImageFilter()
gdcm::IconImageFilter::ExtractVeproIconImages
void ExtractVeproIconImages()
gdcm::IconImageFilter::Extract
bool Extract()
Extract all Icon found in File.
gdcm::SmartPointer
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
gdcmFile.h
gdcmIconImage.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21
gdcm::IconImage
Bitmap IconImage
Definition gdcmIconImage.h:91