1 /*=========================================================================
4 Module: $RCSfile: gdcmPixelWriteConvert.h,v $
6 Date: $Date: 2004/12/07 09:32:24 $
7 Version: $Revision: 1.2 $
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"
28 * \brief Utility container for gathering the various forms the pixel data
29 * migth take during the user demanded processes.
31 class GDCM_EXPORT PixelWriteConvert
35 virtual ~PixelWriteConvert();
37 // Set/Get of images and their size
38 void SetReadData(uint8_t* data,size_t size);
39 uint8_t* GetReadData() { return ReadData; }
40 size_t GetReadDataSize() { return ReadDataSize; }
42 void SetUserData(uint8_t* data,size_t size);
43 uint8_t* GetUserData() { return UserData; }
44 size_t GetUserDataSize() { return UserDataSize; }
46 // Get the used image and its size
52 /// Pixel data represented as RGB after LUT color interpretation.
54 /// Size of \ref RGB image.
59 /// Size of \ref User image.
62 } // end namespace gdcm
64 //-----------------------------------------------------------------------------