00001 /* 00002 * 00003 * Copyright (C) 2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmdata 00019 * 00020 * Author: Joerg Riesmeier 00021 * 00022 * Purpose: Implementation of DICOMDIR image support (plugin) 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:59:09 $ 00026 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmjpeg/include/dcmtk/dcmjpeg/ddpiimpl.h,v $ 00027 * CVS/RCS Revision: $Revision: 1.2 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 00035 #ifndef DDPIIMPL_H 00036 #define DDPIIMPL_H 00037 00038 #include "dcmtk/config/osconfig.h" 00039 00040 #include "dcmtk/dcmdata/dcddirif.h" 00041 00042 00043 /*---------------------* 00044 * class declaration * 00045 *---------------------*/ 00046 00049 class DicomDirImageImplementation 00050 : public DicomDirImagePlugin 00051 { 00052 public: 00053 00056 DicomDirImageImplementation(); 00057 00060 virtual ~DicomDirImageImplementation(); 00061 00072 virtual OFBool scaleData(const Uint8 *srcData, 00073 const unsigned int srcWidth, 00074 const unsigned int srcHeight, 00075 Uint8 *dstData, 00076 const unsigned int dstWidth, 00077 const unsigned int dstHeight) const; 00078 00090 virtual OFBool scaleImage(DcmItem *dataset, 00091 Uint8 *pixel, 00092 const unsigned long count, 00093 const unsigned long frame, 00094 const unsigned int width, 00095 const unsigned int height) const; 00096 }; 00097 00098 00099 #endif 00100 00101 00102 /* 00103 * 00104 * CVS/RCS Log: 00105 * $Log: ddpiimpl.h,v $ 00106 * Revision 1.2 2005/12/08 16:59:09 meichel 00107 * Changed include path schema for all DCMTK header files 00108 * 00109 * Revision 1.1 2003/08/12 13:15:27 joergr 00110 * Added plugable image support for the new DICOMDIR class. 00111 * 00112 * 00113 * 00114 */