plastimatch
Loading...
Searching...
No Matches
cxt_io.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _cxt_io_h_
5#define _cxt_io_h_
6
7#include "plmbase_config.h"
8#include "rt_study_metadata.h"
9
10class Metadata;
11class Rtss;
12
14 Rtss* cxt,
15 const char* xorlist_fn
16);
18 Rtss *cxt, /* Output: load into this object */
19 Rt_study_metadata *rsm, /* Output: load into this object */
20 const char *cxt_fn /* Input: file to load from */
21);
23 Rtss *cxt, /* In: save this object */
24 const Rt_study_metadata::Pointer& rsm, /* In: save this object */
25 const char* cxt_fn, /* In: File to save to */
26 bool prune_empty /* In: Prune empty structures? */
27);
28
29#endif
The Metadata class encapsulate DICOM metadata for a single series. It is implemented as a map from st...
Definition metadata.h:24
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
The Rtss class represents a set of segmentations in polyline format, analogous to the DICOM-RT RTSTRU...
Definition rtss.h:25
void prune_empty(void)
Definition rtss.cxx:265
void cxt_save(Rtss *cxt, const Rt_study_metadata::Pointer &rsm, const char *cxt_fn, bool prune_empty)
Definition cxt_io.cxx:254
Rtss * cxt_load_ss_list(Rtss *cxt, const char *xorlist_fn)
void cxt_load(Rtss *cxt, Rt_study_metadata *rsm, const char *cxt_fn)
Definition cxt_io.cxx:24
#define PLMBASE_API
Definition plmbase_config.h:19