GDCM: gdcmSurfaceReader.h Source File

GDCM 3.2.10

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
29 class GDCM_EXPORT SurfaceReader : public SegmentReader
30{
31public:
32 SurfaceReader();
33
34 ~SurfaceReader() override;
35
37 bool Read() override;
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
gdcm::DataSet
Class to represent a Data Set (which contains Data Elements).
Definition gdcmDataSet.h:56
gdcm::Item
Class to represent an Item.
Definition gdcmItem.h:46
gdcm::SegmentReader::SegmentReader
SegmentReader()
gdcm::SmartPointer
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
gdcm::SurfaceReader::ReadPointMacro
bool ReadPointMacro(SmartPointer< Surface > surface, const DataSet &surfaceDS)
gdcm::SurfaceReader::Read
bool Read() override
Read.
gdcm::SurfaceReader::ReadSurfaces
bool ReadSurfaces()
gdcm::SurfaceReader::ReadSurface
bool ReadSurface(const Item &surfaceItem, const unsigned long idx)
gdcm::SurfaceReader::SurfaceReader
SurfaceReader()
gdcm::SurfaceReader::GetNumberOfSurfaces
unsigned long GetNumberOfSurfaces() const
gdcm::SurfaceReader::~SurfaceReader
~SurfaceReader() override
gdcmSegmentReader.h
gdcmSurface.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21