]> Creatis software - clitk.git/blobdiff - vv/vvImageContour.cxx
Merge branch 'master' of git.creatis.insa-lyon.fr:clitk
[clitk.git] / vv / vvImageContour.cxx
index e89f84be3a1a2779e42963e2ef6781cf7d40c2a4..4fecf93e9371f52703dfc9634899547f74965f11 100644 (file)
@@ -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; i<mSquaresActorList.size(); i++)
+  for(unsigned int i=0; i<mSquaresActorList.size(); i++)
     mSquaresActorList[i]->SetPosition(position);
 }
 //------------------------------------------------------------------------------