TGeoSphereEditor Class Reference

#include <TGeoSphereEditor.h>

Inheritance diagram for TGeoSphereEditor:

TGeoGedFrame TGeoGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TGeoSphereEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoSphereEditor ()
virtual void SetModel (TObject *obj)
void DoRmin ()
void DoRmax ()
void DoPhi ()
void DoTheta ()
void DoTheta1 ()
void DoTheta2 ()
void DoPhi1 ()
void DoPhi2 ()
void DoModified ()
void DoName ()
virtual void DoApply ()
virtual void DoUndo ()
 TGeoSphereEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoSphereEditor ()
virtual void SetModel (TObject *obj)
void DoRmin ()
void DoRmax ()
void DoPhi ()
void DoTheta ()
void DoTheta1 ()
void DoTheta2 ()
void DoPhi1 ()
void DoPhi2 ()
void DoModified ()
void DoName ()
virtual void DoApply ()
virtual void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const
virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const

Protected Attributes

Double_t fRmini
Double_t fRmaxi
Double_t fTheta1i
Double_t fTheta2i
Double_t fPhi1i
Double_t fPhi2i
TString fNamei
TGeoSpherefShape
Bool_t fIsModified
Bool_t fIsShapeEditable
Bool_t fLock
TGTextEntryfShapeName
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfETheta1
TGNumberEntryfETheta2
TGNumberEntryfEPhi1
TGNumberEntryfEPhi2
TGDoubleVSliderfSPhi
TGDoubleVSliderfSTheta
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoSpherefShape
TGTextEntryfShapeName
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfETheta1
TGNumberEntryfETheta2
TGNumberEntryfEPhi1
TGNumberEntryfEPhi2
TGDoubleVSliderfSPhi
TGDoubleVSliderfSTheta
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 40 of file TGeoSphereEditor.h.


Constructor & Destructor Documentation

TGeoSphereEditor::TGeoSphereEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 52 of file TGeoSphereEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fApply, fDelayed, fEPhi1, fEPhi2, fERmax, fERmin, fETheta1, fETheta2, fIsModified, fIsShapeEditable, fLock, fNamei, fPhi1i, fPhi2i, fRmaxi, fRmini, fShape, fShapeName, fSPhi, fSTheta, fTheta1i, fTheta2i, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, TGNumberFormat::kNEANonNegative, kOwnBackground, kRaisedFrame, kSunkenFrame, kTRUE, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGDoubleSlider::SetRange(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoSphereEditor::~TGeoSphereEditor (  )  [virtual]

Definition at line 182 of file TGeoSphereEditor.cxx.

References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().

TGeoSphereEditor::TGeoSphereEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGeoSphereEditor::~TGeoSphereEditor (  )  [virtual]


Member Function Documentation

void TGeoSphereEditor::ConnectSignals2Slots (  )  [protected, virtual]

Definition at line 195 of file TGeoSphereEditor.cxx.

References TQObject::Connect(), fApply, fEPhi1, fEPhi2, fERmax, fERmin, fETheta1, fETheta2, TGedFrame::fInit, fShapeName, fSPhi, fSTheta, fUndo, and kFALSE.

Referenced by SetModel().

Bool_t TGeoSphereEditor::IsDelayed (  )  const [protected]

Definition at line 247 of file TGeoSphereEditor.cxx.

References fDelayed, TGButton::GetState(), and kButtonDown.

Referenced by DoPhi(), DoPhi1(), DoPhi2(), DoRmax(), DoRmin(), DoTheta(), DoTheta1(), and DoTheta2().

void TGeoSphereEditor::SetModel ( TObject obj  )  [virtual]

Implements TGedFrame.

Definition at line 214 of file TGeoSphereEditor.cxx.

References xmlio::Class, ConnectSignals2Slots(), fApply, fEPhi1, fEPhi2, fERmax, fERmin, fETheta1, fETheta2, TGedFrame::fInit, fNamei, fPhi1i, fPhi2i, fRmaxi, fRmini, fShape, fShapeName, fSPhi, fSTheta, fTheta1i, fTheta2i, fUndo, TGeoShape::GetName(), TGeoSphere::GetPhi1(), TGeoSphere::GetPhi2(), TGeoSphere::GetRmax(), TGeoSphere::GetRmin(), TGeoSphere::GetTheta1(), TGeoSphere::GetTheta2(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGDoubleSlider::SetPosition(), and TGTextEntry::SetText().

void TGeoSphereEditor::DoRmin (  ) 

Definition at line 318 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fERmax, fERmin, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoSphereEditor::DoRmax (  ) 

Definition at line 336 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fERmax, fERmin, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoSphereEditor::DoPhi (  ) 

Definition at line 399 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fEPhi1, fEPhi2, fLock, fSPhi, TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), IsDelayed(), kFALSE, kTRUE, and TGNumberEntry::SetNumber().

void TGeoSphereEditor::DoTheta (  ) 

Definition at line 449 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fETheta1, fETheta2, fLock, fSTheta, TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), IsDelayed(), kFALSE, kTRUE, and TGNumberEntry::SetNumber().

