]> Creatis software - clitk.git/blobdiff - vv/vvROIActor.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvROIActor.h
index 42182cbb11ee1314fb56122fc18281460346912a..799d339288fa52e82e0b9a2178f71d45a833bc58 100644 (file)
@@ -22,7 +22,9 @@
 #include "vvBinaryImageOverlayActor.h"
 #include "vvImageContour.h"
 #include "clitkDicomRT_ROI.h"
+
 #include <QObject>
+#include <QSharedPointer>
 
 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<double> & GetContourColor();
+  std::vector<double> & GetContourColor();  
+  void SetOverlayColor(double r, double v, double b);
+  std::vector<double> & GetOverlayColor();
   void SetBGMode(bool b) { m_modeBG = b; }
   void SetDepth(double d);
   double GetDepth() { return mDepth; }
+  void CopyParameters(QSharedPointer<vvROIActor> 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<vvImageContour::Pointer> mImageContour;
   std::vector< vvBinaryImageOverlayActor::Pointer > mOverlayActors;
-  
+
   bool mIsVisible;
   bool mIsContourVisible;
   double mOpacity;