TGeoConeEditor Class Reference

#include <TGeoConeEditor.h>

Inheritance diagram for TGeoConeEditor:

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

Public Member Functions

 TGeoConeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoConeEditor ()
virtual void SetModel (TObject *obj)
void DoRmin1 ()
void DoRmin2 ()
void DoRmax1 ()
void DoRmax2 ()
void DoDz ()
void DoModified ()
void DoName ()
virtual void DoApply ()
virtual void DoUndo ()
 TGeoConeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoConeEditor ()
virtual void SetModel (TObject *obj)
void DoRmin1 ()
void DoRmin2 ()
void DoRmax1 ()
void DoRmax2 ()
void DoDz ()
void DoModified ()
void DoName ()
virtual void DoApply ()
virtual void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const
virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const

Protected Attributes

Double_t fRmini1
Double_t fRmaxi1
Double_t fRmini2
Double_t fRmaxi2
Double_t fDzi
TString fNamei
TGeoConefShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfERmin1
TGNumberEntryfERmin2
TGNumberEntryfERmax1
TGNumberEntryfERmax2
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame
TGeoConefShape
TGTextEntryfShapeName
TGNumberEntryfERmin1
TGNumberEntryfERmin2
TGNumberEntryfERmax1
TGNumberEntryfERmax2
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame

Detailed Description

Definition at line 40 of file TGeoConeEditor.h.


Constructor & Destructor Documentation

TGeoConeEditor::TGeoConeEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 51 of file TGeoConeEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fApply, fBFrame, fDelayed, fDFrame, fDzi, fEDz, fERmax1, fERmax2, fERmin1, fERmin2, fIsModified, fIsShapeEditable, fNamei, fRmaxi1, fRmaxi2, fRmini1, fRmini2, fShape, fShapeName, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNEAPositive, kRaisedFrame, kSunkenFrame, kTRUE, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoConeEditor::~TGeoConeEditor (  )  [virtual]

Definition at line 156 of file TGeoConeEditor.cxx.

References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().

TGeoConeEditor::TGeoConeEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGeoConeEditor::~TGeoConeEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 169 of file TGeoConeEditor.cxx.

References TQObject::Connect(), fApply, fEDz, fERmax1, fERmax2, fERmin1, fERmin2, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by TGeoConeSegEditor::ConnectSignals2Slots(), and SetModel().

Bool_t TGeoConeEditor::IsDelayed (  )  const [protected]

Definition at line 218 of file TGeoConeEditor.cxx.

References fDelayed, TGButton::GetState(), and kButtonDown.

Referenced by DoDz(), TGeoConeSegEditor::DoPhi(), TGeoConeSegEditor::DoPhi1(), TGeoConeSegEditor::DoPhi2(), DoRmax1(), DoRmax2(), DoRmin1(), and DoRmin2().

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

Implements TGedFrame.

Definition at line 190 of file TGeoConeEditor.cxx.