void TGeoSphereEditor::DoTheta1 (  ) 

Definition at line 413 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fETheta1, fETheta2, fLock, fSTheta, TGNumberEntry::GetNumber(), IsDelayed(), kFALSE, kTRUE, TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().

void TGeoSphereEditor::DoTheta2 (  ) 

Definition at line 431 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fETheta1, fETheta2, fLock, fSTheta, TGNumberEntry::GetNumber(), IsDelayed(), kFALSE, kTRUE, TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().

void TGeoSphereEditor::DoPhi1 (  ) 

Definition at line 355 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fEPhi1, fEPhi2, fLock, fSPhi, TGNumberEntry::GetNumber(), IsDelayed(), kFALSE, kTRUE, TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().

void TGeoSphereEditor::DoPhi2 (  ) 

Definition at line 377 of file TGeoSphereEditor.cxx.

References DoApply(), DoModified(), fEPhi1, fEPhi2, fLock, fSPhi, TGNumberEntry::GetNumber(), IsDelayed(), kFALSE, kTRUE, TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().

void TGeoSphereEditor::DoModified (  ) 

Definition at line 294 of file TGeoSphereEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoName(), DoPhi(), DoPhi1(), DoPhi2(), DoRmax(), DoRmin(), DoTheta(), DoTheta1(), and DoTheta2().

void TGeoSphereEditor::DoName (  ) 

Definition at line 254 of file TGeoSphereEditor.cxx.

References DoModified().

void TGeoSphereEditor::DoApply (  )  [virtual]

Definition at line 261 of file TGeoSphereEditor.cxx.

