OFFIS DCMTK  Version 3.6.0
dvpsov.h
1 /*
2  *
3  * Copyright (C) 1998-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmpstat
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose:
19  * classes: DVPSOverlay
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:36 $
23  * CVS/RCS Revision: $Revision: 1.13 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef DVPSOV_H
31 #define DVPSOV_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/dcmdata/dctk.h"
35 
36 class DicomImage;
37 
45 {
46 public:
48  DVPSOverlay();
49 
51  DVPSOverlay(const DVPSOverlay& copy);
52 
57  DVPSOverlay *clone() const { return new DVPSOverlay(*this); }
58 
60  virtual ~DVPSOverlay();
61 
76  OFCondition read(DcmItem &dset, Uint8 ovGroup, Uint8 asGroup=0xFF);
77 
84  OFCondition write(DcmItem &dset);
85 
89  Uint8 getOverlayGroup() const { return overlayGroup; }
90 
95  void setOverlayGroup(Uint8 newGroup) { overlayGroup = newGroup; }
96 
104  OFBool isSuitableAsShutter(unsigned long x, unsigned long y);
105 
110  const char *getOverlayLabel();
111 
116  const char *getOverlayDescription();
117 
121  OFBool isROI();
122 
131  Sint16& originX,
132  Sint16& originY,
133  Uint16& sizeX,
134  Uint16& sizeY);
135 
138 
141 
144 
145 private:
146 
149 
170 
171 };
172 
173 #endif
174 
175 /*
176  * $Log: dvpsov.h,v $
177  * Revision 1.13 2010-10-14 13:16:36 joergr
178  * Updated copyright header. Added reference to COPYRIGHT file.
179  *
180  * Revision 1.12 2010-10-07 14:31:36 joergr
181  * Removed leading underscore characters from preprocessor symbols (reserved).
182  *
183  * Revision 1.11 2009-11-24 14:12:57 uli
184  * Switched to logging mechanism provided by the "new" oflog module.
185  *
186  * Revision 1.10 2005-12-08 16:03:53 meichel
187  * Changed include path schema for all DCMTK header files
188  *
189  * Revision 1.9 2003/08/27 14:59:41 meichel
190  * Changed API of class DVPSOverlay to avoid dependency on module dcmimgle
191  *
192  * Revision 1.8 2001/09/26 15:36:13 meichel
193  * Adapted dcmpstat to class OFCondition
194  *
195  * Revision 1.7 2001/06/01 15:50:18 meichel
196  * Updated copyright header
197  *
198  * Revision 1.6 2000/06/02 16:00:48 meichel
199  * Adapted all dcmpstat classes to use OFConsole for log and error output
200  *
201  * Revision 1.5 2000/03/08 16:28:53 meichel
202  * Updated copyright header.
203  *
204  * Revision 1.4 1999/02/09 15:58:56 meichel
205  * Implemented bitmap shutter activation amd method for
206  * exchanging graphic layers.
207  *
208  * Revision 1.3 1998/12/22 17:57:06 meichel
209  * Implemented Presentation State interface for overlays,
210  * VOI LUTs, VOI windows, curves. Added test program that
211  * allows to add curve data to DICOM images.
212  *
213  * Revision 1.2 1998/12/14 16:10:31 meichel
214  * Implemented Presentation State interface for graphic layers,
215  * text and graphic annotations, presentation LUTs.
216  *
217  * Revision 1.1 1998/11/27 14:50:30 meichel
218  * Initial Release.
219  *
220  *
221  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2