TGeoHypeEditor Class Reference

#include <TGeoHypeEditor.h>

Inheritance diagram for TGeoHypeEditor:

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

Public Member Functions

 TGeoHypeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoHypeEditor ()
virtual void SetModel (TObject *obj)
void DoRin ()
void DoRout ()
void DoDz ()
void DoStIn ()
void DoStOut ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoHypeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoHypeEditor ()
virtual void SetModel (TObject *obj)
void DoRin ()
void DoRout ()
void DoDz ()
void DoStIn ()
void DoStOut ()
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 fRini
Double_t fRouti
Double_t fDzi
Double_t fStIni
Double_t fStOuti
TString fNamei
TGeoHypefShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfERin
TGNumberEntryfERout
TGNumberEntryfEDz
TGNumberEntryfEStIn
TGNumberEntryfEStOut
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoHypefShape
TGTextEntryfShapeName
TGNumberEntryfERin
TGNumberEntryfERout
TGNumberEntryfEDz
TGNumberEntryfEStIn
TGNumberEntryfEStOut
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoHypeEditor.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file TGeoHypeEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fApply, fDelayed, fEDz, fERin, fERout, fEStIn, fEStOut, fIsModified, fIsShapeEditable, fNamei, fRini, fRouti, fShape, fShapeName, fStIni, fStOuti, 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().

TGeoHypeEditor::~TGeoHypeEditor (  )  [virtual]

Definition at line 150 of file TGeoHypeEditor.cxx.

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

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

virtual TGeoHypeEditor::~TGeoHypeEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 163 of file TGeoHypeEditor.cxx.

References TQObject::Connect(), fApply, fEDz, fERin, fERout, fEStIn, fEStOut, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

Bool_t TGeoHypeEditor::IsDelayed (  )  const [protected]

Definition at line 216 of file TGeoHypeEditor.cxx.

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

Referenced by DoDz(), DoRin(), DoRout(), DoStIn(), and DoStOut().

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

Implements TGedFrame.

Definition at line 184 of file TGeoHypeEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fDzi, fEDz, fERin, fERout, fEStIn, fEStOut, TGedFrame::fInit, fNamei, fRini, fRouti, fShape, fShapeName, fStIni, fStOuti, fUndo, TGeoTube::GetDz(), TGeoShape::GetName(), TGeoTube::GetRmax(), TGeoTube::GetRmin(), TGeoHype::GetStIn(), TGeoHype::GetStOut(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoHypeEditor::DoRin (  ) 

Definition at line 295 of file TGeoHypeEditor.cxx.

References TMath::DegToRad(), DoApply(), DoModified(), fEDz, fERin, fERout, fEStIn, fEStOut, TGNumberEntry::GetNumber(), IsDelayed(), TMath::Min(), TGNumberEntry::SetNumber(), TMath::Sqrt(), and TMath::Tan().

void TGeoHypeEditor::DoRout (  ) 

Definition at line 320 of file TGeoHypeEditor.cxx.

References TMath::DegToRad(), DoApply(), DoModified(), fEDz, fERin, fERout, fEStIn, fEStOut, TGNumberEntry::GetNumber(), IsDelayed(), TMath::Max(), TGNumberEntry::SetNumber(), TMath::Sqrt(), and TMath::Tan().

void TGeoHypeEditor::DoDz (  ) 

Definition at line 341 of file TGeoHypeEditor.cxx.

References TMath::Abs(), TMath::DegToRad(), DoApply(), DoModified(), fEDz, fERin, fERout, fEStIn, fEStOut, TGNumberEntry::GetNumber(), IsDelayed(), TGNumberEntry::SetNumber(), TMath::Sqrt(), and TMath::Tan().

void TGeoHypeEditor::DoStIn (  ) 

Definition at line 369 of file TGeoHypeEditor.cxx.

References TMath::ATan(), TMath::DegToRad(), DoApply(), DoModified(), fEDz, fERin, fERout, fEStIn, fEStOut, TGNumberEntry::GetNumber(), IsDelayed(), TMath::RadToDeg(), TGNumberEntry::SetNumber(), TMath::Sqrt(), and TMath::Tan().

void TGeoHypeEditor::DoStOut (  ) 

Definition at line 394 of file TGeoHypeEditor.cxx.

References TMath::ATan(), TMath::DegToRad(), DoApply(), DoModified(), fEDz, fERin, fERout, fEStIn, fEStOut, TGNumberEntry::GetNumber(), IsDelayed(), TMath::RadToDeg(), TGNumberEntry::SetNumber(), TMath::Sqrt(), and TMath::Tan().

void TGeoHypeEditor::DoModified (  ) 

Definition at line 274 of file TGeoHypeEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDz(), DoName(), DoRin(), DoRout(), DoStIn(), and DoStOut().

void TGeoHypeEditor::DoName (  ) 

Definition at line 223 of file TGeoHypeEditor.cxx.

References DoModified().

void TGeoHypeEditor::DoApply (  ) 

Definition at line 230 of file TGeoHypeEditor.cxx.

References TGeoHype::ComputeBBox(), TMath::DegToRad(), TGeoShape::Draw(), fApply, fEDz, fERin, fERout, fEStIn, fEStOut, 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, TGeoHype::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), TMath::Tan(), and TGeoGedFrame::Update().

