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