GDCM 3.2.1

gdcmEmptyMaskGenerator.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 GDCMEMPTYMASKGENERATOR_H
15#define GDCMEMPTYMASKGENERATOR_H
16
17#include "gdcmSubject.h"
18
19 namespace gdcm {
50 class GDCM_EXPORT EmptyMaskGenerator
51{
52 public:
53 EmptyMaskGenerator();
54 ~EmptyMaskGenerator();
55
56 enum SOPClassUIDMode {
57 UseOriginalSOPClassUID = 0, // default
58 UseGrayscaleSecondaryImageStorage
59 };
60
63 void SetSOPClassUIDMode( SOPClassUIDMode mode );
64
66 void SetInputDirectory( const char * dirname );
67
69 void SetOutputDirectory( const char * dirname );
70
72 bool Execute();
73
74 private:
75 struct impl;
76 // PIMPL idiom
77 impl* pimpl;
78};
79} // end namespace gdcm
80#endif //GDCMEMPTYMASKGENERATOR_H
gdcm::EmptyMaskGenerator::~EmptyMaskGenerator
~EmptyMaskGenerator()
gdcm::EmptyMaskGenerator::SetSOPClassUIDMode
void SetSOPClassUIDMode(SOPClassUIDMode mode)
gdcm::EmptyMaskGenerator::EmptyMaskGenerator
EmptyMaskGenerator()
gdcm::EmptyMaskGenerator::SetOutputDirectory
void SetOutputDirectory(const char *dirname)
Specify output directory.
gdcm::EmptyMaskGenerator::SOPClassUIDMode
SOPClassUIDMode
Definition gdcmEmptyMaskGenerator.h:56
gdcm::EmptyMaskGenerator::UseOriginalSOPClassUID
@ UseOriginalSOPClassUID
Definition gdcmEmptyMaskGenerator.h:57
gdcm::EmptyMaskGenerator::UseGrayscaleSecondaryImageStorage
@ UseGrayscaleSecondaryImageStorage
Definition gdcmEmptyMaskGenerator.h:58
gdcm::EmptyMaskGenerator::SetInputDirectory
void SetInputDirectory(const char *dirname)
Specify input directory.
gdcm::EmptyMaskGenerator::Execute
bool Execute()
Main loop.
gdcmSubject.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21