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: DVPSVOIWindow_PList 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:04:14 $ 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 __DVPSVWL_H__ 00035 #define __DVPSVWL_H__ 00036 00037 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00038 #include "dcmtk/ofstd/oflist.h" 00039 #include "dcmtk/dcmdata/dctk.h" 00040 00041 class DVPSVOIWindow; 00042 00043 00049 class DVPSVOIWindow_PList 00050 { 00051 public: 00053 DVPSVOIWindow_PList(); 00054 00056 DVPSVOIWindow_PList(const DVPSVOIWindow_PList& copy); 00057 00062 DVPSVOIWindow_PList *clone() { return new DVPSVOIWindow_PList(*this); } 00063 00065 virtual ~DVPSVOIWindow_PList(); 00066 00074 OFCondition read(DcmItem &dset); 00075 00080 void clear(); 00081 00085 size_t size() const { return list_.size(); } 00086 00092 DVPSVOIWindow *getVOIWindow(size_t idx); 00093 00099 void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode); 00100 00101 private: 00102 00104 DVPSVOIWindow_PList& operator=(const DVPSVOIWindow_PList&); 00105 00108 OFList<DVPSVOIWindow *> list_; 00109 00112 OFConsole *logstream; 00113 00116 OFBool verboseMode; 00117 00120 OFBool debugMode; 00121 00122 }; 00123 00124 #endif 00125 00126 /* 00127 * $Log: dvpsvwl.h,v $ 00128 * Revision 1.7 2005/12/08 16:04:14 meichel 00129 * Changed include path schema for all DCMTK header files 00130 * 00131 * Revision 1.6 2003/06/04 10:18:06 meichel 00132 * Replaced private inheritance from template with aggregation 00133 * 00134 * Revision 1.5 2001/09/26 15:36:19 meichel 00135 * Adapted dcmpstat to class OFCondition 00136 * 00137 * Revision 1.4 2001/06/01 15:50:25 meichel 00138 * Updated copyright header 00139 * 00140 * Revision 1.3 2000/06/02 16:00:55 meichel 00141 * Adapted all dcmpstat classes to use OFConsole for log and error output 00142 * 00143 * Revision 1.2 2000/03/08 16:28:59 meichel 00144 * Updated copyright header. 00145 * 00146 * Revision 1.1 1998/12/22 17:57:10 meichel 00147 * Implemented Presentation State interface for overlays, 00148 * VOI LUTs, VOI windows, curves. Added test program that 00149 * allows to add curve data to DICOM images. 00150 * 00151 * 00152 */ 00153