00001 /* 00002 * 00003 * Copyright (C) 1996-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: dcmimgle 00015 * 00016 * Author: Joerg Riesmeier 00017 * 00018 * Purpose: DicomOverlayData (Header) 00019 * 00020 * Last Update: $Author: joergr $ 00021 * Update Date: $Date: 2010-10-14 13:16:26 $ 00022 * CVS/RCS Revision: $Revision: 1.7 $ 00023 * Status: $State: Exp $ 00024 * 00025 * CVS/RCS Log at end of file 00026 * 00027 */ 00028 00029 00030 #ifndef DIOVDAT_H 00031 #define DIOVDAT_H 00032 00033 #include "dcmtk/config/osconfig.h" 00034 00035 #include "dcmtk/dcmimgle/diobjcou.h" 00036 00037 00038 /*------------------------* 00039 * forward declarations * 00040 *------------------------*/ 00041 00042 class DiOverlay; 00043 class DiOverlayPlane; 00044 00045 00046 /*-------------------------------* 00047 * declaration of helper class * 00048 *-------------------------------*/ 00049 00052 class DiOverlayData 00053 : public DiObjectCounter 00054 { 00055 00056 friend class DiOverlay; 00057 00058 public: 00059 00065 DiOverlayData(unsigned int entries, 00066 unsigned int count = 0); 00067 00070 virtual ~DiOverlayData(); 00071 00072 00073 private: 00074 00076 unsigned int Count; 00078 unsigned int ArrayEntries; 00079 00081 DiOverlayPlane **Planes; 00083 Uint16 *DataBuffer; 00084 00085 // --- declarations to avoid compiler warnings 00086 00087 DiOverlayData(const DiOverlayData &); 00088 DiOverlayData &operator=(const DiOverlayData &); 00089 }; 00090 00091 00092 #endif 00093 00094 00095 /* 00096 * 00097 * CVS/RCS Log: 00098 * $Log: diovdat.h,v $ 00099 * Revision 1.7 2010-10-14 13:16:26 joergr 00100 * Updated copyright header. Added reference to COPYRIGHT file. 00101 * 00102 * Revision 1.6 2010-03-01 09:08:47 uli 00103 * Removed some unnecessary include directives in the headers. 00104 * 00105 * Revision 1.5 2005-12-08 16:48:00 meichel 00106 * Changed include path schema for all DCMTK header files 00107 * 00108 * Revision 1.4 2003/12/09 10:05:22 joergr 00109 * Removed leading underscore characters from preprocessor symbols (reserved 00110 * symbols). Updated copyright header. 00111 * 00112 * Revision 1.3 2001/06/01 15:49:48 meichel 00113 * Updated copyright header 00114 * 00115 * Revision 1.2 2000/03/08 16:24:22 meichel 00116 * Updated copyright header. 00117 * 00118 * Revision 1.1 1999/09/17 12:46:22 joergr 00119 * Splitted file diovlay.h into two files (one for each class). 00120 * 00121 * 00122 * 00123 */