Dear rooters,
is it possible to have a color palette in 3D viewer? I mean, the one you would have on the right side of a histogram if you use “z” option.
If it is not easy to have it in 3D viewer, is it possible to embedded it in GUI like a progress bar?
Or do you have any better idea to indicate different colors in a 3D viewer?
Cheers, Jing
matevz
October 26, 2010, 4:58pm
2
Dear Jing,
We don’t have it at the moment … it would be properly implemented as a TGLOverlayElement.
However, quite some time ago Alja did something very similar for ALICE, see class:
alisoft.cern.ch/viewvc/trunk/EVE … ot=AliRoot
alisoft.cern.ch/viewvc/trunk/EVE … ot=AliRoot
and in particular the function:
void AliEveITSModuleStepper::RenderPalette(TEveRGBAPalette* p);
Ideally one would also be able to drag the object around.
If you are brave, you can try implementing this class yourself
Otherwise, how soon do you need it?
Cheers,
Matevz
Dear Matevz,
Thank you for the information, I will check it.
Yes, if I have time…
There is no hurry. I just want to make sure I have not missed some function which is already there. If there isn’t I will just provide a 2D histogram with palette together with 3D display.
Cheers, Jing
matevz
October 27, 2010, 3:48pm
4
OK … I added it to my todo list, too. Let’s see who gets the time first
Cheers,
Matevz