plastimatch
|
The Rt_study_metadata encapsulate DICOM metadata for an Rt_study. The Rt_study_metadata includes separate metadata for image, dose, and rtstruct, as well as a study_metadata which is shared by all components. Items such as Patient Name or Study Description will be held in study_metadata. More...
#include <rt_study_metadata.h>
Public Types | |
typedef Rt_study_metadata | Self |
typedef std::shared_ptr< Self > | Pointer |
Public Member Functions | |
Rt_study_metadata () | |
~Rt_study_metadata () | |
const char * | get_ct_series_uid () const |
void | set_ct_series_uid (const char *uid) |
void | force_ct_series_uid (const std::string &uid) |
const char * | get_ct_series_description () const |
const std::string & | get_dose_instance_uid () const |
const char * | get_dose_series_uid () const |
const std::string & | get_frame_of_reference_uid () const |
void | set_frame_of_reference_uid (const char *uid) |
void | set_frame_of_reference_uid (const std::string &uid) |
const char * | get_plan_instance_uid () const |
const std::string & | get_rtstruct_instance_uid () const |
void | set_rtstruct_instance_uid (const char *rtstruct_instance_uid) |
const char * | get_rtstruct_series_uid () const |
const char * | get_position_reference_indicator () const |
void | set_position_reference_indicator (const char *position_reference_indicator) |
void | set_position_reference_indicator (const std::string &position_reference_indicator) |
const char * | get_referring_physician_name () const |
void | set_referring_physician_name (const char *referring_physician_name) |
void | set_referring_physician_name (const std::string &referring_physician_name) |
const char * | get_accession_number () const |
void | set_accession_number (const char *accession_number) |
void | set_accession_number (const std::string &accession_number) |
const char * | get_study_date () const |
void | set_study_date (const char *date) |
void | set_study_date (const std::string &date) |
const char * | get_study_description () const |
void | set_study_description (const char *description) |
void | set_study_description (const std::string &description) |
const char * | get_study_time () const |
void | set_study_time (const char *time) |
void | set_study_time (const std::string &time) |
const std::string & | get_study_uid () const |
void | set_study_uid (const char *uid) |
void | set_study_uid (const std::string &uid) |
const char * | get_study_id () const |
void | set_study_id (const char *id) |
void | set_study_id (const std::string &id) |
const std::string & | get_patient_name () |
void | set_patient_name (const char *name) |
void | set_patient_name (const std::string &name) |
const std::string & | get_patient_id () |
void | set_patient_id (const std::string &id) |
const std::string & | get_patient_birth_date () |
void | set_patient_birth_date (const char *birth_date) |
void | set_patient_birth_date (const std::string &birth_date) |
const std::string & | get_patient_sex () |
void | set_patient_sex (const char *sex) |
void | set_patient_sex (const std::string &sex) |
const Plm_image_header * | get_image_header () const |
void | set_image_header (const Plm_image::Pointer &pli) |
void | set_image_header (const Plm_image_header &pih) |
void | set_image_header (ShortImageType::Pointer img) |
const Slice_list * | get_slice_list () const |
void | reset_slice_uids () |
const char * | get_slice_uid (int index) const |
void | set_slice_uid (int index, const char *slice_uid) |
bool | slice_list_complete () const |
void | set_slice_list_complete () |
int | num_slices () const |
Metadata::Pointer & | get_study_metadata () |
const Metadata::Pointer & | get_study_metadata () const |
const std::string & | get_study_metadata (unsigned short key1, unsigned short key2) const |
void | set_study_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
Metadata::Pointer & | get_image_metadata () |
const Metadata::Pointer & | get_image_metadata () const |
const std::string & | get_image_metadata (unsigned short key1, unsigned short key2) const |
void | set_image_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
Metadata::Pointer & | get_rtstruct_metadata () |
const Metadata::Pointer & | get_rtstruct_metadata () const |
void | set_rtstruct_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
Metadata::Pointer & | get_dose_metadata () |
const Metadata::Pointer & | get_dose_metadata () const |
void | set_dose_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
Metadata::Pointer & | get_rtplan_metadata () |
const Metadata::Pointer & | get_rtplan_metadata () const |
void | set_rtplan_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
Metadata::Pointer & | get_sro_metadata () |
const Metadata::Pointer & | get_sro_metadata () const |
void | set_sro_metadata (unsigned short key1, unsigned short key2, const std::string &val) |
void | generate_new_dose_instance_uid () |
void | generate_new_plan_instance_uid () |
void | generate_new_rtstruct_instance_uid () |
void | generate_new_series_uids () |
void | generate_new_study_uids () |
void | print () const |
Static Public Member Functions | |
static Rt_study_metadata::Pointer | New () |
static Rt_study_metadata::Pointer | New (Rt_study_metadata *t) |
template<class U1 > | |
static Rt_study_metadata::Pointer | New (const U1 &u1) |
template<class U1 , class U2 > | |
static Rt_study_metadata::Pointer | New (const U1 &u1, const U2 &u2) |
template<class U1 , class U2 , class U3 > | |
static Rt_study_metadata::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3) |
template<class U1 , class U2 , class U3 , class U4 , class U5 , class U6 > | |
static Rt_study_metadata::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3, const U4 &u4, const U5 &u5, const U6 &u6) |
static Rt_study_metadata::Pointer | load (const std::string &dicom_path) |
static Rt_study_metadata::Pointer | load (const char *dicom_path) |
Public Attributes | |
Rt_study_metadata_private * | d_ptr |
The Rt_study_metadata encapsulate DICOM metadata for an Rt_study. The Rt_study_metadata includes separate metadata for image, dose, and rtstruct, as well as a study_metadata which is shared by all components. Items such as Patient Name or Study Description will be held in study_metadata.
typedef std::shared_ptr<Self> Rt_study_metadata::Pointer |
Rt_study_metadata::Rt_study_metadata | ( | ) |
Rt_study_metadata::~Rt_study_metadata | ( | ) |
void Rt_study_metadata::force_ct_series_uid | ( | const std::string & | uid | ) |
void Rt_study_metadata::generate_new_dose_instance_uid | ( | ) |
void Rt_study_metadata::generate_new_plan_instance_uid | ( | ) |
void Rt_study_metadata::generate_new_rtstruct_instance_uid | ( | ) |
void Rt_study_metadata::generate_new_series_uids | ( | ) |
void Rt_study_metadata::generate_new_study_uids | ( | ) |
const char * Rt_study_metadata::get_accession_number | ( | ) | const |
const char * Rt_study_metadata::get_ct_series_description | ( | ) | const |
const char * Rt_study_metadata::get_ct_series_uid | ( | ) | const |
const std::string & Rt_study_metadata::get_dose_instance_uid | ( | ) | const |
Metadata::Pointer & Rt_study_metadata::get_dose_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_dose_metadata | ( | ) | const |
const char * Rt_study_metadata::get_dose_series_uid | ( | ) | const |
const std::string & Rt_study_metadata::get_frame_of_reference_uid | ( | ) | const |
const Plm_image_header * Rt_study_metadata::get_image_header | ( | ) | const |
Metadata::Pointer & Rt_study_metadata::get_image_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_image_metadata | ( | ) | const |
const std::string & Rt_study_metadata::get_image_metadata | ( | unsigned short | key1, |
unsigned short | key2 ) const |
const std::string & Rt_study_metadata::get_patient_birth_date | ( | ) |
const std::string & Rt_study_metadata::get_patient_id | ( | ) |
const std::string & Rt_study_metadata::get_patient_name | ( | ) |
const std::string & Rt_study_metadata::get_patient_sex | ( | ) |
const char * Rt_study_metadata::get_plan_instance_uid | ( | ) | const |
const char * Rt_study_metadata::get_position_reference_indicator | ( | ) | const |
const char * Rt_study_metadata::get_referring_physician_name | ( | ) | const |
Metadata::Pointer & Rt_study_metadata::get_rtplan_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_rtplan_metadata | ( | ) | const |
const std::string & Rt_study_metadata::get_rtstruct_instance_uid | ( | ) | const |
Metadata::Pointer & Rt_study_metadata::get_rtstruct_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_rtstruct_metadata | ( | ) | const |
const char * Rt_study_metadata::get_rtstruct_series_uid | ( | ) | const |
const Slice_list * Rt_study_metadata::get_slice_list | ( | ) | const |
const char * Rt_study_metadata::get_slice_uid | ( | int | index | ) | const |
Metadata::Pointer & Rt_study_metadata::get_sro_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_sro_metadata | ( | ) | const |
const char * Rt_study_metadata::get_study_date | ( | ) | const |
const char * Rt_study_metadata::get_study_description | ( | ) | const |
const char * Rt_study_metadata::get_study_id | ( | ) | const |
Metadata::Pointer & Rt_study_metadata::get_study_metadata | ( | ) |
const Metadata::Pointer & Rt_study_metadata::get_study_metadata | ( | ) | const |
const std::string & Rt_study_metadata::get_study_metadata | ( | unsigned short | key1, |
unsigned short | key2 ) const |
const char * Rt_study_metadata::get_study_time | ( | ) | const |
const std::string & Rt_study_metadata::get_study_uid | ( | ) | const |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
int Rt_study_metadata::num_slices | ( | ) | const |
void Rt_study_metadata::print | ( | ) | const |
void Rt_study_metadata::reset_slice_uids | ( | ) |
void Rt_study_metadata::set_accession_number | ( | const char * | accession_number | ) |
void Rt_study_metadata::set_accession_number | ( | const std::string & | accession_number | ) |
void Rt_study_metadata::set_ct_series_uid | ( | const char * | uid | ) |
void Rt_study_metadata::set_dose_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_frame_of_reference_uid | ( | const char * | uid | ) |
void Rt_study_metadata::set_frame_of_reference_uid | ( | const std::string & | uid | ) |
void Rt_study_metadata::set_image_header | ( | const Plm_image::Pointer & | pli | ) |
void Rt_study_metadata::set_image_header | ( | const Plm_image_header & | pih | ) |
void Rt_study_metadata::set_image_header | ( | ShortImageType::Pointer | img | ) |
void Rt_study_metadata::set_image_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_patient_birth_date | ( | const char * | birth_date | ) |
void Rt_study_metadata::set_patient_birth_date | ( | const std::string & | birth_date | ) |
void Rt_study_metadata::set_patient_id | ( | const std::string & | id | ) |
void Rt_study_metadata::set_patient_name | ( | const char * | name | ) |
void Rt_study_metadata::set_patient_name | ( | const std::string & | name | ) |
void Rt_study_metadata::set_patient_sex | ( | const char * | sex | ) |
void Rt_study_metadata::set_patient_sex | ( | const std::string & | sex | ) |
void Rt_study_metadata::set_position_reference_indicator | ( | const char * | position_reference_indicator | ) |
void Rt_study_metadata::set_position_reference_indicator | ( | const std::string & | position_reference_indicator | ) |
void Rt_study_metadata::set_referring_physician_name | ( | const char * | referring_physician_name | ) |
void Rt_study_metadata::set_referring_physician_name | ( | const std::string & | referring_physician_name | ) |
void Rt_study_metadata::set_rtplan_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_rtstruct_instance_uid | ( | const char * | rtstruct_instance_uid | ) |
void Rt_study_metadata::set_rtstruct_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_slice_list_complete | ( | ) |
void Rt_study_metadata::set_slice_uid | ( | int | index, |
const char * | slice_uid ) |
void Rt_study_metadata::set_sro_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_study_date | ( | const char * | date | ) |
void Rt_study_metadata::set_study_date | ( | const std::string & | date | ) |
void Rt_study_metadata::set_study_description | ( | const char * | description | ) |
void Rt_study_metadata::set_study_description | ( | const std::string & | description | ) |
void Rt_study_metadata::set_study_id | ( | const char * | id | ) |
void Rt_study_metadata::set_study_id | ( | const std::string & | id | ) |
void Rt_study_metadata::set_study_metadata | ( | unsigned short | key1, |
unsigned short | key2, | ||
const std::string & | val ) |
void Rt_study_metadata::set_study_time | ( | const char * | time | ) |
void Rt_study_metadata::set_study_time | ( | const std::string & | time | ) |
void Rt_study_metadata::set_study_uid | ( | const char * | uid | ) |
void Rt_study_metadata::set_study_uid | ( | const std::string & | uid | ) |
bool Rt_study_metadata::slice_list_complete | ( | ) | const |
Rt_study_metadata_private* Rt_study_metadata::d_ptr |