]> Creatis software - clitk.git/commitdiff
Correct false depth for contour
authorDavid Sarrut <david.sarrut@gmail.com>
Thu, 14 Jun 2012 13:34:35 +0000 (15:34 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Thu, 14 Jun 2012 13:34:35 +0000 (15:34 +0200)
vv/vvImageContour.cxx

index 813624892fbe72bd12b8cb1415ccc4609cfa5af4..aa7b8d7c852e37dfe0c757faa6c136a256840c29 100644 (file)
@@ -154,10 +154,9 @@ void vvImageContour::ShowActors() {
 //------------------------------------------------------------------------------
 void vvImageContour::SetDepth(double d) 
 { 
-  mDepth = d+0.5; // FIXME to not be equal to overlay 
   // Move the actor to be visible
   double position[3] = {0, 0, 0};
- int orientation = ComputeCurrentOrientation();
 int orientation = ComputeCurrentOrientation();
   position[orientation] = -mDepth;
 
   for(unsigned int i=0; i<mSquaresActorList.size(); i++)