[Gate-users] How to insert x,y,z axes

Marc Chamberland MarcChamberland at cmail.carleton.ca
Mon Feb 3 13:25:48 CET 2014


Hi Stathis,

I have no idea why your axes show up like that. Have a look at what I did:

https://www.dropbox.com/s/g5id2vtaml6i81v/gate_axes.tiff

Good luck,
Marc



__________________________

Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

On Feb 2, 2014, at 14:13, Stathis Kamperis <ekamperi at gmail.com> wrote:

> Dear Marc,
> 
> thank you for your answer.
> 
> I'm very confused as I can't get even basic stuff as axis drawing
> working. For example I use the following visualization commands:
> 
> /vis/open OGLSX
> /vis/scene/create
> /vis/scene/add/volume
> /vis/sceneHandler/attach
> /vis/viewer/set/viewpointThetaPhi 45 45
> /vis/scene/add/axes
> /vis/scene/add/text 1 0 0 m 100 0 0 X
> /vis/scene/add/text 0 1 0 m 100 0 0 Y
> /vis/scene/add/text 0 0 1 m 100 0 0 Z
> /vis/viewer/refresh
> /vis/viewer/flush
> 
> and this is what I get:
> http://dl.dropboxusercontent.com/u/25202446/opengate1.png
> 
> I must be missing something very fundamental on how geometry and
> visualization works.
> 
> Best regards,
> Stathis
> 
> 
> 
> On Sun, Feb 2, 2014 at 6:32 PM, Marc Chamberland
> <MarcChamberland at cmail.carleton.ca> wrote:
>> Hi,
>> 
>> Try the following instead:
>> 
>> /vis/scene/add/axes
>> 
>> This is from the User's guide section on visualization.
>> 
>> Cheers,
>> Marc
>> 
>> 
>> 
>> __________________________
>> 
>> Marc Chamberland, MSc
>> PhD candidate
>> Department of Physics
>> Carleton University
>> Ottawa (ON)
>> 
>> On Feb 2, 2014, at 9:12, Stathis Kamperis <ekamperi at gmail.com> wrote:
>> 
>>> Dear Gate users,
>>> 
>>> I'd like to display x,y,z axes so that I confirm my geometry. I looked
>>> up at the docs and I found:
>>> 
>>> "/gate/world/daughters/insert 3axes"
>>> 
>>> But when I actually execute the command I get:
>>> 
>>> parameter value is not listed in the candidate List.
>>> Parameter is out of candidate list (index 0)
>>> Candidates : ImageNestedParametrisedVolume ImageRegionalizedSubVolume
>>> ImageRegionalizedVolume box collimator compressedMatrix cone cylinder
>>> eltub fictitiousVoxelMap general_trpd hexagone parallelbeam
>>> parameterizedBoxMatrix regularMatrix sphere trap trpd wedge
>>> 
>>> I also found a thread from 2010:
>>> http://comments.gmane.org/gmane.comp.science.opengate.user/603
>>> 
>>> where it says that this is no longer supported and one must use 3
>>> dummy boxes. Is it true?
>>> 
>>> Best regards,
>>> Stathis
>>> _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>> 



More information about the Gate-users mailing list