Source visualization#1031
Conversation
…arameters instead of a visualize function
|
Hello @tontyoutoure Thank you for your contribution, it's very helpful. I modify a little bit to be able to call the visualization parameters in the way than the other parameters. I let you check the commit and resolve the conflict. |
|
@tbaudier currently all sources will be defaultly visualized with |
|
Very good, thanks @tontyoutoure !
|
|
@dsarrut I'm not sure moving |
|
@dsarrut I'm sure this don't work under vrml: However I cannot make gdml visualization work on my machine, not even test004_simple_visu_gdml.py, only result in SegFault. Can you test it with test010_generic_source_visu.py? |

Currently it's only working for generic source and it's derived classes, since the GateVSource does not provide methods to generate position sampling.
Docs and tests are also included.