#include "vvBinaryImageOverlayActor.h"
#include "vvImageContour.h"
#include "clitkDicomRT_ROI.h"
+
#include <QObject>
+#include <QSharedPointer>
class vvSlicerManager;
class vtkActor;
void SetROI(clitk::DicomRT_ROI * r);
clitk::DicomRT_ROI * GetROI() { return mROI; }
void SetSlicerManager(vvSlicerManager * s);
- void Update();
- void Initialize(bool IsVisible=true);
+ void Update(bool force=false);
+ void Initialize(double d=1.0, bool IsVisible=true);
void SetVisible(bool b);
void SetContourVisible(bool b);
bool IsVisible();
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);
+ void UpdateSlice(int slicer, int slices, int force=0);
void UpdateColor();
void UpdateImage();
vvSlicerManager * mSlicerManager;
std::vector<vvImageContour::Pointer> mImageContour;
std::vector< vvBinaryImageOverlayActor::Pointer > mOverlayActors;
-
+
bool mIsVisible;
bool mIsContourVisible;
double mOpacity;
int mContourWidth;
std::vector<double> mContourColor;
bool m_modeBG;
+ double mDepth;
}; // end class vvROIActor
//------------------------------------------------------------------------------