Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveLineEditor.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_TEveLineEditor
13#define ROOT_TEveLineEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
21class TEveLine;
22
24{
25private:
26 TEveLineEditor(const TEveLineEditor&); // Not implemented
27 TEveLineEditor& operator=(const TEveLineEditor&); // Not implemented
28
29protected:
30 TEveLine *fM; // Model object.
31
32 TGCheckButton *fRnrLine; // Checkbox for line-rendering.
33 TGCheckButton *fRnrPoints; // Checkbox for point-rendering.
34 TGCheckButton *fSmooth; // Checkbox for line smoothing.
35
36public:
38 ~TEveLineEditor() override {}
39
40 void SetModel(TObject* obj) override;
41
42 void DoRnrLine();
43 void DoRnrPoints();
44 void DoSmooth();
45
46 ClassDefOverride(TEveLineEditor, 0); // Editor for TEveLine class.
47};
48
49#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Editor for TEveLine class.
void DoSmooth()
Slot for anti-alias.
TEveLineEditor(const TEveLineEditor &)
TGCheckButton * fRnrLine
void SetModel(TObject *obj) override
Set model object.
void DoRnrPoints()
Slot for RnrPoints.
ClassDefOverride(TEveLineEditor, 0)
void DoRnrLine()
Slot for RnrLine.
TGCheckButton * fSmooth
~TEveLineEditor() override
TGCheckButton * fRnrPoints
TEveLineEditor & operator=(const TEveLineEditor &)
An arbitrary polyline with fixed line and marker attributes.
Definition TEveLine.h:26
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.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
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