library: libRGL #include "TGLEditor.h" |
TGLGeometryEditor
class description - source file - inheritance tree (.pdf)
private:
TGLGeometryEditor(const TGLGeometryEditor&)
void CreateCenterControls()
void CreateStretchControls()
TGLGeometryEditor& operator=(const TGLGeometryEditor&)
public:
TGLGeometryEditor(const TGWindow* parent, TGLSAViewer* viewer)
~TGLGeometryEditor()
static TClass* Class()
void Disable()
void DoButton()
void GetObjectData(Double_t* shift, Double_t* scale)
virtual TClass* IsA() const
void SetCenter(const Double_t* center)
void SetScale(const Double_t* scale)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void ValueSet(Long_t unusedVal)
private:
TGLSAViewer* fViewer
TList fTrash
TGLayoutHints* fL1
TGLayoutHints* fL2
TGNumberEntry* fGeomData[6]
TGButton* fApplyButton
Bool_t fIsActive
public:
static const enum TGLGeometryEditor:: kCenterX
static const enum TGLGeometryEditor:: kCenterY
static const enum TGLGeometryEditor:: kCenterZ
static const enum TGLGeometryEditor:: kScaleX
static const enum TGLGeometryEditor:: kScaleY
static const enum TGLGeometryEditor:: kScaleZ
static const enum TGLGeometryEditor:: kTot
TGLGeometryEditor(const TGWindow *parent, TGLSAViewer *v)
:TGCompositeFrame(parent, 100, 100, kVerticalFrame),// | kRaisedFrame),
fViewer(v)
Construct geometry editor GUI component, parented by window 'parent',
bound to viewer 'v'
~TGLGeometryEditor()
void SetCenter(const Double_t *c)
Set internal center data from 3 component 'c'
void SetScale(const Double_t *s)
Set internal scale data from 3 component 'c'
void Disable()
Disable "Apply" button
void DoButton()
Process 'Apply' - update the viewer object from GUI
void GetObjectData(Double_t *center, Double_t *scale)
Extract the GUI object data, return center in 3 component 'center'
scale in 3 component 'scale'
void ValueSet(Long_t)
Process setting of value in edit box - activate 'Apply' button
void CreateCenterControls()
Create object center GUI
void CreateStretchControls()
Create object scale GUI
Inline Functions
TGLGeometryEditor TGLGeometryEditor(const TGLGeometryEditor&)
TGLGeometryEditor& operator=(const TGLGeometryEditor&)
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.