#include <TGeoTubeEditor.h>
Inheritance diagram for TGeoCtubEditor:
Public Member Functions | |
TGeoCtubEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGeoCtubEditor () |
virtual void | SetModel (TObject *obj) |
void | DoThlo () |
void | DoPhlo () |
void | DoThhi () |
void | DoPhhi () |
virtual void | DoApply () |
virtual void | DoUndo () |
TGeoCtubEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGeoCtubEditor () |
virtual void | SetModel (TObject *obj) |
void | DoThlo () |
void | DoPhlo () |
void | DoThhi () |
void | DoPhhi () |
virtual void | DoApply () |
virtual void | DoUndo () |
Protected Attributes | |
Double_t | fThlo |
Double_t | fPhlo |
Double_t | fThhi |
Double_t | fPhhi |
TGNumberEntry * | fEThlo |
TGNumberEntry * | fEPhlo |
TGNumberEntry * | fEThhi |
TGNumberEntry * | fEPhhi |
TGNumberEntry * | fEThlo |
TGNumberEntry * | fEPhlo |
TGNumberEntry * | fEThhi |
TGNumberEntry * | fEPhhi |
Definition at line 131 of file TGeoTubeEditor.h.
TGeoCtubEditor::TGeoCtubEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 534 of file TGeoTubeEditor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TQObject::Connect(), TGeoTubeEditor::fBFrame, TGeoTubeEditor::fDFrame, fEPhhi, fEPhlo, fEThhi, fEThlo, TGNumberEntry::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEANonNegative, kRaisedFrame, kVerticalFrame, TGedFrame::MakeTitle(), TGeoTabManager::MoveFrame(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().
TGeoCtubEditor::~TGeoCtubEditor | ( | ) | [virtual] |
Definition at line 604 of file TGeoTubeEditor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoCtubEditor::TGeoCtubEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoCtubEditor::~TGeoCtubEditor | ( | ) | [virtual] |
void TGeoCtubEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
Definition at line 617 of file TGeoTubeEditor.cxx.
References TMath::ACos(), TMath::ATan2(), xmlio::Class, TGeoTubeSegEditor::ConnectSignals2Slots(), TGeoTubeEditor::fApply, TGeoTubeEditor::fDzi, TGeoTubeEditor::fEDz, fEPhhi, TGeoTubeSegEditor::fEPhi1, TGeoTubeSegEditor::fEPhi2, fEPhlo, TGeoTubeEditor::fERmax, TGeoTubeEditor::fERmin, fEThhi, fEThlo, TGedFrame::fInit, TGeoTubeEditor::fNamei, fPhhi, fPhlo, TGeoTubeSegEditor::fPmaxi, TGeoTubeSegEditor::fPmini, TGeoTubeEditor::fRmaxi, TGeoTubeEditor::fRmini, TGeoTubeEditor::fShape, TGeoTubeEditor::fShapeName, TGeoTubeSegEditor::fSPhi, fThhi, fThlo, TGeoTubeEditor::fUndo, TGeoTube::GetDz(), TGeoShape::GetName(), TGeoTube::GetRmax(), TGeoTube::GetRmin(), kFALSE, TMath::RadToDeg(), TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGDoubleSlider::SetPosition(), and TGTextEntry::SetText().
void TGeoCtubEditor::DoThlo | ( | ) |
Definition at line 657 of file TGeoTubeEditor.cxx.
References DoApply(), TGeoTubeEditor::DoModified(), fEThlo, TGNumberEntry::GetNumber(), TGeoTubeEditor::IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoCtubEditor::DoPhlo | ( | ) |
Definition at line 668 of file TGeoTubeEditor.cxx.
References DoApply(), TGeoTubeEditor::DoModified(), fEPhlo, TGNumberEntry::GetNumber(), TGeoTubeEditor::IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoCtubEditor::DoThhi | ( | ) |
Definition at line 681 of file TGeoTubeEditor.cxx.
References DoApply(), TGeoTubeEditor::DoModified(), fEThhi, TGNumberEntry::GetNumber(), TGeoTubeEditor::IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoCtubEditor::DoPhhi | ( | ) |
Definition at line 691 of file TGeoTubeEditor.cxx.
References DoApply(), TGeoTubeEditor::DoModified(), fEPhhi, TGNumberEntry::GetNumber(), TGeoTubeEditor::IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoCtubEditor::DoApply | ( | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
Definition at line 704 of file TGeoTubeEditor.cxx.
References TGeoTube::ComputeBBox(), TMath::Cos(), TMath::DegToRad(), TGeoShape::Draw(), TGeoTubeEditor::fApply, TGeoTubeEditor::fEDz, fEPhhi, TGeoTubeSegEditor::fEPhi1, TGeoTubeSegEditor::fEPhi2, fEPhlo, TGeoTubeEditor::fERmax, TGeoTubeEditor::fERmin, fEThhi, fEThlo, TGeoTubeSegEditor::fLock, TGeoGedFrame::fPad, TGeoTubeEditor::fShape, TGeoTubeEditor::fShapeName, TGeoTubeSegEditor::fSPhi, TGeoTubeEditor::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(), TView::ShowAxis(), TMath::Sin(), tz, and TGeoGedFrame::Update().
Referenced by DoPhhi(), DoPhlo(), DoThhi(), DoThlo(), and DoUndo().
void TGeoCtubEditor::DoUndo | ( | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
Definition at line 747 of file TGeoTubeEditor.cxx.
References DoApply(), TGeoTubeEditor::fApply, TGeoTubeEditor::fDzi, TGeoTubeEditor::fEDz, fEPhhi, TGeoTubeSegEditor::fEPhi1, TGeoTubeSegEditor::fEPhi2, fEPhlo, TGeoTubeEditor::fERmax, TGeoTubeEditor::fERmin, fEThhi, fEThlo, fPhhi, fPhlo, TGeoTubeSegEditor::fPmaxi, TGeoTubeSegEditor::fPmini, TGeoTubeEditor::fRmaxi, TGeoTubeEditor::fRmini, TGeoTubeSegEditor::fSPhi, fThhi, fThlo, TGeoTubeEditor::fUndo, kFALSE, TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGDoubleSlider::SetPosition().
virtual void TGeoCtubEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
void TGeoCtubEditor::DoThlo | ( | ) |
void TGeoCtubEditor::DoPhlo | ( | ) |
void TGeoCtubEditor::DoThhi | ( | ) |
void TGeoCtubEditor::DoPhhi | ( | ) |
virtual void TGeoCtubEditor::DoApply | ( | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
virtual void TGeoCtubEditor::DoUndo | ( | ) | [virtual] |
Reimplemented from TGeoTubeSegEditor.
Double_t TGeoCtubEditor::fThlo [protected] |
Double_t TGeoCtubEditor::fPhlo [protected] |
Double_t TGeoCtubEditor::fThhi [protected] |
Double_t TGeoCtubEditor::fPhhi [protected] |
TGNumberEntry* TGeoCtubEditor::fEThlo [protected] |
Definition at line 138 of file TGeoTubeEditor.h.
Referenced by DoApply(), DoThlo(), DoUndo(), SetModel(), and TGeoCtubEditor().
TGNumberEntry* TGeoCtubEditor::fEPhlo [protected] |
Definition at line 139 of file TGeoTubeEditor.h.
Referenced by DoApply(), DoPhlo(), DoUndo(), SetModel(), and TGeoCtubEditor().
TGNumberEntry* TGeoCtubEditor::fEThhi [protected] |
Definition at line 140 of file TGeoTubeEditor.h.
Referenced by DoApply(), DoThhi(), DoUndo(), SetModel(), and TGeoCtubEditor().
TGNumberEntry* TGeoCtubEditor::fEPhhi [protected] |
Definition at line 141 of file TGeoTubeEditor.h.
Referenced by DoApply(), DoPhhi(), DoUndo(), SetModel(), and TGeoCtubEditor().
TGNumberEntry* TGeoCtubEditor::fEThlo [protected] |
Definition at line 138 of file TGeoTubeEditor.h.
TGNumberEntry* TGeoCtubEditor::fEPhlo [protected] |
Definition at line 139 of file TGeoTubeEditor.h.
TGNumberEntry* TGeoCtubEditor::fEThhi [protected] |
Definition at line 140 of file TGeoTubeEditor.h.
TGNumberEntry* TGeoCtubEditor::fEPhhi [protected] |
Definition at line 141 of file TGeoTubeEditor.h.