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
float
rsp_value
;
21
public
:
22
Rtss_roi
();
23
~Rtss_roi
();
24
25
void
clear ();
26
Rtss_contour
* add_polyline ();
27
Rtss_contour
* add_polyline (
size_t
num_vertices);
28
void
set_color (
const
char
* color_string);
29
std::string get_dcm_color_string ()
const
;
30
void
get_rgb (
int
*r,
int
*g,
int
*b)
const
;
31
32
static
std::string adjust_name (
const
std::string& name_in);
33
};
34
35
36
#endif
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::rsp_value
float rsp_value
Definition
rtss_roi.h:20
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 Wed Oct 30 2024 14:54:42 for plastimatch by
1.11.0