]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkTemporalPicker.cxx
BUG 1546 Temporary Picker Sync
[bbtk.git] / packages / vtk / src / bbvtkTemporalPicker.cxx
index a5af484804c25a75a32085755328035a8f7b92d3..933e2b2ca78d4d27b7016d4c1eba28f32a528203 100644 (file)
@@ -40,7 +40,9 @@ void TemporalPicker::Process()
                if (bbGetInputPoint().size()>=2)
                {
                        int px=bbGetInputPoint()[0];
-                       int py=bbGetInputPoint()[1]; 
+                       int py=bbGetInputPoint()[1];
+                       int pz=bbGetInputPoint()[2];
+                       
                        if ((px>=0) && (px<sizeX)  && (py>=0) && (py<sizeY) )
                        {
                                int i,j,k;
@@ -75,14 +77,13 @@ void TemporalPicker::Process()
                                        
                                } // for k
                        } // px py
-                       
                } else {// bbGetInputPoint
                        printf("ERROR:  Input:Point is not good defined in TemporalPicker Box..\n ");
                } // bbGetInputPoint
        } else {// bbGetInputIn
                printf("ERROR:  Missing Input:In vtkImageData* in TemporalPicker Box..\n ");
        } // bbGetInputIn
-               
+
        bbSetOutputOut(result);
 }
 //=====