00001 /* 00002 * 00003 * Copyright (C) 1998-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: dcmpstat 00015 * 00016 * Author: Marco Eichelberg 00017 * 00018 * Purpose: 00019 * classes: DVPSVOILUT 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:37 $ 00023 * CVS/RCS Revision: $Revision: 1.10 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef DVPSVL_H 00031 #define DVPSVL_H 00032 00033 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00034 #include "dcmtk/dcmpstat/dvpstyp.h" 00035 #include "dcmtk/ofstd/ofstring.h" 00036 #include "dcmtk/dcmdata/dctk.h" 00037 00038 class DVPSSoftcopyVOI; 00039 00043 class DVPSVOILUT 00044 { 00045 public: 00047 DVPSVOILUT(); 00048 00050 DVPSVOILUT(const DVPSVOILUT& copy); 00051 00056 DVPSVOILUT *clone() { return new DVPSVOILUT(*this); } 00057 00059 virtual ~DVPSVOILUT(); 00060 00070 OFCondition read(DcmItem &dset); 00071 00076 void clear(); 00077 00082 const char *getExplanation(); 00083 00088 OFCondition assign(DVPSSoftcopyVOI& voi); 00089 00090 private: 00091 00093 DVPSVOILUT& operator=(const DVPSVOILUT&); 00094 00096 DcmUnsignedShort voiLUTDescriptor; 00098 DcmLongString voiLUTExplanation; 00100 DcmUnsignedShort voiLUTData; 00101 }; 00102 00103 #endif 00104 00105 /* 00106 * $Log: dvpsvl.h,v $ 00107 * Revision 1.10 2010-10-14 13:16:37 joergr 00108 * Updated copyright header. Added reference to COPYRIGHT file. 00109 * 00110 * Revision 1.9 2010-10-07 14:31:36 joergr 00111 * Removed leading underscore characters from preprocessor symbols (reserved). 00112 * 00113 * Revision 1.8 2009-11-24 14:12:58 uli 00114 * Switched to logging mechanism provided by the "new" oflog module. 00115 * 00116 * Revision 1.7 2005-12-08 16:04:11 meichel 00117 * Changed include path schema for all DCMTK header files 00118 * 00119 * Revision 1.6 2001/09/26 15:36:18 meichel 00120 * Adapted dcmpstat to class OFCondition 00121 * 00122 * Revision 1.5 2001/06/01 15:50:25 meichel 00123 * Updated copyright header 00124 * 00125 * Revision 1.4 2000/06/02 16:00:54 meichel 00126 * Adapted all dcmpstat classes to use OFConsole for log and error output 00127 * 00128 * Revision 1.3 2000/03/08 16:28:59 meichel 00129 * Updated copyright header. 00130 * 00131 * Revision 1.2 1999/07/22 16:39:15 meichel 00132 * Adapted dcmpstat data structures and API to supplement 33 letter ballot text. 00133 * 00134 * Revision 1.1 1998/12/22 17:57:09 meichel 00135 * Implemented Presentation State interface for overlays, 00136 * VOI LUTs, VOI windows, curves. Added test program that 00137 * allows to add curve data to DICOM images. 00138 * 00139 * 00140 */