dcmimage/include/dcmtk/dcmimage/dipalimg.h

00001 /*
00002  *
00003  *  Copyright (C) 1996-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:  dcmimage
00015  *
00016  *  Author:  Joerg Riesmeier
00017  *
00018  *  Purpose: DicomPaletteImage (Header)
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-21 08:55:45 $
00022  *  CVS/RCS Revision: $Revision: 1.12 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DIPALIMG_H
00031 #define DIPALIMG_H
00032 
00033 #include "dcmtk/config/osconfig.h"
00034 
00035 #include "dcmtk/dcmimage/dicoimg.h"
00036 
00037 
00038 /*------------------------*
00039  *  forward declarations  *
00040  *------------------------*/
00041 
00042 class DiLookupTable;
00043 
00044 
00045 /*---------------------*
00046  *  class declaration  *
00047  *---------------------*/
00048 
00051 class DiPaletteImage
00052   : public DiColorImage
00053 {
00054 
00055  public:
00056 
00062     DiPaletteImage(const DiDocument *docu,
00063                    const EI_Status status);
00064 
00067     virtual ~DiPaletteImage();
00068 
00075     virtual int processNextFrames(const unsigned long fcount);
00076 
00077 
00078  protected:
00079 
00082     void Init();
00083 
00084 
00085  private:
00086 
00088     DiLookupTable *Palette[3];
00089 
00090  // --- declarations to avoid compiler warnings
00091 
00092     DiPaletteImage(const DiPaletteImage &);
00093     DiPaletteImage &operator=(const DiPaletteImage &);
00094 };
00095 
00096 
00097 #endif
00098 
00099 
00100 /*
00101  *
00102  * CVS/RCS Log:
00103  * $Log: dipalimg.h,v $
00104  * Revision 1.12  2010-10-21 08:55:45  joergr
00105  * Added private undefined copy constructor and assignment operator in order to
00106  * avoid compiler warnings (reported by gcc with additional flags).
00107  *
00108  * Revision 1.11  2010-10-14 13:16:29  joergr
00109  * Updated copyright header. Added reference to COPYRIGHT file.
00110  *
00111  * Revision 1.10  2009-11-25 14:38:55  joergr
00112  * Adapted code for new approach to access individual frames of a DICOM image.
00113  *
00114  * Revision 1.9  2005/12/08 16:01:40  meichel
00115  * Changed include path schema for all DCMTK header files
00116  *
00117  * Revision 1.8  2003/12/17 18:11:36  joergr
00118  * Removed leading underscore characters from preprocessor symbols (reserved
00119  * symbols).
00120  *
00121  * Revision 1.7  2001/11/09 16:46:00  joergr
00122  * Updated/Enhanced comments.
00123  *
00124  * Revision 1.6  2001/06/01 15:49:31  meichel
00125  * Updated copyright header
00126  *
00127  * Revision 1.5  2000/03/08 16:21:52  meichel
00128  * Updated copyright header.
00129  *
00130  * Revision 1.4  1999/04/28 12:52:01  joergr
00131  * Corrected some typos, comments and formatting.
00132  *
00133  * Revision 1.3  1998/11/27 14:17:32  joergr
00134  * Added copyright message.
00135  *
00136  * Revision 1.2  1998/05/11 14:53:26  joergr
00137  * Added CVS/RCS header to each file.
00138  *
00139  *
00140  */


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