00001 /* 00002 * 00003 * Copyright (C) 1996-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmimgle 00019 * 00020 * Author: Joerg Riesmeier 00021 * 00022 * Purpose: DicomRegisterBase (Header) 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:48:07 $ 00026 * CVS/RCS Revision: $Revision: 1.7 $ 00027 * Status: $State: Exp $ 00028 * 00029 * CVS/RCS Log at end of file 00030 * 00031 */ 00032 00033 00034 #ifndef DIREGBAS_H 00035 #define DIREGBAS_H 00036 00037 #include "dcmtk/config/osconfig.h" 00038 00039 #include "dcmtk/dcmimgle/diutils.h" 00040 00041 00042 /*------------------------* 00043 * forward declarations * 00044 *------------------------*/ 00045 00046 class DiImage; 00047 class DiColorImage; 00048 class DiMonoPixel; 00049 class DiDocument; 00050 class DiRegisterBase; 00051 00052 00053 /*---------------------* 00054 * class declaration * 00055 *---------------------*/ 00056 00059 class DiRegisterBase 00060 { 00061 00062 public: 00063 00066 DiRegisterBase() 00067 { 00068 } 00069 00072 virtual ~DiRegisterBase() 00073 { 00074 } 00075 00084 virtual DiImage *createImage(const DiDocument *docu, 00085 const EI_Status status, 00086 const EP_Interpretation photo) = 0; 00087 00097 virtual DiMonoPixel *createMonoImageData(const DiColorImage *image, 00098 const double red, 00099 const double green, 00100 const double blue) = 0; 00101 00103 static DiRegisterBase *Pointer; 00104 }; 00105 00106 00107 #endif 00108 00109 00110 /* 00111 * 00112 * CVS/RCS Log: 00113 * $Log: diregbas.h,v $ 00114 * Revision 1.7 2005/12/08 16:48:07 meichel 00115 * Changed include path schema for all DCMTK header files 00116 * 00117 * Revision 1.6 2003/12/08 19:28:05 joergr 00118 * Removed leading underscore characters from preprocessor symbols (reserved 00119 * symbols). Updated CVS header. Updated copyright header. 00120 * 00121 * Revision 1.5 2001/06/01 15:49:50 meichel 00122 * Updated copyright header 00123 * 00124 * Revision 1.4 2000/03/08 16:24:23 meichel 00125 * Updated copyright header. 00126 * 00127 * Revision 1.3 1999/09/17 12:48:28 joergr 00128 * Added/changed/completed DOC++ style comments in the header files. 00129 * 00130 * Revision 1.2 1999/03/24 17:20:24 joergr 00131 * Added/Modified comments and formatting. 00132 * 00133 * Revision 1.1 1998/11/27 13:08:07 joergr 00134 * Added registration class to allow easy combination of both modules. 00135 * Added copyright message to all source files. 00136 * 00137 * 00138 */