GDCM 3.0.24
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
20namespace gdcm
21{
22
30{
31public:
33
34 ~SurfaceReader() override;
35
37 bool Read() override;
38
39 unsigned long GetNumberOfSurfaces() const;
40
41 protected:
42
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
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
Class to represent an Item.
Definition gdcmItem.h:46
This class defines a segment reader.
Definition gdcmSegmentReader.h:32
This class defines a SURFACE IE reader.
Definition gdcmSurfaceReader.h:30
bool ReadPointMacro(SmartPointer< Surface > surface, const DataSet &surfaceDS)
bool Read() override
Read.
bool ReadSurface(const Item &surfaceItem, const unsigned long idx)
unsigned long GetNumberOfSurfaces() const
~SurfaceReader() override
#define GDCM_EXPORT
Definition gdcmWin32.h:34
Definition gdcmASN1.h:21