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: DVPSVOIWindow_PList 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:37 $ 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 DVPSVWL_H 00031 #define DVPSVWL_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 DVPSVOIWindow; 00037 00038 00044 class DVPSVOIWindow_PList 00045 { 00046 public: 00048 DVPSVOIWindow_PList(); 00049 00051 DVPSVOIWindow_PList(const DVPSVOIWindow_PList& copy); 00052 00057 DVPSVOIWindow_PList *clone() { return new DVPSVOIWindow_PList(*this); } 00058 00060 virtual ~DVPSVOIWindow_PList(); 00061 00069 OFCondition read(DcmItem &dset); 00070 00075 void clear(); 00076 00080 size_t size() const { return list_.size(); } 00081 00087 DVPSVOIWindow *getVOIWindow(size_t idx); 00088 00089 private: 00090 00092 DVPSVOIWindow_PList& operator=(const DVPSVOIWindow_PList&); 00093 00096 OFList<DVPSVOIWindow *> list_; 00097 00098 }; 00099 00100 #endif 00101 00102 /* 00103 * $Log: dvpsvwl.h,v $ 00104 * Revision 1.11 2010-10-14 13:16:37 joergr 00105 * Updated copyright header. Added reference to COPYRIGHT file. 00106 * 00107 * Revision 1.10 2010-10-07 14:31:36 joergr 00108 * Removed leading underscore characters from preprocessor symbols (reserved). 00109 * 00110 * Revision 1.9 2009-11-24 14:12:58 uli 00111 * Switched to logging mechanism provided by the "new" oflog module. 00112 * 00113 * Revision 1.8 2009-09-30 10:42:38 uli 00114 * Make dcmpstat's include headers self-sufficient by including all 00115 * needed headers directly and stop using dctk.h 00116 * 00117 * Revision 1.7 2005-12-08 16:04:14 meichel 00118 * Changed include path schema for all DCMTK header files 00119 * 00120 * Revision 1.6 2003/06/04 10:18:06 meichel 00121 * Replaced private inheritance from template with aggregation 00122 * 00123 * Revision 1.5 2001/09/26 15:36:19 meichel 00124 * Adapted dcmpstat to class OFCondition 00125 * 00126 * Revision 1.4 2001/06/01 15:50:25 meichel 00127 * Updated copyright header 00128 * 00129 * Revision 1.3 2000/06/02 16:00:55 meichel 00130 * Adapted all dcmpstat classes to use OFConsole for log and error output 00131 * 00132 * Revision 1.2 2000/03/08 16:28:59 meichel 00133 * Updated copyright header. 00134 * 00135 * Revision 1.1 1998/12/22 17:57:10 meichel 00136 * Implemented Presentation State interface for overlays, 00137 * VOI LUTs, VOI windows, curves. Added test program that 00138 * allows to add curve data to DICOM images. 00139 * 00140 * 00141 */