Commit 2f15c511997a40a9c486ab4d11435f039c14df36

Authored by tfmoraes
1 parent 84aac26b

ENH: The slices are interpolated now

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -1292,7 +1292,9 @@ class Viewer(wx.Panel):
1292 1292 self.interactor.GetRenderWindow().AddRenderer(renderer)
1293 1293  
1294 1294 actor = vtk.vtkImageActor()
1295   - actor.InterpolateOff()
  1295 + # TODO: Create a option to let the user set if he wants to interpolate
  1296 + # the slice images.
  1297 + #actor.InterpolateOff()
1296 1298 slice_data = sd.SliceData()
1297 1299 slice_data.SetOrientation(self.orientation)
1298 1300 slice_data.renderer = renderer
... ...