library: libRGL
#include "TGLEditor.h"

TGLGeometryEditor


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

class TGLGeometryEditor : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGLGeometryEditor
    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)

Data Members

    private:
TGLSAViewer* fViewer 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

Class Description

______________________________________________________________________________
TGLGeometryEditor(const TGWindow *parent, TGLSAViewer *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
TGLGeometryEditor(const TGWindow *parent, TGLSAViewer *viewer)

Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TGLEditor.cxx,v 1.29 2006/05/31 07:48:56 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.