Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLClipSetEditor.h
Go to the documentation of this file.
1// @(#)root/gl:$Id$
2// Author: Matevz Tadel, Jun 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2004, 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_TGLClipSetEditor
13#define ROOT_TGLClipSetEditor
14
15#include "TGedFrame.h"
16#include "TGLUtil.h"
17
18#include "TGLClip.h"
19
20class TGButton;
21class TGCheckButton;
22class TGNumberEntry;
23class TGButtonGroup;
24
25
27{
28private:
31
32protected:
34
37
40
49
50public:
53
54 void SetModel(TGLClipSet* m);
55
56 void Changed(); //*SIGNAL*
57
58 //Clipping manipulation
59 void ClipValueChanged();
61 void UpdateViewerClip();
62 void ResetViewerClip();
63
64 ClassDefOverride(TGLClipSetSubEditor, 0); // Sub-editor for TGLClipSet.
65};
66
67
69
70private:
73
74protected:
75 TGLClipSet *fM; // fModel dynamic-casted to TGLClipSet
77
78public:
80 ~TGLClipSetEditor() override {}
81
82 void SetModel(TObject* obj) override;
83
84 ClassDefOverride(TGLClipSetEditor, 0); // GUI editor for TGLClipSet.
85};
86
87#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
int Int_t
Definition RtypesCore.h:45
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
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
Organizes TGButton widgets in a group.
A button abstract base class.
Definition TGButton.h:68
Selects different options.
Definition TGButton.h:264
The base class for composite widgets (menu bars, list boxes, etc.).
Definition TGFrame.h:287
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
GUI editor for TGLClipSet.
TGLClipSetSubEditor * fSE
TGLClipSetEditor(const TGLClipSetEditor &)=delete
void SetModel(TObject *obj) override
Set model object.
TGLClipSetEditor & operator=(const TGLClipSetEditor &)=delete
~TGLClipSetEditor() override
GUI sub-editor for TGLClipSet.
void ClipTypeChanged(Int_t)
Clip type radio button changed - update viewer.
TGLClipSetSubEditor(const TGLClipSetSubEditor &)=delete
TGCheckButton * fClipInside
TGCheckButton * fAutoUpdate
TGNumberEntry * fPlaneProp[4]
void UpdateViewerClip()
Change clipping volume.
TGCompositeFrame * fBoxPropFrame
void SetModel(TGLClipSet *m)
Set model object.
void ClipValueChanged()
One of number entries was changed.
TGCheckButton * fClipShow
TGNumberEntry * fBoxProp[6]
TGLClip::EType fCurrentClip
TGLClipSetSubEditor & operator=(const TGLClipSetSubEditor &)=delete
TGCompositeFrame * fPlanePropFrame
TGButtonGroup * fTypeButtons
void Changed()
Emit Changed signal.
TGCheckButton * fClipEdit
void ResetViewerClip()
Reset transformation of the current clip.
~TGLClipSetSubEditor() override
A collection of concrete TGLClip objects to be selected from.
Definition TGLClip.h:140
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
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
TMarker m
Definition textangle.C:8