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: DVPSCurve_PList 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:03:38 $ 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 __DVPSCUL_H__ 00035 #define __DVPSCUL_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 DVPSCurve; 00042 00049 class DVPSCurve_PList 00050 { 00051 public: 00053 DVPSCurve_PList(); 00054 00056 DVPSCurve_PList(const DVPSCurve_PList& copy); 00057 00062 DVPSCurve_PList *clone() { return new DVPSCurve_PList(*this); } 00063 00065 virtual ~DVPSCurve_PList(); 00066 00079 OFCondition read(DcmItem &dset); 00080 00085 void clear(); 00086 00092 OFBool haveCurveGroup(Uint16 group); 00093 00099 DVPSCurve *getCurveGroup(Uint16 group); 00100 00106 DVPSCurve *getCurve(size_t idx); 00107 00111 size_t size() const { return list_.size(); } 00112 00118 void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode); 00119 00120 private: 00121 00123 DVPSCurve_PList& operator=(const DVPSCurve_PList&); 00124 00127 OFList<DVPSCurve *> list_; 00128 00131 OFConsole *logstream; 00132 00135 OFBool verboseMode; 00136 00139 OFBool debugMode; 00140 }; 00141 00142 #endif 00143 00144 /* 00145 * $Log: dvpscul.h,v $ 00146 * Revision 1.7 2005/12/08 16:03:38 meichel 00147 * Changed include path schema for all DCMTK header files 00148 * 00149 * Revision 1.6 2003/06/04 10:18:06 meichel 00150 * Replaced private inheritance from template with aggregation 00151 * 00152 * Revision 1.5 2001/09/26 15:36:09 meichel 00153 * Adapted dcmpstat to class OFCondition 00154 * 00155 * Revision 1.4 2001/06/01 15:50:14 meichel 00156 * Updated copyright header 00157 * 00158 * Revision 1.3 2000/06/02 16:00:44 meichel 00159 * Adapted all dcmpstat classes to use OFConsole for log and error output 00160 * 00161 * Revision 1.2 2000/03/08 16:28:50 meichel 00162 * Updated copyright header. 00163 * 00164 * Revision 1.1 1998/12/22 17:57:05 meichel 00165 * Implemented Presentation State interface for overlays, 00166 * VOI LUTs, VOI windows, curves. Added test program that 00167 * allows to add curve data to DICOM images. 00168 * 00169 * 00170 */ 00171