plastimatch
Loading...
Searching...
No Matches
src
base
rtss_roi.h
Go to the documentation of this file.
1
/* -----------------------------------------------------------------------
2
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3
----------------------------------------------------------------------- */
4
#ifndef _rtss_roi_h_
5
#define _rtss_roi_h_
6
7
#include "
plmbase_config.h
"
8
#include <string>
9
10
class
Rtss_contour
;
11
12
class
PLMBASE_API
Rtss_roi
{
13
public
:
14
std::string
name
;
15
std::string
color
;
16
int
id
;
/* Used for import/export (must be >= 1) */
17
int
bit
;
/* Used for ss-img (-1 for no bit) */
18
size_t
num_contours
;
19
Rtss_contour
**
pslist
;
20
public
:
21
Rtss_roi
();
22
~Rtss_roi
();
23
24
void
clear ();
25
Rtss_contour
* add_polyline ();
26
Rtss_contour
* add_polyline (
size_t
num_vertices);
27
void
set_color (
const
char
*
color_string
);
28
std::string get_dcm_color_string ()
const
;
29
void
get_rgb (
int
*
r
,
int
*
g
,
int
*
b
)
const
;
30
31
static
std::string adjust_name (
const
std::string&
name_in
);
32
};
33
34
35
#endif
Point
Definition
pointset.h:15
Rtss_contour
Definition
rtss_contour.h:10
Rtss_roi
Definition
rtss_roi.h:12
Rtss_roi::pslist
Rtss_contour ** pslist
Definition
rtss_roi.h:19
Rtss_roi::num_contours
size_t num_contours
Definition
rtss_roi.h:18
Rtss_roi::bit
int bit
Definition
rtss_roi.h:17
Rtss_roi::id
int id
Definition
rtss_roi.h:16
Rtss_roi::color
std::string color
Definition
rtss_roi.h:15
Rtss_roi::name
std::string name
Definition
rtss_roi.h:14
plmbase_config.h
PLMBASE_API
#define PLMBASE_API
Definition
plmbase_config.h:19
Generated on Thu Apr 11 2024 17:38:23 for plastimatch by
1.9.8