#include <TGeoMatrixEditor.h>
Inheritance diagram for TGeoRotationEditor:
Definition at line 91 of file TGeoMatrixEditor.h.
TGeoRotationEditor::TGeoRotationEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGeoRotationEditor::~TGeoRotationEditor | ( | ) | [virtual] |
Definition at line 386 of file TGeoMatrixEditor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoRotationEditor::TGeoRotationEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoRotationEditor::~TGeoRotationEditor | ( | ) | [virtual] |
void TGeoRotationEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 399 of file TGeoMatrixEditor.cxx.
References TQObject::Connect(), fApply, fCancel, TGedFrame::fInit, fRotAxis, fRotName, fRotPhi, fRotPsi, fRotTheta, fUndo, and kFALSE.
Referenced by SetModel().
void TGeoRotationEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 415 of file TGeoMatrixEditor.cxx.
References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fCancel, TGedFrame::fInit, fNamei, fPhii, fPsii, fRotation, fRotAxis, fRotName, fRotPhi, fRotPsi, fRotTheta, fThetai, fUndo, TGeoRotation::GetAngles(), TNamed::GetName(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.
void TGeoRotationEditor::DoRotPhi | ( | ) |
Definition at line 453 of file TGeoMatrixEditor.cxx.
References DoModified(), fRotPhi, TGNumberEntry::GetNumber(), and TGNumberEntry::SetNumber().
void TGeoRotationEditor::DoRotTheta | ( | ) |
Definition at line 462 of file TGeoMatrixEditor.cxx.
References DoModified(), fRotTheta, TGNumberEntry::GetNumber(), and TGNumberEntry::SetNumber().
void TGeoRotationEditor::DoRotPsi | ( | ) |
Definition at line 471 of file TGeoMatrixEditor.cxx.
References DoModified(), fRotPsi, TGNumberEntry::GetNumber(), and TGNumberEntry::SetNumber().
void TGeoRotationEditor::DoRotAngle | ( | ) |
Definition at line 480 of file TGeoMatrixEditor.cxx.
References DoModified(), fRotAxis, TGNumberEntry::GetNumber(), and TGNumberEntry::SetNumber().
void TGeoRotationEditor::DoModified | ( | ) |
Definition at line 545 of file TGeoMatrixEditor.cxx.
References fApply, fCancel, fUndo, TGButton::GetState(), kButtonDisabled, and TGButton::SetEnabled().
Referenced by DoRotAngle(), DoRotPhi(), DoRotPsi(), and DoRotTheta().
void TGeoRotationEditor::DoName | ( | ) |
Definition at line 444 of file TGeoMatrixEditor.cxx.
References fRotation, fRotName, TNamed::GetName(), TGTextEntry::GetText(), name, and TNamed::SetName().
Referenced by DoApply().
Bool_t TGeoRotationEditor::DoParameters | ( | ) |
Definition at line 489 of file TGeoMatrixEditor.cxx.
References TGeoGedFrame::fPad, fRotation, fRotAxis, fRotPhi, fRotPsi, fRotTheta, fRotX, fRotY, fRotZ, fUndo, TGeoRotation::GetAngles(), TGNumberEntry::GetNumber(), TGRadioButton::IsOn(), kFALSE, kTRUE, TVirtualPad::Modified(), phi, TGeoRotation::RotateX(), TGeoRotation::RotateY(), TGeoRotation::RotateZ(), TGeoRotation::SetAngles(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), theta, and TVirtualPad::Update().
void TGeoRotationEditor::DoApply | ( | ) |
Definition at line 518 of file TGeoMatrixEditor.cxx.
References DoName(), DoParameters(), fApply, fCancel, fUndo, kFALSE, and TGButton::SetEnabled().
void TGeoRotationEditor::DoCancel | ( | ) |
Definition at line 530 of file TGeoMatrixEditor.cxx.
References TString::Data(), fApply, fCancel, fNamei, fPhii, fPsii, fRotAxis, fRotName, fRotPhi, fRotPsi, fRotTheta, fThetai, fUndo, kFALSE, TString::Length(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGTextEntry::SetText().
Referenced by DoUndo().
void TGeoRotationEditor::DoUndo | ( | ) |
Definition at line 553 of file TGeoMatrixEditor.cxx.
References DoCancel(), DoParameters(), fApply, fCancel, fUndo, kFALSE, and TGButton::SetEnabled().
virtual void TGeoRotationEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
void TGeoRotationEditor::DoRotPhi | ( | ) |
void TGeoRotationEditor::DoRotTheta | ( | ) |
void TGeoRotationEditor::DoRotPsi | ( | ) |
void TGeoRotationEditor::DoRotAngle | ( | ) |
void TGeoRotationEditor::DoModified | ( | ) |
void TGeoRotationEditor::DoName | ( | ) |
Bool_t TGeoRotationEditor::DoParameters | ( | ) |
void TGeoRotationEditor::DoApply | ( | ) |
void TGeoRotationEditor::DoCancel | ( | ) |
void TGeoRotationEditor::DoUndo | ( | ) |
Double_t TGeoRotationEditor::fPhii [protected] |
Double_t TGeoRotationEditor::fThetai [protected] |
Double_t TGeoRotationEditor::fPsii [protected] |
Double_t TGeoRotationEditor::fAngleX [protected] |
Definition at line 98 of file TGeoMatrixEditor.h.
Double_t TGeoRotationEditor::fAngleY [protected] |
Definition at line 99 of file TGeoMatrixEditor.h.
Double_t TGeoRotationEditor::fAngleZ [protected] |
Definition at line 100 of file TGeoMatrixEditor.h.
TString TGeoRotationEditor::fNamei [protected] |
TGeoRotation* TGeoRotationEditor::fRotation [protected] |
Definition at line 102 of file TGeoMatrixEditor.h.
Referenced by DoName(), DoParameters(), and SetModel().
Bool_t TGeoRotationEditor::fIsModified [protected] |
Definition at line 103 of file TGeoMatrixEditor.h.
Bool_t TGeoRotationEditor::fIsEditable [protected] |
Definition at line 104 of file TGeoMatrixEditor.h.
TGTextEntry* TGeoRotationEditor::fRotName [protected] |
Definition at line 105 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoCancel(), DoName(), and SetModel().
TGNumberEntry* TGeoRotationEditor::fRotPhi [protected] |
Definition at line 106 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), DoRotPhi(), and SetModel().
TGNumberEntry* TGeoRotationEditor::fRotTheta [protected] |
Definition at line 107 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), DoRotTheta(), and SetModel().
TGNumberEntry* TGeoRotationEditor::fRotPsi [protected] |
Definition at line 108 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), DoRotPsi(), and SetModel().
TGNumberEntry* TGeoRotationEditor::fRotAxis [protected] |
Definition at line 109 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), DoRotAngle(), and SetModel().
TGRadioButton* TGeoRotationEditor::fRotX [protected] |
TGRadioButton* TGeoRotationEditor::fRotY [protected] |
TGRadioButton* TGeoRotationEditor::fRotZ [protected] |
TGTextButton* TGeoRotationEditor::fApply [protected] |
Definition at line 113 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoCancel(), DoModified(), DoUndo(), and SetModel().
TGTextButton* TGeoRotationEditor::fCancel [protected] |
Definition at line 114 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoCancel(), DoModified(), DoUndo(), and SetModel().
TGTextButton* TGeoRotationEditor::fUndo [protected] |
Definition at line 115 of file TGeoMatrixEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoCancel(), DoModified(), DoParameters(), DoUndo(), and SetModel().
TGeoRotation* TGeoRotationEditor::fRotation [protected] |
Definition at line 102 of file TGeoMatrixEditor.h.
TGTextEntry* TGeoRotationEditor::fRotName [protected] |
Definition at line 105 of file TGeoMatrixEditor.h.
TGNumberEntry* TGeoRotationEditor::fRotPhi [protected] |
Definition at line 106 of file TGeoMatrixEditor.h.
TGNumberEntry* TGeoRotationEditor::fRotTheta [protected] |
Definition at line 107 of file TGeoMatrixEditor.h.
TGNumberEntry* TGeoRotationEditor::fRotPsi [protected] |
Definition at line 108 of file TGeoMatrixEditor.h.
TGNumberEntry* TGeoRotationEditor::fRotAxis [protected] |
Definition at line 109 of file TGeoMatrixEditor.h.
TGRadioButton* TGeoRotationEditor::fRotX [protected] |
Definition at line 110 of file TGeoMatrixEditor.h.
TGRadioButton* TGeoRotationEditor::fRotY [protected] |
Definition at line 111 of file TGeoMatrixEditor.h.
TGRadioButton* TGeoRotationEditor::fRotZ [protected] |
Definition at line 112 of file TGeoMatrixEditor.h.
TGTextButton* TGeoRotationEditor::fApply [protected] |
Definition at line 113 of file TGeoMatrixEditor.h.
TGTextButton* TGeoRotationEditor::fCancel [protected] |
Definition at line 114 of file TGeoMatrixEditor.h.
TGTextButton* TGeoRotationEditor::fUndo [protected] |
Definition at line 115 of file TGeoMatrixEditor.h.