//--------------------------------------------------------------------
+//--------------------------------------------------------------------
+void clitk::DicomRT_ROI::SetDisplayColor(double r, double v, double b) {
+ mColor.resize(3);
+ mColor[0] = r;
+ mColor[1] = v;
+ mColor[2] = b;
+}
+//--------------------------------------------------------------------
+
+
//--------------------------------------------------------------------
int clitk::DicomRT_ROI::GetROINumber() const {
return mNumber;
}
//--------------------------------------------------------------------
-
//--------------------------------------------------------------------
void clitk::DicomRT_ROI::Print(std::ostream & os) const {
//--------------------------------------------------------------------
+//--------------------------------------------------------------------
+void clitk::DicomRT_ROI::SetBackgroundValueLabelImage(double bg){
+ mBackgroundValue = bg;
+}
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+double clitk::DicomRT_ROI::GetBackgroundValueLabelImage() const {
+ return mBackgroundValue;
+}
+//--------------------------------------------------------------------
+
+
//--------------------------------------------------------------------
void clitk::DicomRT_ROI::Read(std::map<int, std::string> & rois, gdcm::SQItem * item) {