TGeoTrapEditor Class Reference

#include <TGeoTrapEditor.h>

Inheritance diagram for TGeoTrapEditor:

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

Public Member Functions

 TGeoTrapEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTrapEditor ()
virtual void SetModel (TObject *obj)
void DoH1 ()
void DoBl1 ()
void DoTl1 ()
void DoDz ()
void DoSc1 ()
void DoSc2 ()
void DoAlpha1 ()
void DoTheta ()
void DoPhi ()
void DoModified ()
void DoName ()
virtual void DoApply ()
virtual void DoUndo ()
 TGeoTrapEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTrapEditor ()
virtual void SetModel (TObject *obj)
void DoH1 ()
void DoBl1 ()
void DoTl1 ()
void DoDz ()
void DoSc1 ()
void DoSc2 ()
void DoAlpha1 ()
void DoTheta ()
void DoPhi ()
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 fH1i
Double_t fBl1i
Double_t fTl1i
Double_t fDzi
Double_t fSci
Double_t fAlpha1i
Double_t fThetai
Double_t fPhii
TString fNamei
TGeoTrapfShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfEH1
TGNumberEntryfEBl1
TGNumberEntryfETl1
TGNumberEntryfESc1
TGNumberEntryfESc2
TGNumberEntryfEDz
TGNumberEntryfEAlpha1
TGNumberEntryfETheta
TGNumberEntryfEPhi
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame
TGeoTrapfShape
TGTextEntryfShapeName
TGNumberEntryfEH1
TGNumberEntryfEBl1
TGNumberEntryfETl1
TGNumberEntryfESc1
TGNumberEntryfESc2
TGNumberEntryfEDz
TGNumberEntryfEAlpha1
TGNumberEntryfETheta
TGNumberEntryfEPhi
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame

Detailed Description

Definition at line 39 of file TGeoTrapEditor.h.


Constructor & Destructor Documentation

