|
plastimatch
|
The Rtss class represents a set of segmentations in polyline format, analogous to the DICOM-RT RTSTRUCT object. More...
#include <rtss.h>
Public Types | |
| typedef Rtss | Self |
| typedef std::shared_ptr< Self > | Pointer |
Public Member Functions | |
| Rtss () | |
| ~Rtss () | |
| void | init (void) |
| void | clear (void) |
| Rtss_roi * | add_structure (const std::string &structure_name, const std::string &color, int structure_id, int bit=-1) |
| void | delete_structure (int index) |
| Rtss_roi * | find_structure_by_id (int structure_id) |
| std::string | get_structure_name (size_t index) |
| void | set_structure_name (size_t index, const std::string &name) |
| void | set_structure_override (int structure_id, const float rsp_value) |
| void | debug (void) |
| void | adjust_structure_names (void) |
| void | prune_empty (void) |
| void | find_rasterization_geometry (float offset[3], float spacing[3], plm_long dims[3], Direction_cosines &dc) |
| void | find_rasterization_geometry (Plm_image_header *pih) |
| std::string | find_unused_structure_name (void) |
| void | fix_polyline_slice_numbers (void) |
| void | apply_slice_list (const Rt_study_metadata::Pointer &rsm) |
| Copy slice UIDs from referenced image into the Rtss object. | |
| void | apply_slice_list (const Slice_list *slice_list) |
| Copy slice UIDs from referenced image into the Rtss object. | |
| void | free_all_polylines (void) |
| void | keyholize (void) |
| void | set_rasterization_geometry (void) |
| void | set_geometry (const Plm_image_header *pih) |
| void | set_geometry (const Plm_image::Pointer &pli) |
Static Public Member Functions | |
| static Rtss::Pointer | New () |
| static Rtss::Pointer | New (Rtss *t) |
| template<class U1> | |
| static Rtss::Pointer | New (const U1 &u1) |
| template<class U1, class U2> | |
| static Rtss::Pointer | New (const U1 &u1, const U2 &u2) |
| template<class U1, class U2, class U3> | |
| static Rtss::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3) |
| template<class U1, class U2, class U3, class U4, class U5, class U6> | |
| static Rtss::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3, const U4 &u4, const U5 &u5, const U6 &u6) |
| static Rtss * | clone_empty (Rtss *cxt_out, Rtss *cxt_in) |
Public Attributes | |
| int | have_geometry |
| plm_long | m_dim [3] |
| float | m_spacing [3] |
| float | m_offset [3] |
| Direction_cosines | m_dc |
| plm_long | rast_dim [3] |
| float | rast_spacing [3] |
| float | rast_offset [3] |
| Direction_cosines | rast_dc |
| size_t | num_structures |
| Rtss_roi ** | slist |
The Rtss class represents a set of segmentations in polyline format, analogous to the DICOM-RT RTSTRUCT object.
| typedef std::shared_ptr<Self> Rtss::Pointer |
| typedef Rtss Rtss::Self |
| Rtss::Rtss | ( | ) |
| Rtss::~Rtss | ( | ) |
| Rtss_roi * Rtss::add_structure | ( | const std::string & | structure_name, |
| const std::string & | color, | ||
| int | structure_id, | ||
| int | bit = -1 ) |
| void Rtss::adjust_structure_names | ( | void | ) |
| void Rtss::apply_slice_list | ( | const Rt_study_metadata::Pointer & | rsm | ) |
Copy slice UIDs from referenced image into the Rtss object.
| void Rtss::apply_slice_list | ( | const Slice_list * | slice_list | ) |
Copy slice UIDs from referenced image into the Rtss object.
| void Rtss::clear | ( | void | ) |
| void Rtss::debug | ( | void | ) |
| void Rtss::delete_structure | ( | int | index | ) |
| void Rtss::find_rasterization_geometry | ( | float | offset[3], |
| float | spacing[3], | ||
| plm_long | dims[3], | ||
| Direction_cosines & | dc ) |
| void Rtss::find_rasterization_geometry | ( | Plm_image_header * | pih | ) |
| Rtss_roi * Rtss::find_structure_by_id | ( | int | structure_id | ) |
| std::string Rtss::find_unused_structure_name | ( | void | ) |
| void Rtss::fix_polyline_slice_numbers | ( | void | ) |
| void Rtss::free_all_polylines | ( | void | ) |
| std::string Rtss::get_structure_name | ( | size_t | index | ) |
| void Rtss::init | ( | void | ) |
| void Rtss::keyholize | ( | void | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void Rtss::prune_empty | ( | void | ) |
| void Rtss::set_geometry | ( | const Plm_image::Pointer & | pli | ) |
| void Rtss::set_geometry | ( | const Plm_image_header * | pih | ) |
| void Rtss::set_rasterization_geometry | ( | void | ) |
| void Rtss::set_structure_name | ( | size_t | index, |
| const std::string & | name ) |
| void Rtss::set_structure_override | ( | int | structure_id, |
| const float | rsp_value ) |
| int Rtss::have_geometry |
| Direction_cosines Rtss::m_dc |
| plm_long Rtss::m_dim[3] |
| float Rtss::m_offset[3] |
| float Rtss::m_spacing[3] |
| size_t Rtss::num_structures |
| Direction_cosines Rtss::rast_dc |
| plm_long Rtss::rast_dim[3] |
| float Rtss::rast_offset[3] |
| float Rtss::rast_spacing[3] |
| Rtss_roi** Rtss::slist |