X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.cxx;h=4fecf93e9371f52703dfc9634899547f74965f11;hb=9c5f0e4d3d6b33e09d0413439ed7a867e3d85faa;hp=e89f84be3a1a2779e42963e2ef6781cf7d40c2a4;hpb=a56f215a4841302d682fba51ad71e831aa501460;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); } //------------------------------------------------------------------------------