TGeoTrapEditor::TGeoTrapEditor ( 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 TGeoTrapEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fAlpha1i, fApply, fBFrame, fBl1i, fDelayed, fDFrame, fDzi, fEAlpha1, fEBl1, fEDz, fEH1, fEPhi, fESc1, fESc2, fETheta, fETl1, fH1i, fIsModified, fIsShapeEditable, fNamei, fPhii, fSci, fShape, fShapeName, fThetai, fTl1i, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEAPositive, kSunkenFrame, kTRUE, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoTrapEditor::~TGeoTrapEditor (  )  [virtual]

Definition at line 197 of file TGeoTrapEditor.cxx.

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

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

virtual TGeoTrapEditor::~TGeoTrapEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 210 of file TGeoTrapEditor.cxx.

References TQObject::Connect(), fApply, fEAlpha1, fEBl1, fEDz, fEH1, fEPhi, fESc1, fESc2, fETheta, fETl1, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by TGeoGtraEditor::SetModel(), and SetModel().

Bool_t TGeoTrapEditor::IsDelayed (  )  const [protected]

Definition at line 280 of file TGeoTrapEditor.cxx.

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

Referenced by DoAlpha1(), DoBl1(), DoDz(), DoH1(), DoPhi(), DoSc1(), DoSc2(), DoTheta(), DoTl1(), and TGeoGtraEditor::DoTwist().

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

Implements TGedFrame.

Definition at line 238 of file TGeoTrapEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fAlpha1i, fApply, fBl1i, fDzi, fEAlpha1, fEBl1, fEDz, fEH1, fEPhi, fESc1, fESc2, fETheta, fETl1, fH1i, TGedFrame::fInit, fNamei, fPhii, fSci, fShape, fShapeName, fThetai, fTl1i, fUndo, TGeoTrap::GetAlpha1(), TGeoTrap::GetBl1(), TGeoArb8::GetDz(), TGeoTrap::GetH1(), TGeoTrap::GetH2(), TGeoShape::GetName(), TGeoTrap::GetPhi(), TGeoTrap::GetTheta(), TGeoTrap::GetTl1(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoTrapEditor::DoH1 (  ) 

Definition at line 368 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoBl1 (  ) 

Definition at line 381 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoTl1 (  ) 

Definition at line 394 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoDz (  ) 

Definition at line 407 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoSc1 (  ) 

Definition at line 420 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoSc2 (  ) 

Definition at line 433 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoAlpha1 (  ) 

Definition at line 446 of file TGeoTrapEditor.cxx.

References TMath::Abs(), DoApply(), DoModified(), fEAlpha1, TGNumberEntry::GetNumber(), IsDelayed(), TGNumberEntry::SetNumber(), and TMath::Sign().

void TGeoTrapEditor::DoTheta (  ) 

Definition at line 459 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoPhi (  ) 

Definition at line 476 of file TGeoTrapEditor.cxx.

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

void TGeoTrapEditor::DoModified (  ) 

Definition at line 343 of file TGeoTrapEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoAlpha1(), DoBl1(), DoDz(), DoH1(), DoName(), DoPhi(), DoSc1(), DoSc2(), DoTheta(), DoTl1(), and TGeoGtraEditor::DoTwist().

void TGeoTrapEditor::DoName (  ) 

Definition at line 287 of file TGeoTrapEditor.cxx.

References DoModified().

void TGeoTrapEditor::DoApply (  )  [virtual]

Definition at line 294 of file TGeoTrapEditor.cxx.

References TGeoArb8::ComputeBBox(), TGeoShape::Draw(), fApply, fEAlpha1, fEBl1, fEDz, fEH1, fEPhi, fESc1, fESc2, fETheta, fETl1, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, h1, h2, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, phi, TGeoTrap::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), theta, and TGeoGedFrame::Update().

Referenced by DoAlpha1(), DoBl1(), DoDz(), DoH1(), DoPhi(), DoSc1(), DoSc2(), DoTheta(), DoTl1(), and DoUndo().

void TGeoTrapEditor::DoUndo (  )  [virtual]

Definition at line 350 of file TGeoTrapEditor.cxx.

References DoApply(), fAlpha1i, fApply, fBl1i, fDzi, fEAlpha1, fEBl1, fEDz, fEH1, fEPhi, fESc1, fESc2, fETheta, fETl1, fH1i, fPhii, fSci, fThetai, fTl1i, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoTrapEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoTrapEditor::DoH1 (  ) 

void TGeoTrapEditor::DoBl1 (  ) 

void TGeoTrapEditor::DoTl1 (  ) 

void TGeoTrapEditor::DoDz (  ) 

void TGeoTrapEditor::DoSc1 (  ) 

void TGeoTrapEditor::DoSc2 (  ) 

void TGeoTrapEditor::DoAlpha1 (  ) 

void TGeoTrapEditor::DoTheta (  ) 

void TGeoTrapEditor::DoPhi (  ) 

void TGeoTrapEditor::DoModified (  ) 

void TGeoTrapEditor::DoName (  ) 

virtual void TGeoTrapEditor::DoApply (  )  [virtual]

virtual void TGeoTrapEditor::DoUndo (  )  [virtual]


Member Data Documentation

Double_t TGeoTrapEditor::fH1i [protected]

Definition at line 43 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fBl1i [protected]

Definition at line 44 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fTl1i [protected]

Definition at line 45 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fDzi [protected]

Definition at line 46 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fSci [protected]

Definition at line 47 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fAlpha1i [protected]

Definition at line 48 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fThetai [protected]

Definition at line 49 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Double_t TGeoTrapEditor::fPhii [protected]

Definition at line 50 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TString TGeoTrapEditor::fNamei [protected]

Definition at line 51 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGeoTrap* TGeoTrapEditor::fShape [protected]

Definition at line 52 of file TGeoTrapEditor.h.

Referenced by DoApply(), TGeoGtraEditor::DoApply(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

Bool_t TGeoTrapEditor::fIsModified [protected]

Definition at line 53 of file TGeoTrapEditor.h.

Referenced by TGeoTrapEditor().

Bool_t TGeoTrapEditor::fIsShapeEditable [protected]

Definition at line 54 of file TGeoTrapEditor.h.

Referenced by TGeoTrapEditor().

TGTextEntry* TGeoTrapEditor::fShapeName [protected]

Definition at line 56 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fEH1 [protected]

Definition at line 57 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoH1(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fEBl1 [protected]

Definition at line 58 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoBl1(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fETl1 [protected]

Definition at line 59 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoTl1(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fESc1 [protected]

Definition at line 60 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoSc1(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fESc2 [protected]

Definition at line 61 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoSc2(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fEDz [protected]

Definition at line 62 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoDz(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fEAlpha1 [protected]

Definition at line 63 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoAlpha1(), DoApply(), TGeoGtraEditor::DoApply(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fETheta [protected]

Definition at line 64 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoTheta(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGNumberEntry* TGeoTrapEditor::fEPhi [protected]

Definition at line 65 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoPhi(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGTextButton* TGeoTrapEditor::fApply [protected]

Definition at line 66 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), DoModified(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGTextButton* TGeoTrapEditor::fUndo [protected]

Definition at line 67 of file TGeoTrapEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoGtraEditor::DoApply(), TGeoGtraEditor::DoUndo(), DoUndo(), TGeoGtraEditor::SetModel(), SetModel(), and TGeoTrapEditor().

TGCompositeFrame* TGeoTrapEditor::fBFrame [protected]

Definition at line 68 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::TGeoGtraEditor(), and TGeoTrapEditor().

TGCheckButton* TGeoTrapEditor::fDelayed [protected]

Definition at line 69 of file TGeoTrapEditor.h.

Referenced by IsDelayed(), and TGeoTrapEditor().

TGCompositeFrame* TGeoTrapEditor::fDFrame [protected]

Definition at line 70 of file TGeoTrapEditor.h.

Referenced by TGeoGtraEditor::TGeoGtraEditor(), and TGeoTrapEditor().

TGeoTrap* TGeoTrapEditor::fShape [protected]

Definition at line 52 of file TGeoTrapEditor.h.

TGTextEntry* TGeoTrapEditor::fShapeName [protected]

Definition at line 56 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fEH1 [protected]

Definition at line 57 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fEBl1 [protected]

Definition at line 58 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fETl1 [protected]

Definition at line 59 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fESc1 [protected]

Definition at line 60 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fESc2 [protected]

Definition at line 61 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fEDz [protected]

Definition at line 62 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fEAlpha1 [protected]

Definition at line 63 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fETheta [protected]

Definition at line 64 of file TGeoTrapEditor.h.

TGNumberEntry* TGeoTrapEditor::fEPhi [protected]

Definition at line 65 of file TGeoTrapEditor.h.

TGTextButton* TGeoTrapEditor::fApply [protected]

Definition at line 66 of file TGeoTrapEditor.h.

TGTextButton* TGeoTrapEditor::fUndo [protected]

Definition at line 67 of file TGeoTrapEditor.h.

TGCompositeFrame* TGeoTrapEditor::fBFrame [protected]

Definition at line 68 of file TGeoTrapEditor.h.

TGCheckButton* TGeoTrapEditor::fDelayed [protected]

Definition at line 69 of file TGeoTrapEditor.h.

TGCompositeFrame* TGeoTrapEditor::fDFrame [protected]

Definition at line 70 of file TGeoTrapEditor.h.


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