TGeoPgonEditor Class Reference

#include <TGeoPgonEditor.h>

Inheritance diagram for TGeoPgonEditor:

TGeoPconEditor TGeoPconEditor TGeoGedFrame TGeoGedFrame TGeoGedFrame TGeoGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGedFrame List of all members.

Public Member Functions

 TGeoPgonEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoPgonEditor ()
virtual void SetModel (TObject *obj)
void DoNedges ()
virtual void DoApply ()
virtual void DoUndo ()
 TGeoPgonEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoPgonEditor ()
virtual void SetModel (TObject *obj)
void DoNedges ()
virtual void DoApply ()
virtual void DoUndo ()

Protected Member Functions

virtual void CreateEdges ()
virtual void CreateEdges ()

Protected Attributes

Int_t fNedgesi
TGNumberEntryfENedges
TGNumberEntryfENedges

Detailed Description

Definition at line 32 of file TGeoPgonEditor.h.


Constructor & Destructor Documentation

TGeoPgonEditor::TGeoPgonEditor ( 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 TGeoPgonEditor.cxx.

References TQObject::Connect(), CreateEdges(), TGeoPconEditor::fBFrame, TGeoPconEditor::fDFrame, fENedges, fNedgesi, TGNumberEntry::GetNumberEntry(), and TGeoTabManager::MoveFrame().

TGeoPgonEditor::~TGeoPgonEditor (  )  [virtual]

Definition at line 63 of file TGeoPgonEditor.cxx.

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

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

virtual TGeoPgonEditor::~TGeoPgonEditor (  )  [virtual]


Member Function Documentation

void TGeoPgonEditor::CreateEdges (  )  [protected, virtual]

Reimplemented from TGeoPconEditor.

Definition at line 192 of file TGeoPgonEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), fENedges, TGNumberEntry::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEAPositive, TGNumberFormat::kNESInteger, TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGNumberEntry::SetNumStyle(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

Referenced by TGeoPgonEditor().

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

Reimplemented from TGeoPconEditor.

Definition at line 76 of file TGeoPgonEditor.cxx.

References xmlio::Class, TObject::ClassName(), TGeoPconEditor::ConnectSignals2Slots(), TGeoPconEditor::CreateSections(), TGeoPconEditor::fApply, TGeoPconEditor::fDPhii, TGeoPconEditor::fEDPhi, fENedges, TGeoPconEditor::fENz, TGeoPconEditor::fEPhi1, TGedFrame::fInit, fNedgesi, TGeoPconEditor::fNsecti, TGeoPconEditor::fPhi1i, TGeoPconEditor::fShape, TGeoPconEditor::fShapeName, TGeoPconEditor::fUndo, TGeoPcon::GetDphi(), TGeoShape::GetName(), TGeoPcon::GetNz(), TGeoPcon::GetPhi1(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), sname, and TGeoPconEditor::UpdateSections().

void TGeoPgonEditor::DoNedges (  ) 

Definition at line 210 of file TGeoPgonEditor.cxx.

References DoApply(), TGeoPconEditor::DoModified(), fENedges, TGNumberEntry::GetIntNumber(), TGeoPconEditor::IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoPgonEditor::DoApply (  )  [virtual]

Reimplemented from TGeoPconEditor.

Definition at line 108 of file TGeoPgonEditor.cxx.

References TMath::Abs(), array, TObjArray::At(), TGeoPconEditor::CheckSections(), TGeoPgon::ComputeBBox(), TGeoPcon::Dphi(), TGeoShape::Draw(), TGeoPconEditor::fApply, TGeoPconEditor::fEDPhi, fENedges, TGeoPconEditor::fENz, TGeoPconEditor::fEPhi1, TGeoPconEditor::fNsections, TGeoGedFrame::fPad, TGeoPconEditor::fSections, TGeoPconEditor::fShape, TGeoPconEditor::fShapeName, TGeoPconEditor::fUndo, TGeoPcon::GetDphi(), TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGNumberEntry::GetIntNumber(), TGeoShape::GetName(), TGeoPgon::GetNedges(), 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(), TGeoPgon::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TGeoPgon::SetNedges(), TView::ShowAxis(), TGeoGedFrame::Update(), and TGeoPcon::Z().

Referenced by DoNedges().

void TGeoPgonEditor::DoUndo (  )  [virtual]

Reimplemented from TGeoPconEditor.

Definition at line 184 of file TGeoPgonEditor.cxx.

References TGeoPconEditor::DoUndo(), fENedges, fNedgesi, and TGNumberEntry::SetNumber().

virtual void TGeoPgonEditor::CreateEdges (  )  [protected, virtual]

Reimplemented from TGeoPconEditor.

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

Reimplemented from TGeoPconEditor.

void TGeoPgonEditor::DoNedges (  ) 

virtual void TGeoPgonEditor::DoApply (  )  [virtual]

Reimplemented from TGeoPconEditor.

virtual void TGeoPgonEditor::DoUndo (  )  [virtual]

Reimplemented from TGeoPconEditor.


Member Data Documentation

Int_t TGeoPgonEditor::fNedgesi [protected]

Definition at line 35 of file TGeoPgonEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoPgonEditor().

TGNumberEntry* TGeoPgonEditor::fENedges [protected]

Definition at line 36 of file TGeoPgonEditor.h.

Referenced by CreateEdges(), DoApply(), DoNedges(), DoUndo(), SetModel(), and TGeoPgonEditor().

TGNumberEntry* TGeoPgonEditor::fENedges [protected]

Definition at line 36 of file TGeoPgonEditor.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