plastimatch
Loading...
Searching...
No Matches
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
10class Rtss_contour;
11
13public:
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) */
20 float rsp_value;
21public:
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
Definition rtss_contour.h:10
Definition rtss_roi.h:12
Rtss_contour ** pslist
Definition rtss_roi.h:19
size_t num_contours
Definition rtss_roi.h:18
int bit
Definition rtss_roi.h:17
float rsp_value
Definition rtss_roi.h:20
int id
Definition rtss_roi.h:16
std::string color
Definition rtss_roi.h:15
std::string name
Definition rtss_roi.h:14
#define PLMBASE_API
Definition plmbase_config.h:19