Commit 8dd10d55bd640b48ac19b44d5d8eb7abb0f3e5b2

Authored by tatiana
1 parent 1e9ebddd

ADD: InVesalius 3 sample file

.gitattributes
@@ -245,3 +245,4 @@ presets/raycasting/color_list/VR[!!-~]Muscles-Bones.plist -text @@ -245,3 +245,4 @@ presets/raycasting/color_list/VR[!!-~]Muscles-Bones.plist -text
245 presets/raycasting/color_list/VR[!!-~]Red[!!-~]Vessels.plist -text 245 presets/raycasting/color_list/VR[!!-~]Red[!!-~]Vessels.plist -text
246 presets/raycasting/color_list/dicomDictionary.plist -text 246 presets/raycasting/color_list/dicomDictionary.plist -text
247 presets/raycasting/color_list/ired.plist -text 247 presets/raycasting/color_list/ired.plist -text
  248 +samples/Cranium.inv3 -text
@@ -765,7 +765,7 @@ msgstr "Conjunto de Imagens" @@ -765,7 +765,7 @@ msgstr "Conjunto de Imagens"
765 #: surface_process.py:64 surface_process.py:73 surface_process.py:86 765 #: surface_process.py:64 surface_process.py:73 surface_process.py:86
766 #: surface_process.py:96 766 #: surface_process.py:96
767 msgid "Generating 3D surface..." 767 msgid "Generating 3D surface..."
768 -msgstr "Exportando superfície 3D..." 768 +msgstr "Gerando superfície 3D..."
769 769
770 #: task_exporter.py:101 770 #: task_exporter.py:101
771 msgid "Export InVesalius screen to a image file" 771 msgid "Export InVesalius screen to a image file"
invesalius/constants.py
@@ -230,6 +230,8 @@ WINDOW_LEVEL = {_("Abdomen"):(350,50), @@ -230,6 +230,8 @@ WINDOW_LEVEL = {_("Abdomen"):(350,50),
230 REDUCE_IMAGEDATA_QUALITY = 0 230 REDUCE_IMAGEDATA_QUALITY = 0
231 231
232 ICON_DIR = os.path.abspath(os.path.join('..', 'icons')) 232 ICON_DIR = os.path.abspath(os.path.join('..', 'icons'))
  233 +SAMPLE_DIR = os.path.abspath(os.path.join('..', 'samples'))
  234 +
233 235
234 ID_TO_BMP = {VOL_FRONT: [_("Front"), os.path.join(ICON_DIR, "view_front.png")], 236 ID_TO_BMP = {VOL_FRONT: [_("Front"), os.path.join(ICON_DIR, "view_front.png")],
235 VOL_BACK: [_("Back"), os.path.join(ICON_DIR, "view_back.png")], 237 VOL_BACK: [_("Back"), os.path.join(ICON_DIR, "view_back.png")],
invesalius/session.py
@@ -14,7 +14,6 @@ class Session(object): @@ -14,7 +14,6 @@ class Session(object):
14 __metaclass__= Singleton 14 __metaclass__= Singleton
15 15
16 def __init__(self): 16 def __init__(self):
17 - # ?  
18 self.temp_item = False 17 self.temp_item = False
19 18
20 ws = self.ws = WriteSession(self) 19 ws = self.ws = WriteSession(self)
@@ -46,8 +45,8 @@ class Session(object): @@ -46,8 +45,8 @@ class Session(object):
46 self.language = "" # "pt_BR", "es" 45 self.language = "" # "pt_BR", "es"
47 46
48 # Recent projects list 47 # Recent projects list
49 - self.recent_projects = []  
50 - 48 + self.recent_projects = [(const.SAMPLE_DIR, "Cranium.inv3")]
  49 + print self.recent_projects
51 self.last_dicom_folder = '' 50 self.last_dicom_folder = ''
52 51
53 self.CreateSessionFile() 52 self.CreateSessionFile()
locale/pt_BR/LC_MESSAGES/invesalius.mo
No preview for this file type
samples/Cranium.inv3 0 → 100644
No preview for this file type