#include <TGeoPconEditor.h>
Inheritance diagram for TGeoPconEditor:
Definition at line 41 of file TGeoPconEditor.h.
TGeoPconEditor::TGeoPconEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 49 of file TGeoPconEditor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), CreateSections(), fApply, fBFrame, fCan, fDelayed, fDFrame, fDPhii, fEDPhi, fENz, fEPhi1, fIsModified, fIsShapeEditable, fLHsect, fNsecti, fNsections, fPhi1i, fRmaxi, fRmini, fSections, fShape, fShapeName, fUndo, fZi, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), TGCanvas::GetViewPort(), kDoubleBorder, kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, kLHintsTop, TGNumberFormat::kNEAPositive, TGNumberFormat::kNESInteger, kSunkenFrame, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGCanvas::SetContainer(), TGNumberEntry::SetNumAttr(), TGNumberEntry::SetNumStyle(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().
TGeoPconEditor::~TGeoPconEditor | ( | ) | [virtual] |
Definition at line 149 of file TGeoPconEditor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, fRmaxi, fRmini, fSections, fZi, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoPconEditor::TGeoPconEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoPconEditor::~TGeoPconEditor | ( | ) | [virtual] |
void TGeoPconEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 166 of file TGeoPconEditor.cxx.
References TQObject::Connect(), fApply, fEDPhi, fENz, fEPhi1, TGedFrame::fInit, fShapeName, fUndo, and kFALSE.
Referenced by SetModel(), and TGeoPgonEditor::SetModel().
Definition at line 246 of file TGeoPconEditor.cxx.
References TObjArray::At(), fNsections, fSections, TGeoPconSection::GetRmax(), TGeoPconSection::GetRmin(), TGeoPconSection::GetZ(), kFALSE, kTRUE, TGeoPconSection::SetRmax(), TGeoPconSection::SetRmin(), and TGeoPconSection::SetZ().
Referenced by TGeoPgonEditor::DoApply(), DoApply(), and DoNz().
Bool_t TGeoPconEditor::IsDelayed | ( | ) | const [protected] |
Definition at line 294 of file TGeoPconEditor.cxx.
References fDelayed, TGButton::GetState(), and kButtonDown.
Referenced by TGeoPgonEditor::DoNedges(), DoNz(), DoPhi(), and DoSectionChange().
void TGeoPconEditor::CreateSections | ( | Int_t | inew | ) | [protected] |
Definition at line 210 of file TGeoPconEditor.cxx.
References TObjArray::Add(), TObjArray::At(), fCan, fLHsect, fNsections, fSections, TGCanvas::GetContainer(), TGeoPconSection::HideDaughters(), TGCompositeFrame::HideFrame(), TGCanvas::Layout(), TGCompositeFrame::Layout(), TGCanvas::MapSubwindows(), TGFrame::MapWindow(), TObjArray::RemoveAt(), and TGCompositeFrame::RemoveFrame().
Referenced by DoNz(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
void TGeoPconEditor::UpdateSections | ( | ) | [protected] |
Definition at line 272 of file TGeoPconEditor.cxx.
References TObjArray::At(), fNsections, fRmaxi, fRmini, fSections, fShape, fZi, TGeoPcon::GetRmax(), TGeoPcon::GetRmin(), TGeoPcon::GetZ(), TGeoPconSection::SetRmax(), TGeoPconSection::SetRmin(), and TGeoPconSection::SetZ().
Referenced by SetModel(), and TGeoPgonEditor::SetModel().
virtual void TGeoPconEditor::CreateEdges | ( | ) | [inline, protected, virtual] |
Definition at line 73 of file TGeoPconEditor.h.
void TGeoPconEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 180 of file TGeoPconEditor.cxx.
References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), CreateSections(), fApply, fDPhii, fEDPhi, fENz, fEPhi1, TGedFrame::fInit, fNsecti, fPhi1i, fShape, fShapeName, fUndo, TGeoPcon::GetDphi(), TGeoShape::GetName(), TGeoPcon::GetNz(), TGeoPcon::GetPhi1(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), sname, and UpdateSections().
void TGeoPconEditor::DoModified | ( | ) |
Definition at line 428 of file TGeoPconEditor.cxx.
References fApply, and TGButton::SetEnabled().
Referenced by DoName(), TGeoPgonEditor::DoNedges(), DoNz(), DoPhi(), and DoSectionChange().
void TGeoPconEditor::DoName | ( | ) |
void TGeoPconEditor::DoNz | ( | ) |
Definition at line 401 of file TGeoPconEditor.cxx.
References CheckSections(), CreateSections(), DoApply(), DoModified(), fENz, TGNumberEntry::GetIntNumber(), IsDelayed(), kTRUE, and TGNumberEntry::SetNumber().
void TGeoPconEditor::DoPhi | ( | ) |
Definition at line 416 of file TGeoPconEditor.cxx.
References TMath::Abs(), DoApply(), DoModified(), fEDPhi, fEPhi1, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoPconEditor::DoSectionChange | ( | Int_t | i | ) |
Definition at line 380 of file TGeoPconEditor.cxx.
References TObjArray::At(), DoApply(), DoModified(), fNsections, fSections, TGeoPconSection::GetZ(), IsDelayed(), and TGeoPconSection::SetZ().
void TGeoPconEditor::DoApply | ( | ) | [virtual] |
Definition at line 308 of file TGeoPconEditor.cxx.
References TMath::Abs(), array, TObjArray::At(), CheckSections(), TGeoPcon::ComputeBBox(), TGeoPcon::Dphi(), TGeoShape::Draw(), fApply, fEDPhi, fENz, fEPhi1, fNsections, TGeoGedFrame::fPad, fSections, fShape, fShapeName, fUndo, TGeoPcon::GetDphi(), TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGNumberEntry::GetIntNumber(), TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoPcon::GetNz(), TGeoBBox::GetOrigin(), TGeoManager::GetPainter(), TGeoPcon::GetPhi1(), TGeoPconSection::GetRmax(), TGeoPconSection::GetRmin(), TGTextEntry::GetText(), TVirtualPad::GetView(), TGeoPconSection::GetZ(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, kTRUE, name, TGeoPcon::Phi1(), TGeoPcon::Rmax(), TGeoPcon::Rmin(), TGeoPcon::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), TGeoGedFrame::Update(), and TGeoPcon::Z().
Referenced by DoNz(), DoPhi(), DoSectionChange(), and DoUndo().
void TGeoPconEditor::DoUndo | ( | ) | [virtual] |
Definition at line 435 of file TGeoPconEditor.cxx.
References TObjArray::At(), CreateSections(), DoApply(), fApply, fDPhii, fEDPhi, fENz, fEPhi1, fNsecti, fNsections, fPhi1i, fRmaxi, fRmini, fSections, fUndo, fZi, kFALSE, TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGeoPconSection::SetRmax(), TGeoPconSection::SetRmin(), and TGeoPconSection::SetZ().
Referenced by TGeoPgonEditor::DoUndo().
virtual void TGeoPconEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Bool_t TGeoPconEditor::IsDelayed | ( | ) | const [protected] |
void TGeoPconEditor::CreateSections | ( | Int_t | inew | ) | [protected] |
void TGeoPconEditor::UpdateSections | ( | ) | [protected] |
virtual void TGeoPconEditor::CreateEdges | ( | ) | [inline, protected, virtual] |
Definition at line 73 of file TGeoPconEditor.h.
void TGeoPconEditor::DoModified | ( | ) |
void TGeoPconEditor::DoName | ( | ) |
void TGeoPconEditor::DoNz | ( | ) |
void TGeoPconEditor::DoPhi | ( | ) |
void TGeoPconEditor::DoSectionChange | ( | Int_t | i | ) |
virtual void TGeoPconEditor::DoApply | ( | ) | [virtual] |
virtual void TGeoPconEditor::DoUndo | ( | ) | [virtual] |
Int_t TGeoPconEditor::fNsecti [protected] |
Definition at line 44 of file TGeoPconEditor.h.
Referenced by DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
Double_t TGeoPconEditor::fPhi1i [protected] |
Definition at line 45 of file TGeoPconEditor.h.
Referenced by DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
Double_t TGeoPconEditor::fDPhii [protected] |
Definition at line 46 of file TGeoPconEditor.h.
Referenced by DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
Double_t* TGeoPconEditor::fZi [protected] |
Definition at line 47 of file TGeoPconEditor.h.
Referenced by DoUndo(), TGeoPconEditor(), UpdateSections(), and ~TGeoPconEditor().
Double_t* TGeoPconEditor::fRmini [protected] |
Definition at line 48 of file TGeoPconEditor.h.
Referenced by DoUndo(), TGeoPconEditor(), UpdateSections(), and ~TGeoPconEditor().
Double_t* TGeoPconEditor::fRmaxi [protected] |
Definition at line 49 of file TGeoPconEditor.h.
Referenced by DoUndo(), TGeoPconEditor(), UpdateSections(), and ~TGeoPconEditor().
Int_t TGeoPconEditor::fNsections [protected] |
Definition at line 50 of file TGeoPconEditor.h.
Referenced by CheckSections(), CreateSections(), TGeoPgonEditor::DoApply(), DoApply(), DoSectionChange(), DoUndo(), TGeoPconEditor(), and UpdateSections().
TObjArray* TGeoPconEditor::fSections [protected] |
Definition at line 51 of file TGeoPconEditor.h.
Referenced by CheckSections(), CreateSections(), TGeoPgonEditor::DoApply(), DoApply(), DoSectionChange(), DoUndo(), TGeoPconEditor(), UpdateSections(), and ~TGeoPconEditor().
TGCanvas* TGeoPconEditor::fCan [protected] |
Definition at line 52 of file TGeoPconEditor.h.
Referenced by CreateSections(), and TGeoPconEditor().
TGeoPcon* TGeoPconEditor::fShape [protected] |
Definition at line 53 of file TGeoPconEditor.h.
Referenced by TGeoPgonEditor::DoApply(), DoApply(), SetModel(), TGeoPgonEditor::SetModel(), TGeoPconEditor(), and UpdateSections().
Bool_t TGeoPconEditor::fIsModified [protected] |
Bool_t TGeoPconEditor::fIsShapeEditable [protected] |
TGLayoutHints* TGeoPconEditor::fLHsect [protected] |
Definition at line 57 of file TGeoPconEditor.h.
Referenced by CreateSections(), and TGeoPconEditor().
TGTextEntry* TGeoPconEditor::fShapeName [protected] |
Definition at line 58 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGNumberEntry* TGeoPconEditor::fENz [protected] |
Definition at line 59 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), DoNz(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGNumberEntry* TGeoPconEditor::fEPhi1 [protected] |
Definition at line 60 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), DoPhi(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGNumberEntry* TGeoPconEditor::fEDPhi [protected] |
Definition at line 61 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), DoPhi(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGTextButton* TGeoPconEditor::fApply [protected] |
Definition at line 62 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), DoModified(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGTextButton* TGeoPconEditor::fUndo [protected] |
Definition at line 63 of file TGeoPconEditor.h.
Referenced by ConnectSignals2Slots(), TGeoPgonEditor::DoApply(), DoApply(), DoUndo(), SetModel(), TGeoPgonEditor::SetModel(), and TGeoPconEditor().
TGCompositeFrame* TGeoPconEditor::fBFrame [protected] |
Definition at line 64 of file TGeoPconEditor.h.
Referenced by TGeoPconEditor(), and TGeoPgonEditor::TGeoPgonEditor().
TGCheckButton* TGeoPconEditor::fDelayed [protected] |
TGCompositeFrame* TGeoPconEditor::fDFrame [protected] |
Definition at line 66 of file TGeoPconEditor.h.
Referenced by TGeoPconEditor(), and TGeoPgonEditor::TGeoPgonEditor().
Double_t* TGeoPconEditor::fZi [protected] |
Definition at line 47 of file TGeoPconEditor.h.
Double_t* TGeoPconEditor::fRmini [protected] |
Definition at line 48 of file TGeoPconEditor.h.
Double_t* TGeoPconEditor::fRmaxi [protected] |
Definition at line 49 of file TGeoPconEditor.h.
TObjArray* TGeoPconEditor::fSections [protected] |
Definition at line 51 of file TGeoPconEditor.h.
TGCanvas* TGeoPconEditor::fCan [protected] |
Definition at line 52 of file TGeoPconEditor.h.
TGeoPcon* TGeoPconEditor::fShape [protected] |
Definition at line 53 of file TGeoPconEditor.h.
TGLayoutHints* TGeoPconEditor::fLHsect [protected] |
Definition at line 57 of file TGeoPconEditor.h.
TGTextEntry* TGeoPconEditor::fShapeName [protected] |
Definition at line 58 of file TGeoPconEditor.h.
TGNumberEntry* TGeoPconEditor::fENz [protected] |
Definition at line 59 of file TGeoPconEditor.h.
TGNumberEntry* TGeoPconEditor::fEPhi1 [protected] |
Definition at line 60 of file TGeoPconEditor.h.
TGNumberEntry* TGeoPconEditor::fEDPhi [protected] |
Definition at line 61 of file TGeoPconEditor.h.
TGTextButton* TGeoPconEditor::fApply [protected] |
Definition at line 62 of file TGeoPconEditor.h.
TGTextButton* TGeoPconEditor::fUndo [protected] |
Definition at line 63 of file TGeoPconEditor.h.
TGCompositeFrame* TGeoPconEditor::fBFrame [protected] |
Definition at line 64 of file TGeoPconEditor.h.
TGCheckButton* TGeoPconEditor::fDelayed [protected] |
Definition at line 65 of file TGeoPconEditor.h.
TGCompositeFrame* TGeoPconEditor::fDFrame [protected] |
Definition at line 66 of file TGeoPconEditor.h.