1 /*=========================================================================
4 Module: $RCSfile: gdcmPixelWriteConvert.h,v $
6 Date: $Date: 2005/01/11 15:15:38 $
7 Version: $Revision: 1.6 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
20 #ifndef GDCMPIXELWRITECONVERT_H
21 #define GDCMPIXELWRITECONVERT_H
23 #include "gdcmCommon.h"
29 * \brief Utility container for gathering the various forms the pixel data
30 * migth take during the user demanded processes.
32 class GDCM_EXPORT PixelWriteConvert : public Base
36 virtual ~PixelWriteConvert();
38 // Set/Get of images and their size
39 void SetReadData(uint8_t *data,size_t size);
40 uint8_t *GetReadData() { return ReadData; }
41 size_t GetReadDataSize() { return ReadDataSize; }
43 void SetUserData(uint8_t *data,size_t size);
44 uint8_t *GetUserData() { return UserData; }
45 size_t GetUserDataSize() { return UserDataSize; }
47 // Get the used image and its size
53 /// Pixel data represented as RGB after LUT color interpretation.
55 /// Size of RGB image.
60 /// Size of User image.
63 } // end namespace gdcm
65 //-----------------------------------------------------------------------------