Logo ROOT   6.14/05
Reference Guide
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 
8 void overlay_palette()
9 {
11 
12  TEveRGBAPalette *p = new TEveRGBAPalette(0, 100);
13  TEveRGBAPaletteOverlay *po = new TEveRGBAPaletteOverlay(p, 0.55, 0.1, 0.4, 0.05);
14 
16  v->AddOverlayElement(po);
17 }
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Description of TEveRGBAPaletteOverlay.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
SVector< double, 2 > v
Definition: Dict.h:5
R__EXTERN TEveManager * gEve
Definition: TEveManager.h:243
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Definition: TGLViewer.h:53
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
virtual void AddOverlayElement(TGLOverlayElement *el)
Add overlay element.