library: libGeomBuilder
#include "TGeoPconEditor.h"

TGeoPconEditor


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

class TGeoPconEditor : public TGedFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
TGWidget
<-
TGedFrame
<-
TGeoPconEditor

    protected:
Bool_t CheckSections(Bool_t change = kFALSE) virtual void ConnectSignals2Slots() void CreateSections(Int_t inew) Bool_t IsDelayed() const void UpdateSections() public:
TGeoPconEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGeoPconEditor(const TGeoPconEditor&) virtual ~TGeoPconEditor() static TClass* Class() void DoApply() void DoModified() void DoName() void DoNz() void DoPhi() void DoSectionChange(Int_t i) void DoUndo() virtual TClass* IsA() const virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fNsecti Initial number of sections Double_t fPhi1i Initial Phi1 Double_t fDPhii Initial Dphi Double_t* fZi Initial Z positions Double_t* fRmini Initial Rmin values Double_t* fRmaxi Initial Rmax values Int_t fNsections Number of Z sections TObjArray* fSections List of section frames TGCanvas* fCan sections container TGeoPcon* fShape Shape object Bool_t fIsModified Flag that volume was modified Bool_t fIsShapeEditable Flag that the shape can be changed TGeoTabManager* fTabMgr Tab manager TGLayoutHints* fLHsect Layout hints for sections TGTextEntry* fShapeName Shape name text entry TGNumberEntry* fENz Number entry for nsections TGNumberEntry* fEPhi1 Number entry for phi1 TGNumberEntry* fEDPhi Number entry for dphi TGTextButton* fApply Apply-Button to accept changes TGTextButton* fUndo Undo-Button TGCheckButton* fDelayed Check button for delayed draw

Class Description

                                                                      
  TGeoPconEditor                                                      
                                                                      

TGeoPconEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back)
 Constructor for polycone editor
~TGeoPconEditor()
 Destructor
void ConnectSignals2Slots()
 Connect signals to slots.
void SetModel(TVirtualPad* pad, TObject* obj, Int_t)
 Connect to a given pcon.
void CreateSections(Int_t inew)
 Change dynamically the number of sections.
Bool_t CheckSections(Bool_t change)
 Check validity of sections
void UpdateSections()
 Update sections according fShape.
Bool_t IsDelayed()
 Check if shape drawing is delayed.
void DoName()
 Perform name change
void DoApply()
 Slot for applying modifications.
void DoSectionChange(Int_t isect)
 Change parameters of section isect;
void DoNz()
 Change number of sections.
void DoPhi()
 Change phi range.
void DoModified()
 Slot for signaling modifications.
void DoUndo()
 Slot for undoing last operation.
TGeoPconEditor(const TGWindow *p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())

Author: M.Gheata
Last update: :$Name: $:$Id: TGeoPconEditor.cxx,v 1.4 2006/06/24 08:30:18 brun Exp $
Copyright (C) 1995-2002, 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.