library: libRGL
#include "TGLEditor.h"

TGLClipEditor


class description - source file - inheritance tree (.pdf)

class TGLClipEditor : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGLClipEditor
    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(TGLViewer::EClipType& type, Bool_t& edit) const void GetState(TGLViewer::EClipType type, Double_t* data) const void HideParts() virtual TClass* IsA() const void SetCurrent(TGLViewer::EClipType type) void SetState(TGLViewer::EClipType type, const Double_t* data) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UpdateViewer()

Data Members

    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 TGLViewer::EClipType fCurrentClip Nasty - need to move

Class Description


TGLClipEditor(const TGWindow *parent, TGLSAViewer *v) : TGCompositeFrame(parent, 100, 100, kVerticalFrame), fViewer(v), fCurrentClip(TGLViewer::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(TGLViewer::EClipType type, Double_t data[6]) const
 Fetch GUI state for clip if 'type' into 'data' vector

void SetState(TGLViewer::EClipType type, const Double_t data[6])
 Set GUI state for clip 'type from 'data' vector

void GetCurrent(TGLViewer::EClipType & type, Bool_t & edit) const
 Get current (active) GUI clip type into 'type', and in viewer edit
 state into 'edit'

void SetCurrent(TGLViewer::EClipType type)
 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.25 2005/12/11 20:15:30 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.