library: libRGL #include "TGLEditor.h" |
TGLClipEditor
class description - source file - inheritance tree (.pdf)
private:
TGLClipEditor(const TGLClipEditor&)
void CreateControls()
TGLClipEditor& operator=(const TGLClipEditor&)
public:
TGLClipEditor(const TGWindow* parent, TGLSAViewer* viewer)
~TGLClipEditor()
static TClass* Class()
void ClipTypeChanged(Int_t)
void ClipValueChanged(Long_t)
void GetCurrent(EClipType& type, Bool_t& edit) const
void GetState(EClipType type, Double_t* data) const
void HideParts()
virtual TClass* IsA() const
void SetCurrent(EClipType type, Bool_t edit)
void SetState(EClipType type, const Double_t* data)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void UpdateViewer()
private:
TGLSAViewer* fViewer
TList fTrash
TGLayoutHints* fL1
TGLayoutHints* fL2
TGButton* fApplyButton
TGButtonGroup* fTypeButtons
TGCompositeFrame* fPlanePropFrame
TGNumberEntry* fPlaneProp[4]
TGCompositeFrame* fBoxPropFrame
TGNumberEntry* fBoxProp[6]
TGCheckButton* fEdit
EClipType fCurrentClip Nasty - need to move
TGLClipEditor(const TGWindow *parent, TGLSAViewer *v) :
TGCompositeFrame(parent, 100, 100, kVerticalFrame),
fViewer(v), fCurrentClip(kClipNone)
Construct clip editor GUI component, parented by window 'parent',
bound to viewer 'v'
~TGLClipEditor()
void CreateControls()
Create GUI controls - clip tyep (none/plane/box) and plane/box properties
void HideParts()
Hide plane/box panels
void ClipValueChanged(Long_t)
GUI value change - activate 'Apply' button
void ClipTypeChanged(Int_t id)
Clip type radio button changed - update viewer
void UpdateViewer()
Update viewer for GUI change
void GetState(EClipType type, Double_t data[6]) const
Fetch GUI state for clip if 'type' into 'data' vector
void SetState(EClipType type, const Double_t data[6])
Set GUI state for clip 'type from 'data' vector
void GetCurrent(EClipType & type, Bool_t & edit) const
Get current (active) GUI clip type into 'type', and in viewer edit
state into 'edit'
void SetCurrent(EClipType type, Bool_t edit)
Set current (active) GUI clip type from 'type'
Inline Functions
TGLClipEditor TGLClipEditor(const TGLClipEditor&)
TGLClipEditor& operator=(const TGLClipEditor&)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TGLEditor.cxx,v 1.26 2006/01/26 11:59:41 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.