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: DVPSCurve_PList 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:36 $ 00023 * CVS/RCS Revision: $Revision: 1.11 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef DVPSCUL_H 00031 #define DVPSCUL_H 00032 00033 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00034 #include "dcmtk/dcmdata/dcitem.h" 00035 00036 class DVPSCurve; 00037 00044 class DVPSCurve_PList 00045 { 00046 public: 00048 DVPSCurve_PList(); 00049 00051 DVPSCurve_PList(const DVPSCurve_PList& copy); 00052 00057 DVPSCurve_PList *clone() { return new DVPSCurve_PList(*this); } 00058 00060 virtual ~DVPSCurve_PList(); 00061 00074 OFCondition read(DcmItem &dset); 00075 00080 void clear(); 00081 00087 OFBool haveCurveGroup(Uint16 group); 00088 00094 DVPSCurve *getCurveGroup(Uint16 group); 00095 00101 DVPSCurve *getCurve(size_t idx); 00102 00106 size_t size() const { return list_.size(); } 00107 00108 private: 00109 00111 DVPSCurve_PList& operator=(const DVPSCurve_PList&); 00112 00115 OFList<DVPSCurve *> list_; 00116 00117 }; 00118 00119 #endif 00120 00121 /* 00122 * $Log: dvpscul.h,v $ 00123 * Revision 1.11 2010-10-14 13:16:36 joergr 00124 * Updated copyright header. Added reference to COPYRIGHT file. 00125 * 00126 * Revision 1.10 2010-10-07 14:31:35 joergr 00127 * Removed leading underscore characters from preprocessor symbols (reserved). 00128 * 00129 * Revision 1.9 2009-11-24 14:12:57 uli 00130 * Switched to logging mechanism provided by the "new" oflog module. 00131 * 00132 * Revision 1.8 2009-09-30 10:42:38 uli 00133 * Make dcmpstat's include headers self-sufficient by including all 00134 * needed headers directly and stop using dctk.h 00135 * 00136 * Revision 1.7 2005-12-08 16:03:38 meichel 00137 * Changed include path schema for all DCMTK header files 00138 * 00139 * Revision 1.6 2003/06/04 10:18:06 meichel 00140 * Replaced private inheritance from template with aggregation 00141 * 00142 * Revision 1.5 2001/09/26 15:36:09 meichel 00143 * Adapted dcmpstat to class OFCondition 00144 * 00145 * Revision 1.4 2001/06/01 15:50:14 meichel 00146 * Updated copyright header 00147 * 00148 * Revision 1.3 2000/06/02 16:00:44 meichel 00149 * Adapted all dcmpstat classes to use OFConsole for log and error output 00150 * 00151 * Revision 1.2 2000/03/08 16:28:50 meichel 00152 * Updated copyright header. 00153 * 00154 * Revision 1.1 1998/12/22 17:57:05 meichel 00155 * Implemented Presentation State interface for overlays, 00156 * VOI LUTs, VOI windows, curves. Added test program that 00157 * allows to add curve data to DICOM images. 00158 * 00159 * 00160 */