dcmjpeg/include/dcmtk/dcmjpeg/ddpiimpl.h

00001 /*
00002  *
00003  *  Copyright (C) 2003-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module:  dcmdata
00015  *
00016  *  Author:  Joerg Riesmeier
00017  *
00018  *  Purpose: Implementation of DICOMDIR image support (plugin)
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:17:16 $
00022  *  CVS/RCS Revision: $Revision: 1.4 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DDPIIMPL_H
00031 #define DDPIIMPL_H
00032 
00033 #include "dcmtk/config/osconfig.h"
00034 
00035 #include "dcmtk/dcmdata/dcddirif.h"
00036 
00037 
00038 /*---------------------*
00039  *  class declaration  *
00040  *---------------------*/
00041 
00044 class DicomDirImageImplementation
00045   : public DicomDirImagePlugin
00046 {
00047   public:
00048 
00051     DicomDirImageImplementation();
00052 
00055     virtual ~DicomDirImageImplementation();
00056 
00067     virtual OFBool scaleData(const Uint8 *srcData,
00068                              const unsigned int srcWidth,
00069                              const unsigned int srcHeight,
00070                              Uint8 *dstData,
00071                              const unsigned int dstWidth,
00072                              const unsigned int dstHeight) const;
00073 
00086     virtual OFBool scaleImage(DcmItem *dataset,
00087                               Uint8 *pixel,
00088                               const unsigned long count,
00089                               const unsigned long frame,
00090                               const unsigned int width,
00091                               const unsigned int height,
00092                               const OFBool decompressAll = OFFalse) const;
00093 };
00094 
00095 
00096 #endif
00097 
00098 
00099 /*
00100  *
00101  * CVS/RCS Log:
00102  * $Log: ddpiimpl.h,v $
00103  * Revision 1.4  2010-10-14 13:17:16  joergr
00104  * Updated copyright header. Added reference to COPYRIGHT file.
00105  *
00106  * Revision 1.3  2009-11-25 13:36:47  joergr
00107  * Adapted code for new approach to access individual frames of a DICOM image.
00108  *
00109  * Revision 1.2  2005-12-08 16:59:09  meichel
00110  * Changed include path schema for all DCMTK header files
00111  *
00112  * Revision 1.1  2003/08/12 13:15:27  joergr
00113  * Added plugable image support for the new DICOMDIR class.
00114  *
00115  *
00116  */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1