TGeoParaEditor Class Reference

#include <TGeoParaEditor.h>

Inheritance diagram for TGeoParaEditor:

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

Public Member Functions

 TGeoParaEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoParaEditor ()
virtual void SetModel (TObject *obj)
void DoX ()
void DoY ()
void DoZ ()
void DoAlpha ()
void DoTheta ()
void DoPhi ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoParaEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoParaEditor ()
virtual void SetModel (TObject *obj)
void DoX ()
void DoY ()
void DoZ ()
void DoAlpha ()
void DoTheta ()
void DoPhi ()
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 fXi
Double_t fYi
Double_t fZi
Double_t fAlphai
Double_t fThetai
Double_t fPhii
TString fNamei
TGeoParafShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfEDx
TGNumberEntryfEDy
TGNumberEntryfEDz
TGNumberEntryfEAlpha
TGNumberEntryfETheta
TGNumberEntryfEPhi
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoParafShape
TGTextEntryfShapeName
TGNumberEntryfEDx
TGNumberEntryfEDy
TGNumberEntryfEDz
TGNumberEntryfEAlpha
TGNumberEntryfETheta
TGNumberEntryfEPhi
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoParaEditor.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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

Definition at line 283 of file TGeoParaEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoAlpha(), DoName(), DoPhi(), DoTheta(), DoX(), DoY(), and DoZ().

void TGeoParaEditor::DoName (  ) 

Definition at line 238 of file TGeoParaEditor.cxx.

References DoModified().

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

Definition at line 290 of file TGeoParaEditor.cxx.

References DoApply(), fAlphai, fApply, fEAlpha, fEDx, fEDy, fEDz, fEPhi, fETheta, fPhii, fThetai, fUndo, fXi, fYi, fZi, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoParaEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

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


Member Data Documentation

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]

Definition at line 49 of file TGeoParaEditor.h.

Referenced by SetModel(), and TGeoParaEditor().

TGeoPara* TGeoParaEditor::fShape [protected]

Definition at line 50 of file TGeoParaEditor.h.

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

Bool_t TGeoParaEditor::fIsModified [protected]

Definition at line 51 of file TGeoParaEditor.h.

Referenced by TGeoParaEditor().

Bool_t TGeoParaEditor::fIsShapeEditable [protected]

Definition at line 52 of file TGeoParaEditor.h.

Referenced by TGeoParaEditor().

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]

Definition at line 63 of file TGeoParaEditor.h.

Referenced by IsDelayed(), and TGeoParaEditor().

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.


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