GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

gdcmSurfaceReader.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 GDCMSURFACEREADER_H
15 #define GDCMSURFACEREADER_H
16
17 #include <gdcmSegmentReader.h>
18 #include <gdcmSurface.h>
19
20 namespace gdcm
21 {
22
29 class GDCM_EXPORT SurfaceReader : public SegmentReader
30 {
31 public:
32 SurfaceReader();
33
34 virtual ~SurfaceReader();
35
37 virtual bool Read();
38
39 unsigned long GetNumberOfSurfaces() const;
40
41 protected:
42
43 bool ReadSurfaces();
44
45 bool ReadSurface(const Item & surfaceItem, const unsigned long idx);
46
47 bool ReadPointMacro(SmartPointer< Surface > surface, const DataSet & surfaceDS);
48 };
49
50 }
51
52 #endif // GDCMSURFACEREADER_H