library: libRGL
#include "TGLEditor.h"

TGLGuideEditor


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

class TGLGuideEditor : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGLGuideEditor
    private:
TGLGuideEditor(const TGLGuideEditor&) TGLGuideEditor& operator=(const TGLGuideEditor&) void UpdateReferencePos() public:
TGLGuideEditor(const TGWindow* parent, TGLSAViewer* viewer) ~TGLGuideEditor() static TClass* Class() void GetState(TGLViewer::EAxesType& axesType, Bool_t& referenceOn, Double_t* referencePos) const virtual TClass* IsA() const void SetState(TGLViewer::EAxesType axesType, Bool_t referenceOn, const Double_t* referencePos) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void Update()

Data Members

    private:
TGLSAViewer* fViewer TGButtonGroup* fAxesContainer TGGroupFrame* fReferenceContainer TGCheckButton* fReferenceOn TGNumberEntry* fReferencePos[3] TGLayoutHints* fL1 TGLayoutHints* fL2 TList fTrash

Class Description


TGLGuideEditor(const TGWindow *parent, TGLSAViewer *v) : TGCompositeFrame(parent, 100, 100, kVerticalFrame), fViewer(v), fAxesContainer(0), fReferenceContainer(0), fReferenceOn(0), fL1(0), fL2(0)
 Construct guide editor GUI component, parented by window 'parent',
 bound to viewer 'v'

~TGLGuideEditor()

void Update()
 Update viewer with GUI state

void GetState(TGLViewer::EAxesType & axesType, Bool_t & referenceOn, Double_t referencePos[3]) const
 Get GUI state into arguments:
 'axesType'     - axes type - one of EAxesType - kAxesNone/kAxesPlane/kAxesBox
 'referenceOn'  - reference marker on (visible)
 'referencePos' - current reference position (vertex)

void SetState(TGLViewer::EAxesType axesType, Bool_t referenceOn, const Double_t referencePos[3])
 Set GUI state from arguments:
 'axesType'     - axes type - one of EAxesType - kAxesNone/kAxesPlane/kAxesBox
 'referenceOn'  - reference marker on (visible)
 'referencePos' - current reference position (vertex)

void UpdateReferencePos()
 Enable/disable reference position (x/y/z) number edits based on
 reference check box



Inline Functions


        TGLGuideEditor& operator=(const TGLGuideEditor&)
         TGLGuideEditor TGLGuideEditor(const TGWindow* parent, TGLSAViewer* viewer)
                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.