Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
Pixel value.
Definition GuiTypes.h:40
int Int_t
Definition RtypesCore.h:45
double Double_t
Definition RtypesCore.h:59
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
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...
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition TGComboBox.h:47
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
A composite frame that layout their children in vertical way.
Definition TGFrame.h:375
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41