TGeoTorusEditor Class Reference

#include <TGeoTorusEditor.h>

Inheritance diagram for TGeoTorusEditor:

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

Public Member Functions

 TGeoTorusEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTorusEditor ()
virtual void SetModel (TObject *obj)
void DoR ()
void DoRmin ()
void DoRmax ()
void DoPhi1 ()
void DoDphi ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoTorusEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTorusEditor ()
virtual void SetModel (TObject *obj)
void DoR ()
void DoRmin ()
void DoRmax ()
void DoPhi1 ()
void DoDphi ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()

Protected Member Functions

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

Protected Attributes

Double_t fRi
Double_t fRmini
Double_t fRmaxi
Double_t fPhi1i
Double_t fDphii
TString fNamei
TGeoTorusfShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfER
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfEPhi1
TGNumberEntryfEDphi
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoTorusfShape
TGTextEntryfShapeName
TGNumberEntryfER
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfEPhi1
TGNumberEntryfEDphi
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoTorusEditor.h.


Constructor & Destructor Documentation

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

Definition at line 50 of file TGeoTorusEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fApply, fDelayed, fDphii, fEDphi, fEPhi1, fER, fERmax, fERmin, fIsModified, fIsShapeEditable, fNamei, fPhi1i, fRi, fRmaxi, fRmini, fShape, fShapeName, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNEAPositive, kSunkenFrame, kTRUE, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoTorusEditor::~TGeoTorusEditor (  )  [virtual]

Definition at line 150 of file TGeoTorusEditor.cxx.

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

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

virtual TGeoTorusEditor::~TGeoTorusEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 163 of file TGeoTorusEditor.cxx.

References TQObject::Connect(), fApply, fEDphi, fEPhi1, fER, fERmax, fERmin, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

Bool_t TGeoTorusEditor::IsDelayed (  )  const [protected]

Definition at line 216 of file TGeoTorusEditor.cxx.

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

Referenced by DoDphi(), DoPhi1(), DoR(), DoRmax(), and DoRmin().

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

Implements TGedFrame.

