TGeoRotationEditor Class Reference

#include <TGeoMatrixEditor.h>

Inheritance diagram for TGeoRotationEditor:

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

Public Member Functions

 TGeoRotationEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoRotationEditor ()
virtual void SetModel (TObject *obj)
void DoRotPhi ()
void DoRotTheta ()
void DoRotPsi ()
void DoRotAngle ()
void DoModified ()
void DoName ()
Bool_t DoParameters ()
void DoApply ()
void DoCancel ()
void DoUndo ()
 TGeoRotationEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoRotationEditor ()
virtual void SetModel (TObject *obj)
void DoRotPhi ()
void DoRotTheta ()
void DoRotPsi ()
void DoRotAngle ()
void DoModified ()
void DoName ()
Bool_t DoParameters ()
void DoApply ()
void DoCancel ()
void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

Double_t fPhii
Double_t fThetai
Double_t fPsii
Double_t fAngleX
Double_t fAngleY
Double_t fAngleZ
TString fNamei
TGeoRotation * fRotation
Bool_t fIsModified
Bool_t fIsEditable
TGTextEntry * fRotName
TGNumberEntry * fRotPhi
TGNumberEntry * fRotTheta
TGNumberEntry * fRotPsi
TGNumberEntry * fRotAxis
TGRadioButton * fRotX
TGRadioButton * fRotY
TGRadioButton * fRotZ
TGTextButton * fApply
TGTextButton * fCancel
TGTextButton * fUndo
TGeoRotation * fRotation
TGTextEntry * fRotName
TGNumberEntry * fRotPhi
TGNumberEntry * fRotTheta
TGNumberEntry * fRotPsi
TGNumberEntry * fRotAxis
TGRadioButton * fRotX
TGRadioButton * fRotY
TGRadioButton * fRotZ
TGTextButton * fApply
TGTextButton * fCancel
TGTextButton * fUndo

Detailed Description

Definition at line 91 of file TGeoMatrixEditor.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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().

Referenced by DoApply(), and DoUndo().

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]

virtual void TGeoRotationEditor::SetModel ( TObject *  obj  )  [virtual]

Implements TGedFrame.

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 (  ) 


Member Data Documentation

Double_t TGeoRotationEditor::fPhii [protected]

Definition at line 95 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), and SetModel().

Double_t TGeoRotationEditor::fThetai [protected]

Definition at line 96 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), and SetModel().

Double_t TGeoRotationEditor::fPsii [protected]

Definition at line 97 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), and SetModel().

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]

Definition at line 101 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), and SetModel().

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]

Definition at line 110 of file TGeoMatrixEditor.h.

Referenced by DoParameters().

TGRadioButton* TGeoRotationEditor::fRotY [protected]

Definition at line 111 of file TGeoMatrixEditor.h.

Referenced by DoParameters().

TGRadioButton* TGeoRotationEditor::fRotZ [protected]

Definition at line 112 of file TGeoMatrixEditor.h.

Referenced by DoParameters().

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.


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