Logo ROOT  
Reference Guide
TEveRGBAPaletteEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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_TEveRGBAPaletteEditor
13#define ROOT_TEveRGBAPaletteEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGColorSelect;
19class TGComboBox;
20
21class TEveRGBAPalette;
22class TEveGValuator;
24
26{
27private:
30
31protected:
33
38
42
47
48public:
51
53
54 void Changed(); //*SIGNAL*
55
56 void DoMinMax();
57
58 void DoInterpolate();
59 void DoShowDefValue();
60 void DoDefaultColor(Pixel_t color);
61 void DoFixColorRange();
62 void DoUnderColor(Pixel_t color);
63 void DoOverColor(Pixel_t color);
64 void DoUnderflowAction(Int_t mode);
65 void DoOverflowAction(Int_t mode);
66
67 ClassDef(TEveRGBAPaletteSubEditor, 0); // Sub-editor for TEveRGBAPalette class.
68};
69
70
71/******************************************************************************/
72/******************************************************************************/
73
75{
76private:
77 TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor&); // Not implemented
79
80protected:
83
84public:
87
88 virtual void SetModel(TObject* obj);
89
90 ClassDef(TEveRGBAPaletteEditor, 0); // Editor for TEveRGBAPalette class.
91};
92
93#endif
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:43
double Double_t
Definition: RtypesCore.h:57
#define ClassDef(name, id)
Definition: Rtypes.h:322
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
Composite GUI element for selection of range (label, two number-entries and double-slider).
Composite GUI element for single value selection (supports label, number-entry and slider).
Editor for TEveRGBAPalette class.
TEveRGBAPaletteEditor & operator=(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteSubEditor * fSE
virtual void SetModel(TObject *obj)
Set model object.
Sub-editor for TEveRGBAPalette class.
void DoUnderflowAction(Int_t mode)
Slot for UnderflowAction.
void DoUnderColor(Pixel_t color)
Slot for UnderColor.
void DoFixColorRange()
Slot for FixColorRange.
void DoOverColor(Pixel_t color)
Slot for OverColor.
void DoShowDefValue()
Slot for ShowDefValue.
void DoDefaultColor(Pixel_t color)
Slot for DefaultColor.
TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor &)
void DoOverflowAction(Int_t mode)
Slot for OverflowAction.
void DoInterpolate()
Slot for Interpolate.
void Changed()
Emit "Changed()" signal.
TEveGDoubleValuator * fMinMax
void DoMinMax()
Slot for MinMax.
TEveRGBAPaletteSubEditor & operator=(const TEveRGBAPaletteSubEditor &)
void SetModel(TEveRGBAPalette *p)
Set model object.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:667
Mother of all ROOT objects.
Definition: TObject.h:37