Commit 6764eed4b433be50d6bbb04007dbeea9735ce82b

Authored by Paulo Henrique Junqueira Amorim
1 parent 5b2a66a5

ENH: Disabled InVesalius 3.b2 option to surface generation

invesalius/gui/dialogs.py
... ... @@ -917,8 +917,7 @@ class SurfaceDialog(wx.Dialog):
917 917 btn_sizer.AddButton(btn_cancel)
918 918 btn_sizer.Realize()
919 919  
920   - self.alg_types = {0: u'Context aware smoothing', 1: u'Binary',
921   - 2: u'InVesalius 3.b2'}
  920 + self.alg_types = {0: u'Context aware smoothing', 1: u'Binary'}#,2: u'InVesalius 3.b2'}
922 921 self.cb_types = wx.ComboBox(self, -1, self.alg_types[0],
923 922 choices=[self.alg_types[i] for i in sorted(self.alg_types)],
924 923 style=wx.CB_READONLY)
... ...
invesalius/gui/widgets/slice_menu.py
... ... @@ -103,7 +103,7 @@ class SliceMenu(wx.Menu):
103 103 # Add sub itens in the menu
104 104 self.AppendMenu(-1, _("Window Width and Level"), submenu_wl)
105 105 self.AppendMenu(-1, _("Pseudo Colour"), submenu_pseudo_colours)
106   - self.AppendMenu(-1, _("Image Tiling"), submenu_image_tiling)
  106 + ###self.AppendMenu(-1, _("Image Tiling"), submenu_image_tiling)
107 107  
108 108 # It doesn't work in Linux
109 109 self.Bind(wx.EVT_MENU, self.OnPopup)
... ...
invesalius/net/dicom.py
... ... @@ -172,22 +172,24 @@ class DicomNet:
172 172 const char *call=NULL,
173 173 const char *outputdir=NULL)"""
174 174  
  175 + print ">>>>>", self.address, int(self.port), theQuery, 11112, self.aetitle,\
  176 + self.aetitle_call, "/home/phamorim/Desktop/output/"
175 177  
176 178  
177   - cnf.CMove(self.address, int(self.port), theQuery, 11113, self.aetitle,\
178   - self.aetitle_call, "/home/phamorim/Desktop/output/")
  179 + cnf.CMove(self.address, int(self.port), theQuery, 11112, self.aetitle,\
  180 + self.aetitle_call, "/home/phamorim/Desktop/")
179 181  
  182 + print "BAIXOUUUUUUUU"
  183 + #ret = gdcm.DataSetArrayType()
180 184  
181   - ret = gdcm.DataSetArrayType()
182   -
183   - cnf.CFind(self.address, int(self.port), theQuery, ret, self.aetitle,\
184   - self.aetitle_call)
  185 + #cnf.CFind(self.address, int(self.port), theQuery, ret, self.aetitle,\
  186 + # self.aetitle_call)
185 187  
186   - print "aetitle",self.aetitle
187   - print "call",self.aetitle_call
188   - print "Baixados..........."
  188 + #print "aetitle",self.aetitle
  189 + #print "call",self.aetitle_call
  190 + #print "Baixados..........."
189 191  
190 192  
191   - for r in ret:
192   - print r
193   - print "\n"
  193 + #for r in ret:
  194 + # print r
  195 + # print "\n"
... ...
invesalius/utils.py
... ... @@ -220,7 +220,6 @@ def predict_memory(nfiles, x, y, p):
220 220 if (platform.architecture()[0] == '32bit'):
221 221 #(314859200 = 300 MB)
222 222 #(26999999 = 25 MB)
223   -
224 223 #case occupy more than 300 MB image is reduced to 1.5,
225 224 #and 25 MB each image is resized 0.04.
226 225 if (m >= 314859200):
... ...