Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gdcmPixelWriteConvert.h

Go to the documentation of this file.
00001 /*=========================================================================
00002                                                                                 
00003   Program:   gdcm
00004   Module:    $RCSfile: gdcmPixelWriteConvert.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/10/23 15:09:19 $
00007   Version:   $Revision: 1.7 $
00008                                                                                 
00009   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00010   l'Image). All rights reserved. See Doc/License.txt or
00011   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
00012                                                                                 
00013      This software is distributed WITHOUT ANY WARRANTY; without even
00014      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00015      PURPOSE.  See the above copyright notices for more information.
00016                                                                                 
00017 =========================================================================*/
00018 
00019 
00020 #ifndef GDCMPIXELWRITECONVERT_H
00021 #define GDCMPIXELWRITECONVERT_H
00022 
00023 #include "gdcmCommon.h"
00024 #include "gdcmBase.h"
00025 
00026 namespace gdcm
00027 {
00034 class GDCM_EXPORT PixelWriteConvert : public Base
00035 {
00036 friend class FileHelper;
00037 
00038 private:
00039    PixelWriteConvert();
00040    virtual ~PixelWriteConvert();
00041 
00042    // Set/Get of images and their size
00043    
00044    void SetReadData(uint8_t *data, size_t size);
00046    uint8_t *GetReadData() { return ReadData; }
00048    size_t   GetReadDataSize() { return ReadDataSize; }
00049 
00050    void SetUserData(uint8_t *data, size_t size);
00052    uint8_t *GetUserData() { return UserData; }
00054    size_t   GetUserDataSize() { return UserDataSize; }
00055 
00056    // Get the used image and its size
00057    uint8_t *GetData();
00058    size_t   GetDataSize();
00059 
00060 
00061 // Variables
00063    uint8_t *ReadData;
00065    size_t   ReadDataSize;
00066 
00068    uint8_t *UserData;
00070    size_t   UserDataSize;
00071 };
00072 } // end namespace gdcm
00073 
00074 //-----------------------------------------------------------------------------
00075 #endif

Generated on Fri Jan 20 10:14:25 2006 for gdcm by  doxygen 1.4.4