Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
#ifndef VVROIACTOR_H
#define VVROIACTOR_H
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 SetContourColor(double r, double v, double b);
std::vector<double> & GetContourColor();
void SetBGMode(bool b) { m_modeBG = b; }
+ void SetDepth(double d);
+ double GetDepth() { return mDepth; }
public slots:
- void UpdateSlice(int slicer, int slices);
+ void UpdateSlice(int slicer, int slices, bool force=false);
void UpdateColor();
void UpdateImage();
int mContourWidth;
std::vector<double> mContourColor;
bool m_modeBG;
+ double mDepth;
}; // end class vvROIActor
//------------------------------------------------------------------------------