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