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) */
20public:
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
Definition pointset.h:15
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
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