X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvROIActor.h;h=799d339288fa52e82e0b9a2178f71d45a833bc58;hb=HEAD;hp=42182cbb11ee1314fb56122fc18281460346912a;hpb=4efd93f02e07c2d8fe45f29f9579cabe27a93c1a;p=clitk.git diff --git a/vv/vvROIActor.h b/vv/vvROIActor.h index 42182cb..799d339 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,13 +51,17 @@ 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); + void UpdateSlice(int slicer, int slices, int force=0); void UpdateColor(); void UpdateImage(); @@ -64,7 +70,7 @@ public slots: vvSlicerManager * mSlicerManager; std::vector mImageContour; std::vector< vvBinaryImageOverlayActor::Pointer > mOverlayActors; - + bool mIsVisible; bool mIsContourVisible; double mOpacity;