GDCM 2.2.0

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

- File List
- File Members

gdcmSurfaceReader.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMSURFACEREADER_H
    00015 #define GDCMSURFACEREADER_H
    00016
    00017 #include <gdcmSegmentReader.h>
    00018 #include <gdcmSurface.h>
    00019
    00020 namespace gdcm
    00021 {
    00022
    00029 class GDCM_EXPORT SurfaceReader : public SegmentReader
    00030 {
    00031 public:
    00032     SurfaceReader();
    00033
    00034     virtual ~SurfaceReader();
    00035
    00037     virtual bool Read();
    00038
    00039     unsigned long GetNumberOfSurfaces() const;
    00040
    00041   protected:
    00042
    00043     bool ReadSurfaces();
    00044
    00045     bool ReadSurface(const Item & surfaceItem, const unsigned long idx);
    00046
    00047     bool ReadPointMacro(SmartPointer< Surface > surface, const DataSet & surfaceDS);
    00048 };
    00049
    00050 }
    00051
    00052 #endif // GDCMSURFACEREADER_H