References xmlio::Class, ConnectSignals2Slots(), fApply, fDzi, fEDz, fERmax1, fERmax2, fERmin1, fERmin2, TGedFrame::fInit, fNamei, fRmaxi1, fRmaxi2, fRmini1, fRmini2, fShape, fShapeName, fUndo, TGeoCone::GetDz(), TGeoShape::GetName(), TGeoCone::GetRmax1(), TGeoCone::GetRmax2(), TGeoCone::GetRmin1(), TGeoCone::GetRmin2(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGTextEntry::SetText().

void TGeoConeEditor::DoRmin1 (  ) 

Definition at line 280 of file TGeoConeEditor.cxx.

References DoApply(), DoModified(), fERmax1, fERmin1, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoConeEditor::DoRmin2 (  ) 

Definition at line 312 of file TGeoConeEditor.cxx.

References DoApply(), DoModified(), fERmax2, fERmin2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoConeEditor::DoRmax1 (  ) 

Definition at line 298 of file TGeoConeEditor.cxx.

References DoApply(), DoModified(), fERmax1, fERmin1, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoConeEditor::DoRmax2 (  ) 

Definition at line 330 of file TGeoConeEditor.cxx.

References DoApply(), DoModified(), fERmax2, fERmin2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoConeEditor::DoDz (  ) 

Definition at line 344 of file TGeoConeEditor.cxx.

References DoApply(), DoModified(), fEDz, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoConeEditor::DoModified (  ) 

Definition at line 259 of file TGeoConeEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDz(), DoName(), TGeoConeSegEditor::DoPhi(), TGeoConeSegEditor::DoPhi1(), TGeoConeSegEditor::DoPhi2(), DoRmax1(), DoRmax2(), DoRmin1(), and DoRmin2().

void TGeoConeEditor::DoName (  ) 

Definition at line 225 of file TGeoConeEditor.cxx.

References DoModified().

void TGeoConeEditor::DoApply (  )  [virtual]

Definition at line 232 of file TGeoConeEditor.cxx.

References TGeoCone::ComputeBBox(), TGeoShape::Draw(), fApply, fEDz, fERmax1, fERmax2, fERmin1, fERmin2, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoCone::SetConeDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoDz(), DoRmax1(), DoRmax2(), DoRmin1(), DoRmin2(), and DoUndo().

void TGeoConeEditor::DoUndo (  )  [virtual]

Definition at line 266 of file TGeoConeEditor.cxx.

References DoApply(), fApply, fDzi, fEDz, fERmax1, fERmax2, fERmin1, fERmin2, fRmaxi1, fRmaxi2, fRmini1, fRmini2, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoConeEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoConeEditor::DoRmin1 (  ) 

void TGeoConeEditor::DoRmin2 (  ) 

void TGeoConeEditor::DoRmax1 (  ) 

void TGeoConeEditor::DoRmax2 (  ) 

void TGeoConeEditor::DoDz (  ) 

void TGeoConeEditor::DoModified (  ) 

void TGeoConeEditor::DoName (  ) 

virtual void TGeoConeEditor::DoApply (  )  [virtual]

virtual void TGeoConeEditor::DoUndo (  )  [virtual]


Member Data Documentation

Double_t TGeoConeEditor::fRmini1 [protected]

Definition at line 44 of file TGeoConeEditor.h.

Referenced by DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

Double_t TGeoConeEditor::fRmaxi1 [protected]

Definition at line 45 of file TGeoConeEditor.h.

Referenced by DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

Double_t TGeoConeEditor::fRmini2 [protected]

Definition at line 46 of file TGeoConeEditor.h.

Referenced by DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

Double_t TGeoConeEditor::fRmaxi2 [protected]

Definition at line 47 of file TGeoConeEditor.h.

Referenced by DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

Double_t TGeoConeEditor::fDzi [protected]

Definition at line 48 of file TGeoConeEditor.h.

Referenced by DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TString TGeoConeEditor::fNamei [protected]

Definition at line 49 of file TGeoConeEditor.h.

Referenced by TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGeoCone* TGeoConeEditor::fShape [protected]

Definition at line 50 of file TGeoConeEditor.h.

Referenced by DoApply(), TGeoConeSegEditor::DoApply(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

Bool_t TGeoConeEditor::fIsModified [protected]

Definition at line 51 of file TGeoConeEditor.h.

Referenced by TGeoConeEditor().

Bool_t TGeoConeEditor::fIsShapeEditable [protected]

Definition at line 52 of file TGeoConeEditor.h.

Referenced by TGeoConeEditor().

TGTextEntry* TGeoConeEditor::fShapeName [protected]

Definition at line 53 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGNumberEntry* TGeoConeEditor::fERmin1 [protected]

Definition at line 54 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoRmax1(), DoRmin1(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGNumberEntry* TGeoConeEditor::fERmin2 [protected]

Definition at line 55 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoRmax2(), DoRmin2(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGNumberEntry* TGeoConeEditor::fERmax1 [protected]

Definition at line 56 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoRmax1(), DoRmin1(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGNumberEntry* TGeoConeEditor::fERmax2 [protected]

Definition at line 57 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoRmax2(), DoRmin2(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGNumberEntry* TGeoConeEditor::fEDz [protected]

Definition at line 58 of file TGeoConeEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoDz(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGTextButton* TGeoConeEditor::fApply [protected]

Definition at line 59 of file TGeoConeEditor.h.

Referenced by TGeoConeSegEditor::ConnectSignals2Slots(), ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoModified(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGTextButton* TGeoConeEditor::fUndo [protected]

Definition at line 60 of file TGeoConeEditor.h.

Referenced by TGeoConeSegEditor::ConnectSignals2Slots(), ConnectSignals2Slots(), DoApply(), TGeoConeSegEditor::DoApply(), DoUndo(), TGeoConeSegEditor::DoUndo(), TGeoConeSegEditor::SetModel(), SetModel(), and TGeoConeEditor().

TGCompositeFrame* TGeoConeEditor::fBFrame [protected]

Definition at line 61 of file TGeoConeEditor.h.

Referenced by TGeoConeEditor(), and TGeoConeSegEditor::TGeoConeSegEditor().

TGCheckButton* TGeoConeEditor::fDelayed [protected]

Definition at line 62 of file TGeoConeEditor.h.

Referenced by IsDelayed(), and TGeoConeEditor().

TGCompositeFrame* TGeoConeEditor::fDFrame [protected]

Definition at line 63 of file TGeoConeEditor.h.

Referenced by TGeoConeEditor(), and TGeoConeSegEditor::TGeoConeSegEditor().

TGeoCone* TGeoConeEditor::fShape [protected]

Definition at line 50 of file TGeoConeEditor.h.

TGTextEntry* TGeoConeEditor::fShapeName [protected]

Definition at line 53 of file TGeoConeEditor.h.

TGNumberEntry* TGeoConeEditor::fERmin1 [protected]

Definition at line 54 of file TGeoConeEditor.h.

TGNumberEntry* TGeoConeEditor::fERmin2 [protected]

Definition at line 55 of file TGeoConeEditor.h.

TGNumberEntry* TGeoConeEditor::fERmax1 [protected]

Definition at line 56 of file TGeoConeEditor.h.

TGNumberEntry* TGeoConeEditor::fERmax2 [protected]

Definition at line 57 of file TGeoConeEditor.h.

TGNumberEntry* TGeoConeEditor::fEDz [protected]

Definition at line 58 of file TGeoConeEditor.h.

TGTextButton* TGeoConeEditor::fApply [protected]

Definition at line 59 of file TGeoConeEditor.h.

TGTextButton* TGeoConeEditor::fUndo [protected]

Definition at line 60 of file TGeoConeEditor.h.

TGCompositeFrame* TGeoConeEditor::fBFrame [protected]

Definition at line 61 of file TGeoConeEditor.h.

TGCheckButton* TGeoConeEditor::fDelayed [protected]

Definition at line 62 of file TGeoConeEditor.h.

TGCompositeFrame* TGeoConeEditor::fDFrame [protected]

Definition at line 63 of file TGeoConeEditor.h.


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