GDCM  2.2.0
gdcmSplitMosaicFilter.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 GDCMSPLITMOSAICFILTER_H
15 #define GDCMSPLITMOSAICFILTER_H
16 
17 #include "gdcmFile.h"
18 #include "gdcmImage.h"
19 
20 namespace gdcm
21 {
22 
23 /*
24  * Everything done in this code is for the sole purpose of writing interoperable
25  * software under Sect. 1201 (f) Reverse Engineering exception of the DMCA.
26  * If you believe anything in this code violates any law or any of your rights,
27  * please contact us (gdcm-developers@lists.sourceforge.net) so that we can
28  * find a solution.
29  */
38 {
39 public:
42 
44  bool Split();
45 
48  bool ComputeMOSAICDimensions(unsigned int dims[3]);
49 
50  void SetImage(const Image& image);
51  const Image &GetImage() const { return *I; }
52  Image &GetImage() { return *I; }
53 
54  void SetFile(const File& f) { F = f; }
55  File &GetFile() { return *F; }
56  const File &GetFile() const { return *F; }
57 
58 protected:
59 
60 private:
63 };
64 
65 } // end namespace gdcm
66 
67 #endif //GDCMSPLITMOSAICFILTER_H

Generated on Wed Jun 13 2012 20:40:37 for GDCM by doxygen 1.8.1
SourceForge.net Logo