Dear rooters,
in TCanvas showing a 3D geometry I can right click and choose to show axes. And in openGL viewer I can use the side panel to show axes. Is it possible to set this as default in source code?
Cheers, Jing
Dear rooters,
in TCanvas showing a 3D geometry I can right click and choose to show axes. And in openGL viewer I can use the side panel to show axes. Is it possible to set this as default in source code?
Cheers, Jing
[quote=“jingliu”]Dear rooters,
Is it possible to set this as default in source code?
Cheers, Jing[/quote]
Tomorrow, somebody else will ask us to switch them off by default.
[quote=“tpochep”]
Tomorrow, somebody else will ask us to switch them off by default.[/quote]
Sorry, but this is not what I mean.
I just want to know how to set it on in source code (not from side panel or right click). I would like to set it on as default for my own GUI, NOT for ROOT.
Cheers, Jing
[quote=“jingliu”][quote=“tpochep”]
Tomorrow, somebody else will ask us to switch them off by default.[/quote]
Sorry, but this is not what I mean.
Cheers, Jing[/quote]
I’m also sorry, your message was a bit ambiguous. I’m not sure, may be TGLViewer::SetGuideState can help? It’s public.
[quote=“tpochep”]
may be TGLViewer::SetGuideState can help? It’s public.[/quote]
Yes, that works for me.
Thank you, Jing