OFFIS DCMTK  Version 3.6.0
dvpsgl.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: DVPSGraphicLayer
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:36 $
23  * CVS/RCS Revision: $Revision: 1.11 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef DVPSGL_H
31 #define DVPSGL_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/dcmdata/dctk.h"
35 
36 
43 {
44 public:
47 
50 
55  DVPSGraphicLayer *clone() { return new DVPSGraphicLayer(*this); }
56 
58  virtual ~DVPSGraphicLayer();
59 
69  OFCondition read(DcmItem &dset);
70 
77  OFCondition write(DcmItem &dset);
78 
82  const char *getGL();
83 
87  const char *getGLDescription();
88 
92  Sint32 getGLOrder();
93 
98 
107 
116  OFCondition getGLRecommendedDisplayValueRGB(Uint16& r, Uint16& g, Uint16& b);
117 
122  void removeRecommendedDisplayValue(OFBool rgb, OFBool monochrome);
123 
127  void setGL(const char *gl);
128 
132  void setGLOrder(Sint32 glOrder);
133 
139  void setGLRecommendedDisplayValueGray(Uint16 gray);
140 
148  void setGLRecommendedDisplayValueRGB(Uint16 r, Uint16 g, Uint16 b);
149 
153  void setGLDescription(const char *glDescription);
154 
155 private:
156 
159 
170 
171 };
172 
173 #endif
174 
175 /*
176  * $Log: dvpsgl.h,v $
177  * Revision 1.11 2010-10-14 13:16:36 joergr
178  * Updated copyright header. Added reference to COPYRIGHT file.
179  *
180  * Revision 1.10 2010-10-07 14:31:35 joergr
181  * Removed leading underscore characters from preprocessor symbols (reserved).
182  *
183  * Revision 1.9 2009-11-24 14:12:57 uli
184  * Switched to logging mechanism provided by the "new" oflog module.
185  *
186  * Revision 1.8 2005-12-08 16:03:45 meichel
187  * Changed include path schema for all DCMTK header files
188  *
189  * Revision 1.7 2001/09/26 15:36:11 meichel
190  * Adapted dcmpstat to class OFCondition
191  *
192  * Revision 1.6 2001/06/01 15:50:16 meichel
193  * Updated copyright header
194  *
195  * Revision 1.5 2000/06/02 16:00:46 meichel
196  * Adapted all dcmpstat classes to use OFConsole for log and error output
197  *
198  * Revision 1.4 2000/03/08 16:28:51 meichel
199  * Updated copyright header.
200  *
201  * Revision 1.3 1999/07/22 16:39:08 meichel
202  * Adapted dcmpstat data structures and API to supplement 33 letter ballot text.
203  *
204  * Revision 1.2 1998/12/14 16:10:29 meichel
205  * Implemented Presentation State interface for graphic layers,
206  * text and graphic annotations, presentation LUTs.
207  *
208  * Revision 1.1 1998/11/27 14:50:27 meichel
209  * Initial Release.
210  *
211  *
212  */


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