#include <TGeoParaEditor.h>
Inheritance diagram for TGeoParaEditor:
Definition at line 39 of file TGeoParaEditor.h.
TGeoParaEditor::TGeoParaEditor | ( | 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 TGeoParaEditor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fAlphai, fApply, fDelayed, fEAlpha, fEDx, fEDy, fEDz, fEPhi, fETheta, fIsModified, fIsShapeEditable, fNamei, fPhii, fShape, fShapeName, fThetai, fUndo, fXi, fYi, fZi, 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().
TGeoParaEditor::~TGeoParaEditor | ( | ) | [virtual] |
Definition at line 161 of file TGeoParaEditor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoParaEditor::TGeoParaEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoParaEditor::~TGeoParaEditor | ( | ) | [virtual] |
void TGeoParaEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 174 of file TGeoParaEditor.cxx.
References TQObject::Connect(), fApply, fEAlpha, fEDx, fEDy, fEDz, fEPhi, fETheta, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.
Referenced by SetModel().
Bool_t TGeoParaEditor::IsDelayed | ( | ) | const [protected] |
Definition at line 231 of file TGeoParaEditor.cxx.
References fDelayed, TGButton::GetState(), and kButtonDown.
Referenced by DoAlpha(), DoPhi(), DoTheta(), DoX(), DoY(), and DoZ().
void TGeoParaEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 197 of file TGeoParaEditor.cxx.
References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fAlphai, fApply, fEAlpha, fEDx, fEDy, fEDz, fEPhi, fETheta, TGedFrame::fInit, fNamei, fPhii, fShape, fShapeName, fThetai, fUndo, fXi, fYi, fZi, TGeoPara::GetAlpha(), TGeoShape::GetName(), TGeoPara::GetPhi(), TGeoPara::GetTheta(), TGeoPara::GetX(), TGeoPara::GetY(), TGeoPara::GetZ(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.
void TGeoParaEditor::DoX | ( | ) |
Definition at line 305 of file TGeoParaEditor.cxx.
References DoApply(), DoModified(), fEDx, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoParaEditor::DoY | ( | ) |
Definition at line 318 of file TGeoParaEditor.cxx.
References DoApply(), DoModified(), fEDy, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoParaEditor::DoZ | ( | ) |
Definition at line 331 of file TGeoParaEditor.cxx.
References DoApply(), DoModified(), fEDz, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoParaEditor::DoAlpha | ( | ) |
Definition at line 344 of file TGeoParaEditor.cxx.
References TMath::Abs(), DoApply(), DoModified(), fEAlpha, TGNumberEntry::GetNumber(), IsDelayed(), TGNumberEntry::SetNumber(), and TMath::Sign().
void TGeoParaEditor::DoTheta | ( | ) |
Definition at line 357 of file TGeoParaEditor.cxx.
References DoApply(), DoModified(), fETheta, TGNumberEntry::GetNumber(), IsDelayed(), TGNumberEntry::SetNumber(), and theta.
void TGeoParaEditor::DoPhi | ( | ) |
Definition at line 374 of file TGeoParaEditor.cxx.
References DoApply(), DoModified(), fEPhi, TGNumberEntry::GetNumber(), IsDelayed(), phi, and TGNumberEntry::SetNumber().
void TGeoParaEditor::DoModified | ( | ) |
void TGeoParaEditor::DoName | ( | ) |
void TGeoParaEditor::DoApply | ( | ) |
Definition at line 245 of file TGeoParaEditor.cxx.
References TGeoPara::ComputeBBox(), TGeoShape::Draw(), fApply, fEAlpha, fEDx, fEDy, fEDz, fEPhi, fETheta, 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, TGeoPara::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), theta, and TGeoGedFrame::Update().
Referenced by DoAlpha(), DoPhi(), DoTheta(), DoUndo(), DoX(), DoY(), and DoZ().
void TGeoParaEditor::DoUndo | ( | ) |
virtual void TGeoParaEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Bool_t TGeoParaEditor::IsDelayed | ( | ) | const [protected] |
void TGeoParaEditor::DoX | ( | ) |
void TGeoParaEditor::DoY | ( | ) |
void TGeoParaEditor::DoZ | ( | ) |
void TGeoParaEditor::DoAlpha | ( | ) |
void TGeoParaEditor::DoTheta | ( | ) |
void TGeoParaEditor::DoPhi | ( | ) |
void TGeoParaEditor::DoModified | ( | ) |
void TGeoParaEditor::DoName | ( | ) |
void TGeoParaEditor::DoApply | ( | ) |
void TGeoParaEditor::DoUndo | ( | ) |
Double_t TGeoParaEditor::fXi [protected] |
Definition at line 43 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
Double_t TGeoParaEditor::fYi [protected] |
Definition at line 44 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
Double_t TGeoParaEditor::fZi [protected] |
Definition at line 45 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
Double_t TGeoParaEditor::fAlphai [protected] |
Definition at line 46 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
Double_t TGeoParaEditor::fThetai [protected] |
Definition at line 47 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
Double_t TGeoParaEditor::fPhii [protected] |
Definition at line 48 of file TGeoParaEditor.h.
Referenced by DoUndo(), SetModel(), and TGeoParaEditor().
TString TGeoParaEditor::fNamei [protected] |
TGeoPara* TGeoParaEditor::fShape [protected] |
Definition at line 50 of file TGeoParaEditor.h.
Referenced by DoApply(), SetModel(), and TGeoParaEditor().
Bool_t TGeoParaEditor::fIsModified [protected] |
Bool_t TGeoParaEditor::fIsShapeEditable [protected] |
TGTextEntry* TGeoParaEditor::fShapeName [protected] |
Definition at line 54 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fEDx [protected] |
Definition at line 55 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), DoX(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fEDy [protected] |
Definition at line 56 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), DoY(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fEDz [protected] |
Definition at line 57 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), DoZ(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fEAlpha [protected] |
Definition at line 58 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoAlpha(), DoApply(), DoUndo(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fETheta [protected] |
Definition at line 59 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoTheta(), DoUndo(), SetModel(), and TGeoParaEditor().
TGNumberEntry* TGeoParaEditor::fEPhi [protected] |
Definition at line 60 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoPhi(), DoUndo(), SetModel(), and TGeoParaEditor().
TGTextButton* TGeoParaEditor::fApply [protected] |
Definition at line 61 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoModified(), DoUndo(), SetModel(), and TGeoParaEditor().
TGTextButton* TGeoParaEditor::fUndo [protected] |
Definition at line 62 of file TGeoParaEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), SetModel(), and TGeoParaEditor().
TGCheckButton* TGeoParaEditor::fDelayed [protected] |
TGeoPara* TGeoParaEditor::fShape [protected] |
Definition at line 50 of file TGeoParaEditor.h.
TGTextEntry* TGeoParaEditor::fShapeName [protected] |
Definition at line 54 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fEDx [protected] |
Definition at line 55 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fEDy [protected] |
Definition at line 56 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fEDz [protected] |
Definition at line 57 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fEAlpha [protected] |
Definition at line 58 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fETheta [protected] |
Definition at line 59 of file TGeoParaEditor.h.
TGNumberEntry* TGeoParaEditor::fEPhi [protected] |
Definition at line 60 of file TGeoParaEditor.h.
TGTextButton* TGeoParaEditor::fApply [protected] |
Definition at line 61 of file TGeoParaEditor.h.
TGTextButton* TGeoParaEditor::fUndo [protected] |
Definition at line 62 of file TGeoParaEditor.h.
TGCheckButton* TGeoParaEditor::fDelayed [protected] |
Definition at line 63 of file TGeoParaEditor.h.