[Gate-users] [Gate-devel] [NEED TESTERS] View CT image with OpenGL within GATE

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Fri Feb 21 08:57:54 CET 2014


Hello Jérôme,

this is a first feedback with all mailing lists in copy to let everybody
know, but we will then continue to discuss some technical points privately.

First, it works well and will be very useful to lot of users, thanks really
a lot ! As an example, here are a screenshots of a proton treatment plan
(with only 10 protons). With the QT interface, we can then easily rotate
all the scene and look what append. This feature will surely be included in
the next version as it will allow users to easily check the orientation of
their image in the scene.

Here are below a couple of technical details which should however be
addressed before, and we can work together on that :

- first it only works with G4 9.6 version ; not with 9.5. It also has some
trouble with version 10.0, but it is maybe not related to the
visualisation.

- I tested on Linux, work perfectly

- I only tried with the QT version ; a weak point is that it is not
possible to start the simulation from the command line. We need first to
start "Gate --qt" than type "/control/execute mymacro.mac" into the gui. It
should be more efficient if one only has to enter "Gate mymacro.mac" and
the gui+simulation start together.

- what does : "/gate/image/vis/forceWireframe" ? is it needed ?

- what does : "/vis/drawVolume" ?

thanks again Jérome,
David



On Mon, Feb 17, 2014 at 6:31 PM, Jérôme Suhard <jerome at suhard.fr> wrote:

> Dears users,
>
> * are you using CT images with ImageNestedParametrisedVolume ?
> * do you would like to see them within GATE with OpenGL ?
> * do you know how to compile GATE ?
>
> If you have answered YES to all of these questions, I would like that you
> take some time to try an experimental feature: image display with axial,
> sagittal and coronal planes in OpenGL. A screenshot of a mouse example is
> attached (opengl.gif).
>
> == Instructions ==
> Fetch up-to-date sources:
> $ git clone http://git.opengatecollaboration.org/git/opengate-public.git-b opengl-image /path/to/your/working/directory/
> Compile GATE as usual with the source dir from git:
> $ cmake -DGeant4_DIR= .... /path/to/your/working/directory/
>
> At this point, if it doesn't compile for you :-(, drop me an email with
> platform informations and full log attached.
>
> == Utilisation ==
> Modify the image path for a CT of your choice in attached macro
> minimal.mac and launch Gate
> . You should obtain similar thing like minimal.jpeg.
>
> == Caveats ==
> Only tested on Mac OS 10.9 : Linux feedbacks are appreciated,
> Only tested with Qt 4.8 but should work with X11,
> Only works with Immediate OpenGL mode: /vis/open OGLI, not OGL nor OGLS,
> Comes from the ongoing develop version of Gate so things can be broken.
>
>
>
> If you have some feedbacks/questions, don't hesitate.
>
> Thank you for your participation.
>
> Best regards,
> --
> Jérôme Suhard
>
> _______________________________________________
> Gate-devel mailing list
> Gate-devel at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-devel
>



-- 
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140221/8ca8464d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sc2.png
Type: image/png
Size: 110054 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140221/8ca8464d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sc1.png
Type: image/png
Size: 125350 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140221/8ca8464d/attachment-0003.png>


More information about the Gate-users mailing list