diff --git a/invesalius/data/editor.py b/invesalius/data/editor.py index bd73121..d147976 100644 --- a/invesalius/data/editor.py +++ b/invesalius/data/editor.py @@ -117,9 +117,7 @@ class Editor: # a = (int(self.txtThresI.GetValue()), int(self.txtThresF.GetValue())) # self.editor.SetOperationType(op, a) wx, wy, wz = self.From3dToImagePixel(pos, (x, y, z)) - print "Comecei" self.DoOperation(wx, wy, wz) - print "Terminei" Publisher.sendMessage('Update images', self.image) Publisher.sendMessage('Update viewer', None) @@ -135,7 +133,6 @@ class Editor: """ x, y, z = pPos bounds = self.actor.GetBounds() - print bounds #c = vtk.vtkCoordinate() #c.SetCoordinateSystemToWorld() @@ -228,15 +225,11 @@ class Editor: cursor = self.cursor b = [0,0,0,0,0,0] self.actor.GetDisplayBounds(b) - print "To Paint", xc, yc, zc - print "Bounds", b - print "dimensions", self.image.GetDimensions() xs, ys, zs = self.image.GetSpacing() try: zs = (b[-1]-b[-2]) / self.image.GetDimensions()[2] except ZeroDivisionError: pass - print xs, ys, zs if self.orientation == AXIAL: o = lambda x, y: (xc + x, y + yc, zc) elif self.orientation == CORONAL: diff --git a/invesalius/data/orientation.py b/invesalius/data/orientation.py index 850306f..3bcb35f 100644 --- a/invesalius/data/orientation.py +++ b/invesalius/data/orientation.py @@ -34,7 +34,6 @@ class Orientation(object): extent = self.image.GetWholeExtent() if orientation == AXIAL: - print "AXIAL" cam.SetFocalPoint(0, 0, 0) cam.SetPosition(0, 0, 1) cam.ComputeViewPlaneNormal() @@ -44,7 +43,6 @@ class Orientation(object): ys = extent[3] - extent[2] + 1 elif orientation == CORONAL: - print "Coronal" cam.SetFocalPoint(0, 0, 0) cam.SetPosition(0, -1, 0) cam.ComputeViewPlaneNormal() @@ -54,7 +52,6 @@ class Orientation(object): ys = extent[5] - extent[4] + 1 elif orientation == SAGITAL: - print "Sagital" cam.SetFocalPoint(0, 0, 0) cam.SetPosition(1, 0, 0) cam.ComputeViewPlaneNormal() diff --git a/invesalius/data/volume_widgets.py b/invesalius/data/volume_widgets.py index c1fd73a..651d032 100644 --- a/invesalius/data/volume_widgets.py +++ b/invesalius/data/volume_widgets.py @@ -65,7 +65,7 @@ class Plane(): else: self.Update() if self.widget.GetEnabled(): - print "send signal - update slice info in panel and in 2d" + print("send signal - update slice info in panel and in 2d") def SetInput(self, imagedata): -- libgit2 0.21.2