#include <TGo4FitPanel.h>
Public Types | |
enum | { at_none, at_pos, at_width, at_range } |
Public Member Functions | |
TGo4FitGuiArrow () | |
TGo4FitGuiArrow (Float_t arrowsize, Option_t *option) | |
TGo4FitGuiArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize, Option_t *option) | |
virtual | ~TGo4FitGuiArrow () |
void | SetForPosition (TGo4FitModel *model, TGo4FitGuiArrow *forwidth, Double_t iLineAmpl) |
void | SetForWidth (TGo4FitModel *model, TGo4FitGuiArrow *forposition) |
void | SetForRange (TGo4FitComponent *Comp, Int_t num, Double_t rangey, Double_t shiftx) |
void | SetItem (QFitItem *item, TGo4FitPanel *panel) |
QFitItem * | GetItem () |
Bool_t | Locate () |
Int_t | GetType () |
TGo4FitModel * | GetModel () |
TGo4FitComponent * | GetComp () |
Bool_t | IsAssignTo (TObject *obj) |
void | ClearOther () |
virtual void | Delete (Option_t *option="") |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Private Attributes | |
Int_t | fxType |
TGo4FitModel * | fxModel |
TGo4FitGuiArrow * | fxOther |
Double_t | fdLineAmpl |
TGo4FitComponent * | fxComp |
Int_t | fiRangeNum |
Double_t | fdRangeY |
Double_t | fdShiftX |
QFitItem * | fxItem |
TGo4FitPanel * | fxPanel |
Definition at line 64 of file TGo4FitPanel.h.
anonymous enum |
Definition at line 68 of file TGo4FitPanel.h.
TGo4FitGuiArrow::TGo4FitGuiArrow | ( | ) |
Definition at line 120 of file TGo4FitPanel.cpp.
TGo4FitGuiArrow::TGo4FitGuiArrow | ( | Float_t | arrowsize, | |
Option_t * | option | |||
) |
Definition at line 126 of file TGo4FitPanel.cpp.
TGo4FitGuiArrow::TGo4FitGuiArrow | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
Float_t | arrowsize, | |||
Option_t * | option | |||
) |
Definition at line 132 of file TGo4FitPanel.cpp.
TGo4FitGuiArrow::~TGo4FitGuiArrow | ( | ) | [virtual] |
Definition at line 138 of file TGo4FitPanel.cpp.
void TGo4FitGuiArrow::ClearOther | ( | ) | [inline] |
Definition at line 90 of file TGo4FitPanel.h.
References fxOther.
void TGo4FitGuiArrow::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Definition at line 214 of file TGo4FitPanel.cpp.
References at_pos, TGo4FitPanel::DeleteModelWithPrimit(), fxPanel, and fxType.
void TGo4FitGuiArrow::ExecuteEvent | ( | Int_t | event, | |
Int_t | px, | |||
Int_t | py | |||
) | [virtual] |
Definition at line 220 of file TGo4FitPanel.cpp.
References TGo4FitPanel::ArrowChanged(), at_pos, at_range, at_width, fdLineAmpl, fiRangeNum, fxComp, fxModel, fxOther, fxPanel, fxType, TGo4FitComponent::GetRangeCondition(), TGo4FitModel::GetWidth(), TGo4FitModel::SetPosition(), TGo4FitComponent::SetRangeCondition(), and TGo4FitModel::SetWidth().
TGo4FitComponent* TGo4FitGuiArrow::GetComp | ( | ) | [inline] |
Definition at line 86 of file TGo4FitPanel.h.
References fxComp.
QFitItem* TGo4FitGuiArrow::GetItem | ( | ) | [inline] |
Definition at line 80 of file TGo4FitPanel.h.
References fxItem.
Referenced by TGo4FitPanel::ArrowChanged().
TGo4FitModel* TGo4FitGuiArrow::GetModel | ( | ) | [inline] |
Definition at line 85 of file TGo4FitPanel.h.
References fxModel.
Referenced by TGo4FitPanel::DeleteModelWithPrimit().
Int_t TGo4FitGuiArrow::GetType | ( | ) | [inline] |
Definition at line 84 of file TGo4FitPanel.h.
References fxType.
Referenced by TGo4FitPanel::ArrowChanged().
Bool_t TGo4FitGuiArrow::IsAssignTo | ( | TObject * | obj | ) |
Definition at line 209 of file TGo4FitPanel.cpp.
Bool_t TGo4FitGuiArrow::Locate | ( | ) |
Definition at line 171 of file TGo4FitPanel.cpp.
References at_pos, at_range, at_width, fdLineAmpl, fdRangeY, fdShiftX, fiRangeNum, fxComp, fxModel, fxOther, fxType, TGo4FitModel::GetPosition(), TGo4FitComponent::GetRangeCondition(), and TGo4FitModel::GetWidth().
Referenced by TGo4FitPanel::ArrowChanged(), TGo4FitPanel::PaintModel(), and TGo4FitPanel::PaintRange().
void TGo4FitGuiArrow::SetForPosition | ( | TGo4FitModel * | model, | |
TGo4FitGuiArrow * | forwidth, | |||
Double_t | iLineAmpl | |||
) |
Definition at line 142 of file TGo4FitPanel.cpp.
References fdLineAmpl, fxModel, fxOther, and fxType.
Referenced by TGo4FitPanel::PaintModel().
void TGo4FitGuiArrow::SetForRange | ( | TGo4FitComponent * | Comp, | |
Int_t | num, | |||
Double_t | rangey, | |||
Double_t | shiftx | |||
) |
Definition at line 157 of file TGo4FitPanel.cpp.
References fdRangeY, fdShiftX, fiRangeNum, fxComp, and fxType.
Referenced by TGo4FitPanel::PaintRange().
void TGo4FitGuiArrow::SetForWidth | ( | TGo4FitModel * | model, | |
TGo4FitGuiArrow * | forposition | |||
) |
Definition at line 150 of file TGo4FitPanel.cpp.
References fxModel, fxOther, and fxType.
Referenced by TGo4FitPanel::PaintModel().
void TGo4FitGuiArrow::SetItem | ( | QFitItem * | item, | |
TGo4FitPanel * | panel | |||
) |
Definition at line 165 of file TGo4FitPanel.cpp.
References fxItem, and fxPanel.
Referenced by TGo4FitPanel::PaintModel(), and TGo4FitPanel::PaintRange().
Double_t TGo4FitGuiArrow::fdLineAmpl [private] |
Definition at line 99 of file TGo4FitPanel.h.
Referenced by ExecuteEvent(), Locate(), and SetForPosition().
Double_t TGo4FitGuiArrow::fdRangeY [private] |
Definition at line 102 of file TGo4FitPanel.h.
Referenced by Locate(), and SetForRange().
Double_t TGo4FitGuiArrow::fdShiftX [private] |
Definition at line 103 of file TGo4FitPanel.h.
Referenced by Locate(), and SetForRange().
Int_t TGo4FitGuiArrow::fiRangeNum [private] |
Definition at line 101 of file TGo4FitPanel.h.
Referenced by ExecuteEvent(), Locate(), and SetForRange().
TGo4FitComponent* TGo4FitGuiArrow::fxComp [private] |
Definition at line 100 of file TGo4FitPanel.h.
Referenced by ExecuteEvent(), GetComp(), IsAssignTo(), Locate(), and SetForRange().
QFitItem* TGo4FitGuiArrow::fxItem [private] |
Definition at line 104 of file TGo4FitPanel.h.
TGo4FitModel* TGo4FitGuiArrow::fxModel [private] |
Definition at line 97 of file TGo4FitPanel.h.
Referenced by ExecuteEvent(), GetModel(), IsAssignTo(), Locate(), SetForPosition(), and SetForWidth().
TGo4FitGuiArrow* TGo4FitGuiArrow::fxOther [private] |
Definition at line 98 of file TGo4FitPanel.h.
Referenced by ClearOther(), ExecuteEvent(), Locate(), SetForPosition(), and SetForWidth().
TGo4FitPanel* TGo4FitGuiArrow::fxPanel [private] |
Definition at line 105 of file TGo4FitPanel.h.
Referenced by Delete(), ExecuteEvent(), and SetItem().
Int_t TGo4FitGuiArrow::fxType [private] |
Definition at line 96 of file TGo4FitPanel.h.
Referenced by Delete(), ExecuteEvent(), GetType(), Locate(), SetForPosition(), SetForRange(), and SetForWidth().