Definition at line 184 of file TGeoTorusEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fDphii, fEDphi, fEPhi1, fER, fERmax, fERmin, TGedFrame::fInit, fNamei, fPhi1i, fRi, fRmaxi, fRmini, fShape, fShapeName, fUndo, TGeoTorus::GetDphi(), TGeoShape::GetName(), TGeoTorus::GetPhi1(), TGeoTorus::GetR(), TGeoTorus::GetRmax(), TGeoTorus::GetRmin(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoTorusEditor::DoR (  ) 

Definition at line 287 of file TGeoTorusEditor.cxx.

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

void TGeoTorusEditor::DoRmin (  ) 

Definition at line 301 of file TGeoTorusEditor.cxx.

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

void TGeoTorusEditor::DoRmax (  ) 

Definition at line 315 of file TGeoTorusEditor.cxx.

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

void TGeoTorusEditor::DoPhi1 (  ) 

Definition at line 334 of file TGeoTorusEditor.cxx.

References DoApply(), DoModified(), fEPhi1, TGNumberEntry::GetNumber(), IsDelayed(), phi, and TGNumberEntry::SetNumber().

void TGeoTorusEditor::DoDphi (  ) 

Definition at line 347 of file TGeoTorusEditor.cxx.

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

void TGeoTorusEditor::DoModified (  ) 

Definition at line 266 of file TGeoTorusEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDphi(), DoName(), DoPhi1(), DoR(), DoRmax(), and DoRmin().

void TGeoTorusEditor::DoName (  ) 

Definition at line 223 of file TGeoTorusEditor.cxx.

References DoModified().

void TGeoTorusEditor::DoApply (  ) 

Definition at line 230 of file TGeoTorusEditor.cxx.

References TGeoTorus::ComputeBBox(), TGeoShape::Draw(), fApply, fEDphi, fEPhi1, fER, fERmax, fERmin, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, phi, TGeoTorus::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoDphi(), DoPhi1(), DoR(), DoRmax(), DoRmin(), and DoUndo().

void TGeoTorusEditor::DoUndo (  ) 

Definition at line 273 of file TGeoTorusEditor.cxx.

References DoApply(), fApply, fDphii, fEDphi, fEPhi1, fER, fERmax, fERmin, fPhi1i, fRi, fRmaxi, fRmini, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoTorusEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoTorusEditor::DoR (  ) 

void TGeoTorusEditor::DoRmin (  ) 

void TGeoTorusEditor::DoRmax (  ) 

void TGeoTorusEditor::DoPhi1 (  ) 

void TGeoTorusEditor::DoDphi (  ) 

void TGeoTorusEditor::DoModified (  ) 

void TGeoTorusEditor::DoName (  ) 

void TGeoTorusEditor::DoApply (  ) 

void TGeoTorusEditor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoTorusEditor::fRi [protected]

Definition at line 43 of file TGeoTorusEditor.h.

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

Double_t TGeoTorusEditor::fRmini [protected]

Definition at line 44 of file TGeoTorusEditor.h.

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

Double_t TGeoTorusEditor::fRmaxi [protected]

Definition at line 45 of file TGeoTorusEditor.h.

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

Double_t TGeoTorusEditor::fPhi1i [protected]

Definition at line 46 of file TGeoTorusEditor.h.

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

Double_t TGeoTorusEditor::fDphii [protected]

Definition at line 47 of file TGeoTorusEditor.h.

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

TString TGeoTorusEditor::fNamei [protected]

Definition at line 48 of file TGeoTorusEditor.h.

Referenced by SetModel(), and TGeoTorusEditor().

TGeoTorus* TGeoTorusEditor::fShape [protected]

Definition at line 49 of file TGeoTorusEditor.h.

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

Bool_t TGeoTorusEditor::fIsModified [protected]

Definition at line 50 of file TGeoTorusEditor.h.

Referenced by TGeoTorusEditor().

Bool_t TGeoTorusEditor::fIsShapeEditable [protected]

Definition at line 51 of file TGeoTorusEditor.h.

Referenced by TGeoTorusEditor().

TGTextEntry* TGeoTorusEditor::fShapeName [protected]

Definition at line 53 of file TGeoTorusEditor.h.

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

TGNumberEntry* TGeoTorusEditor::fER [protected]

Definition at line 54 of file TGeoTorusEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoR(), DoRmax(), DoUndo(), SetModel(), and TGeoTorusEditor().

TGNumberEntry* TGeoTorusEditor::fERmin [protected]

Definition at line 55 of file TGeoTorusEditor.h.

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

TGNumberEntry* TGeoTorusEditor::fERmax [protected]

Definition at line 56 of file TGeoTorusEditor.h.

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

TGNumberEntry* TGeoTorusEditor::fEPhi1 [protected]

Definition at line 57 of file TGeoTorusEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoPhi1(), DoUndo(), SetModel(), and TGeoTorusEditor().

TGNumberEntry* TGeoTorusEditor::fEDphi [protected]

Definition at line 58 of file TGeoTorusEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDphi(), DoUndo(), SetModel(), and TGeoTorusEditor().

TGTextButton* TGeoTorusEditor::fApply [protected]

Definition at line 59 of file TGeoTorusEditor.h.

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

TGTextButton* TGeoTorusEditor::fUndo [protected]

Definition at line 60 of file TGeoTorusEditor.h.

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

TGCheckButton* TGeoTorusEditor::fDelayed [protected]

Definition at line 61 of file TGeoTorusEditor.h.

Referenced by IsDelayed(), and TGeoTorusEditor().

TGeoTorus* TGeoTorusEditor::fShape [protected]

Definition at line 49 of file TGeoTorusEditor.h.

TGTextEntry* TGeoTorusEditor::fShapeName [protected]

Definition at line 53 of file TGeoTorusEditor.h.

TGNumberEntry* TGeoTorusEditor::fER [protected]

Definition at line 54 of file TGeoTorusEditor.h.

TGNumberEntry* TGeoTorusEditor::fERmin [protected]

Definition at line 55 of file TGeoTorusEditor.h.

TGNumberEntry* TGeoTorusEditor::fERmax [protected]

Definition at line 56 of file TGeoTorusEditor.h.

TGNumberEntry* TGeoTorusEditor::fEPhi1 [protected]

Definition at line 57 of file TGeoTorusEditor.h.

TGNumberEntry* TGeoTorusEditor::fEDphi [protected]

Definition at line 58 of file TGeoTorusEditor.h.

TGTextButton* TGeoTorusEditor::fApply [protected]

Definition at line 59 of file TGeoTorusEditor.h.

TGTextButton* TGeoTorusEditor::fUndo [protected]

Definition at line 60 of file TGeoTorusEditor.h.

TGCheckButton* TGeoTorusEditor::fDelayed [protected]

Definition at line 61 of file TGeoTorusEditor.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