gdcmSurfaceReader.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMSURFACEREADER_H
#define GDCMSURFACEREADER_H
#include <gdcmSegmentReader.h>
#include <gdcmSurface.h>
namespace gdcm
{
class GDCM_EXPORT SurfaceReader : public SegmentReader
{
public:
SurfaceReader();
~SurfaceReader() override;
bool Read() override;
unsigned long GetNumberOfSurfaces() const;
protected:
bool ReadSurfaces();
bool ReadSurface(const Item & surfaceItem, const unsigned long idx);
bool ReadPointMacro(SmartPointer< Surface > surface, const DataSet & surfaceDS);
};
}
#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