didislut.h

00001 /*
00002  *
00003  *  Copyright (C) 1996-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:  dcmimgle
00019  *
00020  *  Author:  Joerg Riesmeier
00021  *
00022  *  Purpose: DicomDisplayLUT (Header)
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2005/12/08 16:47:36 $
00026  *  CVS/RCS Revision: $Revision: 1.8 $
00027  *  Status:           $State: Exp $
00028  *
00029  *  CVS/RCS Log at end of file
00030  *
00031  */
00032 
00033 
00034 #ifndef DIDISLUT_H
00035 #define DIDISLUT_H
00036 
00037 #include "dcmtk/config/osconfig.h"
00038 
00039 #include "dcmtk/dcmimgle/dibaslut.h"
00040 
00041 
00042 /*---------------------*
00043  *  class declaration  *
00044  *---------------------*/
00045 
00048 class DiDisplayLUT
00049   : public DiBaseLUT
00050 {
00051 
00052  public:
00053 
00061     DiDisplayLUT(const unsigned long count,
00062                  const Uint16 max,
00063                  const double amb,
00064                  const double illum = 0);
00065 
00068     virtual ~DiDisplayLUT();
00069 
00074     inline double getAmbientLightValue() const
00075     {
00076         return AmbientLight;
00077     }
00078 
00083     inline double getIlluminationValue() const
00084     {
00085         return Illumination;
00086     }
00087 
00088 
00089  private:
00090 
00092     const double AmbientLight;
00094     const double Illumination;
00095 };
00096 
00097 
00098 #endif
00099 
00100 
00101 /*
00102  *
00103  * CVS/RCS Log:
00104  * $Log: didislut.h,v $
00105  * Revision 1.8  2005/12/08 16:47:36  meichel
00106  * Changed include path schema for all DCMTK header files
00107  *
00108  * Revision 1.7  2003/12/08 18:17:41  joergr
00109  * Removed leading underscore characters from preprocessor symbols (reserved
00110  * symbols). Updated copyright header.
00111  *
00112  * Revision 1.6  2002/07/02 16:23:41  joergr
00113  * Added support for hardcopy devices to the calibrated output routines.
00114  *
00115  * Revision 1.5  2001/06/01 15:49:40  meichel
00116  * Updated copyright header
00117  *
00118  * Revision 1.4  2000/03/08 16:24:14  meichel
00119  * Updated copyright header.
00120  *
00121  * Revision 1.3  2000/03/06 18:19:35  joergr
00122  * Moved get-method to base class, renamed method and made method virtual to
00123  * avoid hiding of methods (reported by Sun CC 4.2).
00124  *
00125  * Revision 1.2  1999/09/17 12:08:24  joergr
00126  * Added/changed/completed DOC++ style comments in the header files.
00127  *
00128  * Revision 1.1  1999/09/10 08:55:19  joergr
00129  * Added support for CIELAB display function. Restructured class hierarchy
00130  * for display functions.
00131  *
00132  */


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5