From: David Sarrut Date: Fri, 30 Mar 2012 13:17:18 +0000 (+0200) Subject: Add accessors for colors X-Git-Tag: v1.3.0~52^2~14 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=16f377efcafff2754aba867948bea16b07d088b2;p=clitk.git Add accessors for colors --- diff --git a/vv/vvROIActor.h b/vv/vvROIActor.h index 42182cb..5a54ade 100644 --- a/vv/vvROIActor.h +++ b/vv/vvROIActor.h @@ -22,7 +22,9 @@ #include "vvBinaryImageOverlayActor.h" #include "vvImageContour.h" #include "clitkDicomRT_ROI.h" + #include +#include class vvSlicerManager; class vtkActor; @@ -49,10 +51,14 @@ class vvROIActor: public QObject { void SetContourWidth(int n); int GetContourWidth() { return mContourWidth; } void SetContourColor(double r, double v, double b); - std::vector & GetContourColor(); + std::vector & GetContourColor(); + void SetOverlayColor(double r, double v, double b); + std::vector & GetOverlayColor(); void SetBGMode(bool b) { m_modeBG = b; } void SetDepth(double d); double GetDepth() { return mDepth; } + void CopyParameters(QSharedPointer roi); + void RemoveActors(); public slots: void UpdateSlice(int slicer, int slices, bool force=false);