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: DVPSSoftcopyVOI_PList 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:36 $ 00023 * CVS/RCS Revision: $Revision: 1.12 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef DVPSSVL_H 00031 #define DVPSSVL_H 00032 00033 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00034 #include "dcmtk/dcmdata/dcitem.h" 00035 #include "dcmtk/dcmpstat/dvpstyp.h" /* for enum types */ 00036 00037 class DVPSSoftcopyVOI; 00038 class DVPSReferencedSeries_PList; 00039 00045 class DVPSSoftcopyVOI_PList 00046 { 00047 public: 00049 DVPSSoftcopyVOI_PList(); 00050 00052 DVPSSoftcopyVOI_PList(const DVPSSoftcopyVOI_PList& copy); 00053 00058 DVPSSoftcopyVOI_PList *clone() { return new DVPSSoftcopyVOI_PList(*this); } 00059 00061 virtual ~DVPSSoftcopyVOI_PList(); 00062 00071 OFCondition read(DcmItem &dset); 00072 00079 OFCondition write(DcmItem &dset); 00080 00085 void clear(); 00086 00090 size_t size() const { return list_.size(); } 00091 00103 OFCondition createFromImage( 00104 DcmItem &dset, 00105 DVPSReferencedSeries_PList& allReferences, 00106 const char *sopclassUID, 00107 const char *instanceUID, 00108 DVPSVOIActivation voiActivation); 00109 00115 DVPSSoftcopyVOI *findSoftcopyVOI(const char *instanceUID, unsigned long frame); 00116 00132 DVPSSoftcopyVOI *createSoftcopyVOI( 00133 DVPSReferencedSeries_PList& allReferences, 00134 const char *sopclassUID, 00135 const char *instanceUID, 00136 unsigned long frame, 00137 unsigned long numberOfFrames, 00138 DVPSObjectApplicability applicability); 00139 00151 void removeSoftcopyVOI( 00152 DVPSReferencedSeries_PList& allReferences, 00153 const char *instanceUID, 00154 unsigned long frame, 00155 unsigned long numberOfFrames, 00156 DVPSObjectApplicability applicability); 00157 00158 private: 00159 00161 DVPSSoftcopyVOI_PList& operator=(const DVPSSoftcopyVOI_PList&); 00162 00165 OFList<DVPSSoftcopyVOI *> list_; 00166 00167 }; 00168 00169 00170 #endif 00171 00172 /* 00173 * $Log: dvpssvl.h,v $ 00174 * Revision 1.12 2010-10-14 13:16:36 joergr 00175 * Updated copyright header. Added reference to COPYRIGHT file. 00176 * 00177 * Revision 1.11 2010-10-07 14:31:36 joergr 00178 * Removed leading underscore characters from preprocessor symbols (reserved). 00179 * 00180 * Revision 1.10 2009-11-24 14:12:57 uli 00181 * Switched to logging mechanism provided by the "new" oflog module. 00182 * 00183 * Revision 1.9 2009-09-30 10:42:38 uli 00184 * Make dcmpstat's include headers self-sufficient by including all 00185 * needed headers directly and stop using dctk.h 00186 * 00187 * Revision 1.8 2005-12-08 16:04:06 meichel 00188 * Changed include path schema for all DCMTK header files 00189 * 00190 * Revision 1.7 2003/06/04 10:18:06 meichel 00191 * Replaced private inheritance from template with aggregation 00192 * 00193 * Revision 1.6 2001/09/26 15:36:16 meichel 00194 * Adapted dcmpstat to class OFCondition 00195 * 00196 * Revision 1.5 2001/06/01 15:50:23 meichel 00197 * Updated copyright header 00198 * 00199 * Revision 1.4 2000/06/02 16:00:52 meichel 00200 * Adapted all dcmpstat classes to use OFConsole for log and error output 00201 * 00202 * Revision 1.3 2000/03/08 16:28:57 meichel 00203 * Updated copyright header. 00204 * 00205 * Revision 1.2 1999/07/30 13:34:51 meichel 00206 * Added new classes managing Stored Print objects 00207 * 00208 * Revision 1.1 1999/07/22 16:39:12 meichel 00209 * Adapted dcmpstat data structures and API to supplement 33 letter ballot text. 00210 * 00211 * 00212 */