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:
29 TGLClipSetSubEditor(const TGLClipSetSubEditor&); // Not implemented
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 ClassDef(TGLClipSetSubEditor, 0); // Sub-editor for TGLClipSet.
65};
66
67
69
70private:
71 TGLClipSetEditor(const TGLClipSetEditor&); // Not implemented
72 TGLClipSetEditor& operator=(const TGLClipSetEditor&); // Not implemented
73
74protected:
75 TGLClipSet *fM; // fModel dynamic-casted to TGLClipSet
77
78public:
80 virtual ~TGLClipSetEditor() {}
81
82 virtual void SetModel(TObject* obj);
83
84 ClassDef(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 ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
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 &)
virtual void SetModel(TObject *obj)
Set model object.
virtual ~TGLClipSetEditor()
TGLClipSetEditor & operator=(const TGLClipSetEditor &)
GUI sub-editor for TGLClipSet.
void ClipTypeChanged(Int_t)
Clip type radio button changed - update viewer.
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(const TGLClipSetSubEditor &)
TGCompositeFrame * fPlanePropFrame
TGButtonGroup * fTypeButtons
void Changed()
Emit Changed signal.
TGCheckButton * fClipEdit
TGLClipSetSubEditor & operator=(const TGLClipSetSubEditor &)
void ResetViewerClip()
Reset transformation of the current clip.
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: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
auto * m
Definition textangle.C:8