Logo ROOT  
Reference Guide
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
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:326
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
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 &)
virtual ~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
Mother of all ROOT objects.
Definition: TObject.h:37
auto * m
Definition: textangle.C:8