plastimatch
Loading...
Searching...
No Matches
src
base
xio_dir.h
Go to the documentation of this file.
1
/* -----------------------------------------------------------------------
2
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3
----------------------------------------------------------------------- */
4
#ifndef _xio_dir_h
5
#define _xio_dir_h
6
7
#include "
plmbase_config.h
"
8
#include <vector>
9
10
class
Xio_patient
;
11
struct
Xio_studyset_dir
;
12
struct
Xio_plan_dir
;
13
14
/* This class represents the input directory, which could be a
15
patient directory, plan directory, or even a directory which
16
contains multiple patients */
17
class
PLMBASE_API
Xio_dir
{
18
public
:
19
std::string
path
;
20
std::vector<Xio_patient*>
patient_dir
;
21
public
:
22
Xio_dir
(
const
char
*
input_dir
);
23
~Xio_dir
();
24
void
analyze ();
25
void
analyze_recursive (std::string dir);
26
Xio_patient
* add_patient_dir (std::string dir);
27
int
num_patients ()
const
;
28
public
:
29
static
int
is_xio_patient_dir (std::string dir);
30
static
int
is_xio_studyset_dir (std::string dir);
31
static
int
is_xio_plan_dir (
const
std::string& dir);
32
};
33
34
PLMBASE_API
int
xio_dir_num_patients
(
Xio_dir
*
xd
);
35
36
PLMBASE_API
std::string
37
xio_plan_dir_get_studyset_dir
(
const
std::string&
xtpd
);
38
39
#endif
Point
Definition
pointset.h:15
Xio_dir
Definition
xio_dir.h:17
Xio_dir::patient_dir
std::vector< Xio_patient * > patient_dir
Definition
xio_dir.h:20
Xio_dir::path
std::string path
Definition
xio_dir.h:19
Xio_patient
Definition
xio_patient.h:12
plmbase_config.h
PLMBASE_API
#define PLMBASE_API
Definition
plmbase_config.h:19
xio_dir_num_patients
int xio_dir_num_patients(Xio_dir *xd)
xio_plan_dir_get_studyset_dir
std::string xio_plan_dir_get_studyset_dir(const std::string &xtpd)
Definition
xio_dir.cxx:192
Generated on Thu Apr 11 2024 17:38:23 for plastimatch by
1.9.8