1 /*=========================================================================
4 Module: $RCSfile: gdcmPixelWriteConvert.cxx,v $
6 Date: $Date: 2005/06/24 10:55:59 $
7 Version: $Revision: 1.9 $
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 =========================================================================*/
19 #include "gdcmDebug.h"
20 #include "gdcmPixelWriteConvert.h"
24 //-----------------------------------------------------------------------------
25 // Constructor / Destructor
29 PixelWriteConvert::PixelWriteConvert()
41 PixelWriteConvert::~PixelWriteConvert()
45 //-----------------------------------------------------------------------------
49 * @param data data (uint8_t is for prototyping. if your data is not uint8_t
50 * just cast the pointer for calling the method)
51 * @param size size in bytes
53 void PixelWriteConvert::SetReadData(uint8_t *data, size_t size)
60 * \brief Sets User Data
61 * @param data data (uint8_t is for prototyping. if your data is not uint8_t
62 * just cast the pointer for calling the method)
63 * @param size size in bytes
65 void PixelWriteConvert::SetUserData(uint8_t *data, size_t size)
72 * \brief Get Data (UserData or ReadData)
73 * @return data data data (uint8_t is for prototyping. if your data is not uint8_t
74 * just cast the returned pointer)
76 uint8_t *PixelWriteConvert::GetData()
89 * \brief Get Data Size (UserData or ReadData)
90 * @return size size in bytes
92 size_t PixelWriteConvert::GetDataSize()
104 //-----------------------------------------------------------------------------
107 //-----------------------------------------------------------------------------
110 //-----------------------------------------------------------------------------
113 //-----------------------------------------------------------------------------
114 } // end namespace gdcm