Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
overlay_palette.C
Go to the documentation of this file.
1/// \file
2/// \ingroup tutorial_eve
3///
4/// \macro_code
5///
6/// \author Matevz Tadel
7
8void overlay_palette()
9{
11 auto p = new TEveRGBAPalette(0, 100);
12 auto po = new TEveRGBAPaletteOverlay(p, 0.55, 0.1, 0.4, 0.05);
13 auto v = gEve->GetDefaultGLViewer();
15}
R__EXTERN TEveManager * gEve
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
Description of TEveRGBAPaletteOverlay.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
virtual void AddOverlayElement(TGLOverlayElement *el)
Add overlay element.