OFFIS DCMTK  Version 3.6.0
dvpsspl.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: DVPSStoredPrint_PList
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 DVPSSPL_H
31 #define DVPSSPL_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/ofstd/oflist.h"
35 #include "dcmtk/dcmdata/dcvrus.h"
36 #include "dcmtk/dcmdata/dcvrui.h"
37 #include "dcmtk/dcmnet/dimse.h"
38 #include "dcmtk/dcmpstat/dvpstyp.h"
39 
40 class DVInterface;
41 class DVPSStoredPrint;
42 class DVConfiguration;
44 
49 {
50 public:
53 
56 
62 
64  virtual ~DVPSStoredPrint_PList();
65 
70  void clear();
71 
75  size_t size() const { return list_.size(); }
76 
82  void insert(DVPSStoredPrint *newSP) { if (newSP) list_.push_back(newSP); }
83 
100  DVConfiguration& cfg,
101  const char *cfgname,
102  T_DIMSE_Message& rq,
103  DcmDataset *rqDataset,
104  T_DIMSE_Message& rsp,
105  DcmDataset *& rspDataset,
106  OFBool presentationLUTnegotiated,
107  DVPSPresentationLUT_PList& globalPresentationLUTList);
108 
125  DVInterface& cfg,
126  const char *cfgname,
127  T_DIMSE_Message& rq,
128  DcmDataset *rqDataset,
129  T_DIMSE_Message& rsp,
130  DcmDataset *& rspDataset,
131  OFBool presentationLUTnegotiated);
132 
145  DVInterface& cfg,
146  const char *cfgname,
147  T_DIMSE_Message& rq,
148  T_DIMSE_Message& rsp,
149  DVPSPresentationLUT_PList& globalPresentationLUTList);
150 
162  DVInterface& cfg,
163  const char *cfgname,
164  T_DIMSE_Message& rsp,
165  DVPSPresentationLUT_PList& globalPresentationLUTList);
166 
173 
179  OFBool haveFilmBoxInstance(const char *uid);
180 
187  OFBool usesPresentationLUT(const char *uid);
188 
195  OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const;
196 
207  DcmUnsignedShort& newIllumination,
208  DcmUnsignedShort& newReflectedAmbientLight,
209  DcmUniqueIdentifier& newReferencedPLUT,
210  DVPSPrintPresentationLUTAlignment newAlignment);
211 
212 private:
213 
216 
220 };
221 
222 #endif
223 
224 /*
225  * $Log: dvpsspl.h,v $
226  * Revision 1.11 2010-10-14 13:16:36 joergr
227  * Updated copyright header. Added reference to COPYRIGHT file.
228  *
229  * Revision 1.10 2010-10-07 14:31:36 joergr
230  * Removed leading underscore characters from preprocessor symbols (reserved).
231  *
232  * Revision 1.9 2010-03-01 09:08:49 uli
233  * Removed some unnecessary include directives in the headers.
234  *
235  * Revision 1.8 2009-11-24 14:12:57 uli
236  * Switched to logging mechanism provided by the "new" oflog module.
237  *
238  * Revision 1.7 2009-09-30 10:42:38 uli
239  * Make dcmpstat's include headers self-sufficient by including all
240  * needed headers directly and stop using dctk.h
241  *
242  * Revision 1.6 2005-12-08 16:04:04 meichel
243  * Changed include path schema for all DCMTK header files
244  *
245  * Revision 1.5 2003/06/04 10:18:06 meichel
246  * Replaced private inheritance from template with aggregation
247  *
248  * Revision 1.4 2001/06/01 15:50:22 meichel
249  * Updated copyright header
250  *
251  * Revision 1.3 2000/06/08 10:44:30 meichel
252  * Implemented Referenced Presentation LUT Sequence on Basic Film Session level.
253  * Empty film boxes (pages) are not written to file anymore.
254  *
255  * Revision 1.2 2000/06/02 16:00:52 meichel
256  * Adapted all dcmpstat classes to use OFConsole for log and error output
257  *
258  * Revision 1.1 2000/05/31 12:56:36 meichel
259  * Added initial Print SCP support
260  *
261  *
262  */
void insert(DVPSStoredPrint *newSP)
adds a Stored Print object to the list of managed objects.
Definition: dvpsspl.h:82
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with all image boxes in all fil...
a class representing the DICOM value representation 'Unique Identifier' (UI)
Definition: dcvrui.h:39
void clear()
reset the object to initial state.
Configuration class for the Softcopy Presentation State viewer.
Definition: dvpscf.h:46
size_t size() const
returns number of elements in the list.
Definition: oflist.h:358
void printSCPBasicFilmBoxDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
performs a Print SCP basic film box N-DELETE operation.
void overridePresentationLUTSettings(DcmUnsignedShort &newIllumination, DcmUnsignedShort &newReflectedAmbientLight, DcmUniqueIdentifier &newReferencedPLUT, DVPSPrintPresentationLUTAlignment newAlignment)
replaces the settings for illumination, reflected ambient light and referenced Presentation LUT in al...
OFList< DVPSStoredPrint * > list_
the list maintained by this object
Definition: dvpsspl.h:219
a list of stored print objects, each of which manages a single Basic Film Box in a Print SCP...
Definition: dvpsspl.h:48
OFBool haveFilmBoxInstance(const char *uid)
checks whether a film box object with the given SOP instance UID already exists.
void printSCPBasicFilmBoxSet(DVConfiguration &cfg, const char *cfgname, T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Box N-SET operation.
the representation of a Stored Print object
Definition: dvpssp.h:51
virtual ~DVPSStoredPrint_PList()
destructor
the list of presentation LUTs contained in a stored print object.
Definition: dvpspll.h:46
void printSCPBasicFilmBoxAction(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rq, T_DIMSE_Message &rsp, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Box N-ACTION operation.
OFBool usesPresentationLUT(const char *uid)
checks whether the Presentation LUT with the given UID is referenced by any Stored Print object in th...
a class representing the DICOM value representation 'Unsigned Short' (US)
Definition: dcvrus.h:40
a class handling the DICOM dataset format (files without meta header)
Definition: dcdatset.h:46
void printSCPBasicGrayscaleImageBoxSet(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated)
performs a Print SCP Basic Grayscale Image Box N-SET operation.
DVPSStoredPrint_PList & operator=(const DVPSStoredPrint_PList &)
private undefined assignment operator
DVPSStoredPrint_PList()
default constructor
DVPSStoredPrint_PList * clone()
clone method.
Definition: dvpsspl.h:61
void printSCPBasicFilmSessionAction(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rsp, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Session N-ACTION operation.
size_t size() const
get number of stored print objects in this list.
Definition: dvpsspl.h:75
Interface class for the Softcopy Presentation State viewer.
Definition: dviface.h:56
void push_back(const T &x)
inserts after the last element of the list.
Definition: oflist.h:387


Generated on Wed Dec 28 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.8