Referenced by DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), and DoUndo().

void TGeoHypeEditor::DoUndo (  ) 

Definition at line 281 of file TGeoHypeEditor.cxx.

References DoApply(), fApply, fDzi, fEDz, fERin, fERout, fEStIn, fEStOut, fRini, fRouti, fStIni, fStOuti, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoHypeEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoHypeEditor::DoRin (  ) 

void TGeoHypeEditor::DoRout (  ) 

void TGeoHypeEditor::DoDz (  ) 

void TGeoHypeEditor::DoStIn (  ) 

void TGeoHypeEditor::DoStOut (  ) 

void TGeoHypeEditor::DoModified (  ) 

void TGeoHypeEditor::DoName (  ) 

void TGeoHypeEditor::DoApply (  ) 

void TGeoHypeEditor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoHypeEditor::fRini [protected]

Definition at line 43 of file TGeoHypeEditor.h.

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

Double_t TGeoHypeEditor::fRouti [protected]

Definition at line 44 of file TGeoHypeEditor.h.

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

Double_t TGeoHypeEditor::fDzi [protected]

Definition at line 45 of file TGeoHypeEditor.h.

Referenced by DoUndo(), and SetModel().

Double_t TGeoHypeEditor::fStIni [protected]

Definition at line 46 of file TGeoHypeEditor.h.

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

Double_t TGeoHypeEditor::fStOuti [protected]

Definition at line 47 of file TGeoHypeEditor.h.

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

TString TGeoHypeEditor::fNamei [protected]

Definition at line 48 of file TGeoHypeEditor.h.

Referenced by SetModel(), and TGeoHypeEditor().

TGeoHype* TGeoHypeEditor::fShape [protected]

Definition at line 49 of file TGeoHypeEditor.h.

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

Bool_t TGeoHypeEditor::fIsModified [protected]

Definition at line 50 of file TGeoHypeEditor.h.

Referenced by TGeoHypeEditor().

Bool_t TGeoHypeEditor::fIsShapeEditable [protected]

Definition at line 51 of file TGeoHypeEditor.h.

Referenced by TGeoHypeEditor().

TGTextEntry* TGeoHypeEditor::fShapeName [protected]

Definition at line 53 of file TGeoHypeEditor.h.

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

TGNumberEntry* TGeoHypeEditor::fERin [protected]

Definition at line 54 of file TGeoHypeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), DoUndo(), SetModel(), and TGeoHypeEditor().

TGNumberEntry* TGeoHypeEditor::fERout [protected]

Definition at line 55 of file TGeoHypeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), DoUndo(), SetModel(), and TGeoHypeEditor().

TGNumberEntry* TGeoHypeEditor::fEDz [protected]

Definition at line 56 of file TGeoHypeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), DoUndo(), SetModel(), and TGeoHypeEditor().

TGNumberEntry* TGeoHypeEditor::fEStIn [protected]

Definition at line 57 of file TGeoHypeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), DoUndo(), SetModel(), and TGeoHypeEditor().

TGNumberEntry* TGeoHypeEditor::fEStOut [protected]

Definition at line 58 of file TGeoHypeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoRin(), DoRout(), DoStIn(), DoStOut(), DoUndo(), SetModel(), and TGeoHypeEditor().

TGTextButton* TGeoHypeEditor::fApply [protected]

Definition at line 59 of file TGeoHypeEditor.h.

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

TGTextButton* TGeoHypeEditor::fUndo [protected]

Definition at line 60 of file TGeoHypeEditor.h.

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

TGCheckButton* TGeoHypeEditor::fDelayed [protected]

Definition at line 61 of file TGeoHypeEditor.h.

Referenced by IsDelayed(), and TGeoHypeEditor().

TGeoHype* TGeoHypeEditor::fShape [protected]

Definition at line 49 of file TGeoHypeEditor.h.

TGTextEntry* TGeoHypeEditor::fShapeName [protected]

Definition at line 53 of file TGeoHypeEditor.h.

TGNumberEntry* TGeoHypeEditor::fERin [protected]

Definition at line 54 of file TGeoHypeEditor.h.

TGNumberEntry* TGeoHypeEditor::fERout [protected]

Definition at line 55 of file TGeoHypeEditor.h.

TGNumberEntry* TGeoHypeEditor::fEDz [protected]

Definition at line 56 of file TGeoHypeEditor.h.

TGNumberEntry* TGeoHypeEditor::fEStIn [protected]

Definition at line 57 of file TGeoHypeEditor.h.

TGNumberEntry* TGeoHypeEditor::fEStOut [protected]

Definition at line 58 of file TGeoHypeEditor.h.

TGTextButton* TGeoHypeEditor::fApply [protected]

Definition at line 59 of file TGeoHypeEditor.h.

TGTextButton* TGeoHypeEditor::fUndo [protected]

Definition at line 60 of file TGeoHypeEditor.h.

TGCheckButton* TGeoHypeEditor::fDelayed [protected]

Definition at line 61 of file TGeoHypeEditor.h.


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