X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.cxx;h=4fecf93e9371f52703dfc9634899547f74965f11;hb=0c56fa9705f9abdc98db8e0da1933ad3e5a3e192;hp=e89f84be3a1a2779e42963e2ef6781cf7d40c2a4;hpb=7710267bd8a9764984655596ff14307b4a8a9884;p=clitk.git diff --git a/vv/vvImageContour.cxx b/vv/vvImageContour.cxx index e89f84b..4fecf93 100644 --- a/vv/vvImageContour.cxx +++ b/vv/vvImageContour.cxx @@ -154,13 +154,13 @@ void vvImageContour::ShowActors() { //------------------------------------------------------------------------------ void vvImageContour::SetDepth(double d) { - mDepth = d+0.5; // FIXME to not be equal to overlay + mDepth = d; // Move the actor to be visible double position[3] = {0, 0, 0}; - int orientation = ComputeCurrentOrientation(); + int orientation = ComputeCurrentOrientation(); position[orientation] = -mDepth; - for(uint i=0; iSetPosition(position); } //------------------------------------------------------------------------------