Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveRGBAPaletteOverlay.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Alja Mrak Tadel 2012
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveRGBAPaletteOverlay
13#define ROOT_TEveRGBAPaletteOverlay
14
15#include "TAxis.h"
16#include "TGLOverlay.h"
17#include "TGLAxisPainter.h"
18
19class TEveRGBAPalette;
20
22{
23private:
26
27protected:
31
32 Float_t fPosX; // x position
33 Float_t fPosY; // y position
34 Float_t fWidth; // width
35 Float_t fHeight; // height
36
37public:
39 Float_t width, Float_t height);
41
42 virtual void Render(TGLRnrCtx& rnrCtx);
43
44 TAxis& RefAxis() { return fAxis; }
46
47
49 void SetSize(Float_t w, Float_t h) { fWidth = w; fHeight = h; }
50
51 ClassDef(TEveRGBAPaletteOverlay, 0); // Draws TEveRGBAPalette as GL overlay.
52};
53
54#endif
#define h(i)
Definition RSha256.hxx:106
float Float_t
Definition RtypesCore.h:57
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
Class to manage histogram axis.
Definition TAxis.h:30
Description of TEveRGBAPaletteOverlay.
void SetSize(Float_t w, Float_t h)
TEveRGBAPaletteOverlay(const TEveRGBAPaletteOverlay &)
TEveRGBAPaletteOverlay & operator=(const TEveRGBAPaletteOverlay &)
TGLAxisPainter & RefAxisPainter()
void SetPosition(Float_t x, Float_t y)
virtual void Render(TGLRnrCtx &rnrCtx)
Render the overlay.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
An overlay element.
Definition TGLOverlay.h:23
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition TGLRnrCtx.h:41
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17