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