00001 /* 00002 * 00003 * Copyright (C) 1998-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: dcmpstat 00019 * 00020 * Author: Marco Eichelberg 00021 * 00022 * Purpose: 00023 * classes: DVPSVOILUT 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:04:11 $ 00027 * CVS/RCS Revision: $Revision: 1.7 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef __DVPSVL_H__ 00035 #define __DVPSVL_H__ 00036 00037 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00038 #include "dcmtk/dcmpstat/dvpstyp.h" 00039 #include "dcmtk/ofstd/ofstring.h" 00040 #include "dcmtk/dcmdata/dctk.h" 00041 00042 class DVPSSoftcopyVOI; 00043 00047 class DVPSVOILUT 00048 { 00049 public: 00051 DVPSVOILUT(); 00052 00054 DVPSVOILUT(const DVPSVOILUT& copy); 00055 00060 DVPSVOILUT *clone() { return new DVPSVOILUT(*this); } 00061 00063 virtual ~DVPSVOILUT(); 00064 00074 OFCondition read(DcmItem &dset); 00075 00080 void clear(); 00081 00086 const char *getExplanation(); 00087 00092 OFCondition assign(DVPSSoftcopyVOI& voi); 00093 00099 void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode); 00100 00101 private: 00102 00104 DVPSVOILUT& operator=(const DVPSVOILUT&); 00105 00107 DcmUnsignedShort voiLUTDescriptor; 00109 DcmLongString voiLUTExplanation; 00111 DcmUnsignedShort voiLUTData; 00112 00115 OFConsole *logstream; 00116 00119 OFBool verboseMode; 00120 00123 OFBool debugMode; 00124 }; 00125 00126 #endif 00127 00128 /* 00129 * $Log: dvpsvl.h,v $ 00130 * Revision 1.7 2005/12/08 16:04:11 meichel 00131 * Changed include path schema for all DCMTK header files 00132 * 00133 * Revision 1.6 2001/09/26 15:36:18 meichel 00134 * Adapted dcmpstat to class OFCondition 00135 * 00136 * Revision 1.5 2001/06/01 15:50:25 meichel 00137 * Updated copyright header 00138 * 00139 * Revision 1.4 2000/06/02 16:00:54 meichel 00140 * Adapted all dcmpstat classes to use OFConsole for log and error output 00141 * 00142 * Revision 1.3 2000/03/08 16:28:59 meichel 00143 * Updated copyright header. 00144 * 00145 * Revision 1.2 1999/07/22 16:39:15 meichel 00146 * Adapted dcmpstat data structures and API to supplement 33 letter ballot text. 00147 * 00148 * Revision 1.1 1998/12/22 17:57:09 meichel 00149 * Implemented Presentation State interface for overlays, 00150 * VOI LUTs, VOI windows, curves. Added test program that 00151 * allows to add curve data to DICOM images. 00152 * 00153 * 00154 */ 00155