]> Creatis software - creaMaracasVisu.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Jun 2012 03:17:09 +0000 (03:17 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Jun 2012 03:17:09 +0000 (03:17 +0000)
lib/doxygen/bouml/wxVtkViewer/wxVtkViewer/2.session
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualViewContour.cpp

index 2f49d5abbcb7d300c18d546dedf1d346cfe34a42..7ac9774d4bccb08fd84f42fa704c60e6598d4fcf 100644 (file)
@@ -1,10 +1,10 @@
 window_sizes 1396 856 303 1087 759 42
 diagrams
   active  classdiagram_ref 128002 // wxVtkViewer class Diagram 1
-    952 1238 140 4 471 241
+    952 1238 140 4 471 110
 end
 show_stereotypes
-selected class_ref 129410 // wxPanel
+selected classdiagram_ref 128002 // wxVtkViewer class Diagram 1
 open
   classview_ref 128002 // wxVtkViewer
 end
index 4fee4987fa2750e887e9c64ec022169e0a53f931..ceaa1c273084f330d85f408086d89c03301e3fa5 100644 (file)
@@ -174,7 +174,8 @@ void manualViewContour::RefreshText()  // virtual
 }
 
 // ----------------------------------------------------------------------------
-bool manualViewContour::ifTouchContour(int x,int y,int z){
+bool manualViewContour::ifTouchContour(int x,int y,int z)
+{
        bool result=false;
        double xx=x;
        double yy=y;
@@ -207,7 +208,6 @@ bool manualViewContour::ifTouchContour(int x,int y,int z){
                d2= sqrt( (ppB[0]-xx)*(ppB[0]-xx) + (ppB[1]-yy)*(ppB[1]-yy) + (ppB[2]-zz)*(ppB[2]-zz));
                d3= sqrt( (ppB[0]-ppA[0])*(ppB[0]-ppA[0]) + (ppB[1]-ppA[1])*(ppB[1]-ppA[1]) + (ppB[2]-ppA[2])*(ppB[2]-ppA[2]));
 
-
                if (  ((d1+d2)>=d3) &&  ((d1+d2)<=d3*1.3) ) 
                {
                        result=true;