References TGeoSphere::ComputeBBox(), TGeoShape::Draw(), fApply, fEPhi1, fEPhi2, fERmax, fERmin, fETheta1, fETheta2, fLock, TGeoGedFrame::fPad, fShape, fShapeName, fSPhi, fUndo, TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, kTRUE, name, TGButton::SetEnabled(), TNamed::SetName(), TGNumberEntry::SetNumber(), TGDoubleSlider::SetPosition(), TGeoSphere::SetSphDimensions(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoPhi(), DoPhi1(), DoPhi2(), DoRmax(), DoRmin(), DoTheta(), DoTheta1(), DoTheta2(), and DoUndo().

void TGeoSphereEditor::DoUndo (  )  [virtual]

Definition at line 301 of file TGeoSphereEditor.cxx.

References DoApply(), fApply, fEPhi1, fEPhi2, fERmax, fERmin, fETheta1, fETheta2, fPhi1i, fPhi2i, fRmaxi, fRmini, fSPhi, fSTheta, fTheta1i, fTheta2i, fUndo, kFALSE, TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().

virtual void TGeoSphereEditor::ConnectSignals2Slots (  )  [protected, virtual]

Bool_t TGeoSphereEditor::IsDelayed (  )  const [protected]

virtual void TGeoSphereEditor::SetModel ( TObject obj  )  [virtual]

Implements TGedFrame.

void TGeoSphereEditor::DoRmin (  ) 

void TGeoSphereEditor::DoRmax (  ) 

void TGeoSphereEditor::DoPhi (  ) 

void TGeoSphereEditor::DoTheta (  ) 

void TGeoSphereEditor::DoTheta1 (  ) 

void TGeoSphereEditor::DoTheta2 (  ) 

void TGeoSphereEditor::DoPhi1 (  ) 

void TGeoSphereEditor::DoPhi2 (  ) 

void TGeoSphereEditor::DoModified (  ) 

void TGeoSphereEditor::DoName (  ) 

virtual void TGeoSphereEditor::DoApply (  )  [virtual]

virtual void TGeoSphereEditor::DoUndo (  )  [virtual]


Member Data Documentation

Double_t TGeoSphereEditor::fRmini [protected]

Definition at line 44 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

Double_t TGeoSphereEditor::fRmaxi [protected]

Definition at line 45 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

Double_t TGeoSphereEditor::fTheta1i [protected]

Definition at line 46 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

Double_t TGeoSphereEditor::fTheta2i [protected]

Definition at line 47 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

Double_t TGeoSphereEditor::fPhi1i [protected]

Definition at line 48 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

Double_t TGeoSphereEditor::fPhi2i [protected]

Definition at line 49 of file TGeoSphereEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoSphereEditor().

TString TGeoSphereEditor::fNamei [protected]

Definition at line 50 of file TGeoSphereEditor.h.

Referenced by SetModel(), and TGeoSphereEditor().

TGeoSphere* TGeoSphereEditor::fShape [protected]

Definition at line 51 of file TGeoSphereEditor.h.

Referenced by DoApply(), SetModel(), and TGeoSphereEditor().

Bool_t TGeoSphereEditor::fIsModified [protected]

Definition at line 52 of file TGeoSphereEditor.h.

Referenced by TGeoSphereEditor().

Bool_t TGeoSphereEditor::fIsShapeEditable [protected]

Definition at line 53 of file TGeoSphereEditor.h.

Referenced by TGeoSphereEditor().

Bool_t TGeoSphereEditor::fLock [protected]

Definition at line 54 of file TGeoSphereEditor.h.

Referenced by DoApply(), DoPhi(), DoPhi1(), DoPhi2(), DoTheta(), DoTheta1(), DoTheta2(), and TGeoSphereEditor().

TGTextEntry* TGeoSphereEditor::fShapeName [protected]

Definition at line 56 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fERmin [protected]

Definition at line 57 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoRmax(), DoRmin(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fERmax [protected]

Definition at line 58 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoRmax(), DoRmin(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fETheta1 [protected]

Definition at line 59 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoTheta(), DoTheta1(), DoTheta2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fETheta2 [protected]

Definition at line 60 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoTheta(), DoTheta1(), DoTheta2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fEPhi1 [protected]

Definition at line 61 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoPhi(), DoPhi1(), DoPhi2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGNumberEntry* TGeoSphereEditor::fEPhi2 [protected]

Definition at line 62 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoPhi(), DoPhi1(), DoPhi2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGDoubleVSlider* TGeoSphereEditor::fSPhi [protected]

Definition at line 63 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoPhi(), DoPhi1(), DoPhi2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGDoubleVSlider* TGeoSphereEditor::fSTheta [protected]

Definition at line 64 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoTheta(), DoTheta1(), DoTheta2(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGTextButton* TGeoSphereEditor::fApply [protected]

Definition at line 65 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoModified(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGTextButton* TGeoSphereEditor::fUndo [protected]

Definition at line 66 of file TGeoSphereEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), SetModel(), and TGeoSphereEditor().

TGCheckButton* TGeoSphereEditor::fDelayed [protected]

Definition at line 67 of file TGeoSphereEditor.h.

Referenced by IsDelayed(), and TGeoSphereEditor().

TGeoSphere* TGeoSphereEditor::fShape [protected]

Definition at line 51 of file TGeoSphereEditor.h.

TGTextEntry* TGeoSphereEditor::fShapeName [protected]

Definition at line 56 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fERmin [protected]

Definition at line 57 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fERmax [protected]

Definition at line 58 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fETheta1 [protected]

Definition at line 59 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fETheta2 [protected]

Definition at line 60 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fEPhi1 [protected]

Definition at line 61 of file TGeoSphereEditor.h.

TGNumberEntry* TGeoSphereEditor::fEPhi2 [protected]

Definition at line 62 of file TGeoSphereEditor.h.

TGDoubleVSlider* TGeoSphereEditor::fSPhi [protected]

Definition at line 63 of file TGeoSphereEditor.h.

TGDoubleVSlider* TGeoSphereEditor::fSTheta [protected]

Definition at line 64 of file TGeoSphereEditor.h.

TGTextButton* TGeoSphereEditor::fApply [protected]

Definition at line 65 of file TGeoSphereEditor.h.

TGTextButton* TGeoSphereEditor::fUndo [protected]

Definition at line 66 of file TGeoSphereEditor.h.

TGCheckButton* TGeoSphereEditor::fDelayed [protected]

Definition at line 67 of file TGeoSphereEditor.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:07 2011 for ROOT_528-00b_version by  doxygen 1.5.1