Difference between revisions of "Developer Meetings/20130122"

From Slicer Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 10: Line 10:
 
** A personalized setting for antialiasing or number of triangles could be appropriate. I could also try the settings on the graphic card, but don't think will work.
 
** A personalized setting for antialiasing or number of triangles could be appropriate. I could also try the settings on the graphic card, but don't think will work.
 
** By the way, can I change tube thickness? I searched for this setting without success.
 
** By the way, can I change tube thickness? I searched for this setting without success.
 +
* Auto Apply CLI - J2
 +
** Is it ok if I add a checkbox in the Apply button of the CLI. If checked, the Apply button stays down on click, then anytime the input is modified, the CLI is run again (with some timer to make sure it's not run all the time).
  
 
== Conclusion ==
 
== Conclusion ==
Line 16: Line 18:
 
* OpenSuse build issue
 
* OpenSuse build issue
 
** Sankhesh couldn't reproduce the issue in a virtual box. This would be re-addressed later.
 
** Sankhesh couldn't reproduce the issue in a virtual box. This would be re-addressed later.
 +
** Shireen was building as root and an error copying the python library was occuring. See below. We advice her to re-start a build as a non-root user.
 +
<pre>
 +
fi
 +
(cd /scratch/SLICER-BUILD/python-build/bin; ln python2.6 python)
 +
rm -f /scratch/SLICER-BUILD/python-build/bin/python-config
 +
(cd /scratch/SLICER-BUILD/python-build/bin; ln -s python2.6-config python-config)
 +
/usr/bin/install -c -m 644 ./Misc/python.man \
 +
        /scratch/SLICER-BUILD/python-build/share/man/man1/python.1
 +
/scratch/SLICER-BUILD/python-build/bin/python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
 +
</pre>
 
* Discussed Pre/Post multiplication with Sankhesh, Alex and Steve
 
* Discussed Pre/Post multiplication with Sankhesh, Alex and Steve
 
** Steve: Sliders in the transform modules allow to perform operation on the transform matrix and don't especially represent the current state of the matrix.
 
** Steve: Sliders in the transform modules allow to perform operation on the transform matrix and don't especially represent the current state of the matrix.
* Discuss anti-aliasing issue
+
* Discussed anti-aliasing issue
 
** Failed to set the AA at runtime using python.
 
** Failed to set the AA at runtime using python.
 
** See http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html#ab65de98e425838230cbd5760bcda4457
 
** See http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html#ab65de98e425838230cbd5760bcda4457
 +
To reproduce in slicer python console:
 +
<pre>
 +
>>> lm = slicer.app.layoutManager()
 +
>>> w = lm.threeDWidget(0)
 +
>>> v = w.threeDView()
 +
>>> rw = v.renderWindow()
 +
>>> rw.SetAAFrames(5)
 +
</pre>
 
* Icon for the launcher
 
* Icon for the launcher
** Talk to Chris so that he can work on issue.
+
** Talk to Chris so that he can work on issue. See http://www.na-mic.org/Bug/view.php?id=1376
 
* Tube thickness for tractography added as a feature request http://na-mic.org/Bug/view.php?id=2880
 
* Tube thickness for tractography added as a feature request http://na-mic.org/Bug/view.php?id=2880

Latest revision as of 22:57, 22 January 2013

Home < Developer Meetings < 20130122

To discuss

  • Displayable Manager architecture with Laurent Chauvin - See http://slicer-devel.65872.n3.nabble.com/LightBoxManagerProxy-tp4027181p4027191.html
  • Build issue on OpenSuse with Shireen Elhabian - See http://slicer-devel.65872.n3.nabble.com/Building-Slicer-on-OpenSUSE-tt4027139.html
  • Transformation matrix pre-multiply vs post-multiply issue (ask Alex Yarmarkovich) - See http://na-mic.org/Mantis/view.php?id=2579
  • ITKv4 builds
    • Windows: illegal parameter from the moc.exe call. Jc: -I is a parameter of moc executable. We would need to pass all parameter through a file.
    • MacOsx: dcmtk link error
  • Questions/Issues from Dorian P
    • I am using Win7 x64 and Slicer 4.2.2-1 r21513. The icon on the program menu is the default when a new program is compiled. While Slicer 3 has its own icon.
    • A personalized setting for antialiasing or number of triangles could be appropriate. I could also try the settings on the graphic card, but don't think will work.
    • By the way, can I change tube thickness? I searched for this setting without success.
  • Auto Apply CLI - J2
    • Is it ok if I add a checkbox in the Apply button of the CLI. If checked, the Apply button stays down on click, then anytime the input is modified, the CLI is run again (with some timer to make sure it's not run all the time).

Conclusion

  • Described the DisplayableManager architecture to Laurent
    • To be able to implement what Laurent would like to do, re-using the ruler annotation would be the way to go. Nicole and Julien discussed what could the approach and the amount of worked required to enable the ruler. See vtkMRMLAnnotationDisplayableManager.cxx line 694
  • OpenSuse build issue
    • Sankhesh couldn't reproduce the issue in a virtual box. This would be re-addressed later.
    • Shireen was building as root and an error copying the python library was occuring. See below. We advice her to re-start a build as a non-root user.
fi
(cd /scratch/SLICER-BUILD/python-build/bin; ln python2.6 python)
rm -f /scratch/SLICER-BUILD/python-build/bin/python-config
(cd /scratch/SLICER-BUILD/python-build/bin; ln -s python2.6-config python-config)
/usr/bin/install -c -m 644 ./Misc/python.man \
        /scratch/SLICER-BUILD/python-build/share/man/man1/python.1
/scratch/SLICER-BUILD/python-build/bin/python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory

To reproduce in slicer python console:

>>> lm = slicer.app.layoutManager()
>>> w = lm.threeDWidget(0)
>>> v = w.threeDView()
>>> rw = v.renderWindow()
>>> rw.SetAAFrames(5)