plastimatch
Loading...
Searching...
No Matches
dcmtk_series.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _dcmtk_series_h_
5#define _dcmtk_series_h_
6
7#include "plmbase_config.h"
8#include <list>
9
10#include "dcmtk_file.h"
11#include "rt_study_metadata.h"
12#include "plm_image.h"
13#include "plm_int.h"
14
15class DcmTagKey;
16
17class Dcmtk_file;
18class Dcmtk_series_private;
20class Plm_image;
21
22typedef std::list<Dcmtk_file::Pointer> Dcmtk_file_list;
23
29{
30public:
31 Dcmtk_series ();
33
34public:
35 Dcmtk_series_private *d_ptr;
36
37public:
38 const std::list<Dcmtk_file::Pointer>& get_flist () const;
39 const Dcmtk_file::Pointer& get_dcmtk_file () const;
40 const char* get_cstr (const DcmTagKey& tag_key) const;
41 bool get_int16_array (const DcmTagKey& tag_key,
42 const int16_t** val, unsigned long* count) const;
43 bool get_sequence (const DcmTagKey& tag_key,
44 DcmSequenceOfItems*& seq) const;
45 std::string get_string (const DcmTagKey& tag_key) const;
46 bool get_uint16 (const DcmTagKey& tag_key, uint16_t* val) const;
47 bool get_uint16_array (const DcmTagKey& tag_key,
48 const uint16_t** val, unsigned long* count) const;
49
52 DcmDataset* get_dataset (void) const;
53 std::string get_modality (void) const;
54 std::string get_referenced_uid (void) const;
55
56 size_t get_number_of_files () const;
57
58 void insert (Dcmtk_file::Pointer& df);
59 void sort (void);
60
61 void set_rt_study_metadata (Rt_study_metadata::Pointer& drs);
62
63 void debug (void) const;
64};
65
66#endif
Definition dcmtk_file.h:20
std::shared_ptr< Self > Pointer
Definition dcmtk_file.h:22
The Dcmtk_series object encapsulates a set of Dcmtk_file objects which belong to a single series.
Definition dcmtk_series.h:29
Dcmtk_series_private * d_ptr
Definition dcmtk_series.h:35
The Plm_image class represents a three-dimensional volume. The volume is an abstraction that can co...
Definition plm_image.h:27
The Rt_study_metadata encapsulate DICOM metadata for an Rt_study. The Rt_study_metadata includes sepa...
Definition rt_study_metadata.h:27
std::shared_ptr< Self > Pointer
Definition rt_study_metadata.h:29
std::list< Dcmtk_file::Pointer > Dcmtk_file_list
Definition dcmtk_series.h:22
#define PLMBASE_API
Definition plmbase_config.h:19