GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGo4FitGuiArrow Class Reference

#include <TGo4FitGuiArrow.h>

+ Inheritance diagram for TGo4FitGuiArrow:

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)
 
QFitItemGetItem () const
 
Bool_t Locate ()
 
Int_t GetType () const
 
TGo4FitModelGetModel () const
 
TGo4FitComponentGetComp () const
 
Bool_t IsAssignTo (TObject *obj)
 
void ClearOther ()
 
void Delete (Option_t *option="") override
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 

Private Member Functions

void TestNewPosition ()
 

Private Attributes

Int_t fxType {0}
 
TGo4FitModelfxModel {nullptr}
 
TGo4FitGuiArrowfxOther {nullptr}
 
Double_t fdLineAmpl {0}
 
TGo4FitComponentfxComp {nullptr}
 
Int_t fiRangeNum {0}
 
Double_t fdRangeY {0}
 
Double_t fdShiftX {0}
 
QFitItemfxItem {nullptr}
 
TGo4FitPanelfxPanel {nullptr}
 

Detailed Description

Definition at line 24 of file TGo4FitGuiArrow.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
at_none 
at_pos 
at_width 
at_range 

Definition at line 28 of file TGo4FitGuiArrow.h.

Constructor & Destructor Documentation

◆ TGo4FitGuiArrow() [1/3]

TGo4FitGuiArrow::TGo4FitGuiArrow ( )

Definition at line 22 of file TGo4FitGuiArrow.cpp.

◆ TGo4FitGuiArrow() [2/3]

TGo4FitGuiArrow::TGo4FitGuiArrow ( Float_t  arrowsize,
Option_t *  option 
)

Definition at line 28 of file TGo4FitGuiArrow.cpp.

◆ TGo4FitGuiArrow() [3/3]

TGo4FitGuiArrow::TGo4FitGuiArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize,
Option_t *  option 
)

Definition at line 34 of file TGo4FitGuiArrow.cpp.

◆ ~TGo4FitGuiArrow()

TGo4FitGuiArrow::~TGo4FitGuiArrow ( )
virtual

Definition at line 40 of file TGo4FitGuiArrow.cpp.

Member Function Documentation

◆ ClearOther()

void TGo4FitGuiArrow::ClearOther ( )
inline

Definition at line 50 of file TGo4FitGuiArrow.h.

References Delete(), ExecuteEvent(), and fxOther.

◆ Delete()

void TGo4FitGuiArrow::Delete ( Option_t *  option = "")
override

Definition at line 116 of file TGo4FitGuiArrow.cpp.

References at_pos, TGo4FitPanel::DeleteModelWithPrimit(), fxPanel, and fxType.

Referenced by ClearOther().

◆ ExecuteEvent()

void TGo4FitGuiArrow::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
override

Definition at line 122 of file TGo4FitGuiArrow.cpp.

References TestNewPosition().

Referenced by ClearOther().

◆ GetComp()

TGo4FitComponent* TGo4FitGuiArrow::GetComp ( ) const
inline

Definition at line 46 of file TGo4FitGuiArrow.h.

References fxComp, and IsAssignTo().

◆ GetItem()

QFitItem* TGo4FitGuiArrow::GetItem ( ) const
inline

Definition at line 40 of file TGo4FitGuiArrow.h.

References fxItem, and Locate().

Referenced by TGo4FitPanel::ArrowChanged().

◆ GetModel()

TGo4FitModel* TGo4FitGuiArrow::GetModel ( ) const
inline

Definition at line 45 of file TGo4FitGuiArrow.h.

References fxModel.

Referenced by TGo4FitPanel::DeleteModelWithPrimit().

◆ GetType()

Int_t TGo4FitGuiArrow::GetType ( ) const
inline

Definition at line 44 of file TGo4FitGuiArrow.h.

References fxType.

Referenced by TGo4FitPanel::ArrowChanged().

◆ IsAssignTo()

Bool_t TGo4FitGuiArrow::IsAssignTo ( TObject *  obj)

Definition at line 111 of file TGo4FitGuiArrow.cpp.

References fxComp, and fxModel.

Referenced by GetComp().

◆ Locate()

Bool_t TGo4FitGuiArrow::Locate ( )

◆ SetForPosition()

void TGo4FitGuiArrow::SetForPosition ( TGo4FitModel model,
TGo4FitGuiArrow forwidth,
Double_t  iLineAmpl 
)

Definition at line 44 of file TGo4FitGuiArrow.cpp.

References at_pos, fdLineAmpl, fxModel, fxOther, and fxType.

Referenced by TGo4FitPanel::PaintModel().

◆ SetForRange()

void TGo4FitGuiArrow::SetForRange ( TGo4FitComponent Comp,
Int_t  num,
Double_t  rangey,
Double_t  shiftx 
)

Definition at line 59 of file TGo4FitGuiArrow.cpp.

References at_range, fdRangeY, fdShiftX, fiRangeNum, fxComp, and fxType.

Referenced by TGo4FitPanel::PaintRange().

◆ SetForWidth()

void TGo4FitGuiArrow::SetForWidth ( TGo4FitModel model,
TGo4FitGuiArrow forposition 
)

Definition at line 52 of file TGo4FitGuiArrow.cpp.

References at_width, fxModel, fxOther, and fxType.

Referenced by TGo4FitPanel::PaintModel().

◆ SetItem()

void TGo4FitGuiArrow::SetItem ( QFitItem item,
TGo4FitPanel panel 
)

Definition at line 68 of file TGo4FitGuiArrow.cpp.

References fxItem, and fxPanel.

Referenced by TGo4FitPanel::PaintModel(), and TGo4FitPanel::PaintRange().

◆ TestNewPosition()

void TGo4FitGuiArrow::TestNewPosition ( )
private

Member Data Documentation

◆ fdLineAmpl

Double_t TGo4FitGuiArrow::fdLineAmpl {0}
private

Definition at line 63 of file TGo4FitGuiArrow.h.

Referenced by Locate(), SetForPosition(), and TestNewPosition().

◆ fdRangeY

Double_t TGo4FitGuiArrow::fdRangeY {0}
private

Definition at line 66 of file TGo4FitGuiArrow.h.

Referenced by Locate(), and SetForRange().

◆ fdShiftX

Double_t TGo4FitGuiArrow::fdShiftX {0}
private

Definition at line 67 of file TGo4FitGuiArrow.h.

Referenced by Locate(), and SetForRange().

◆ fiRangeNum

Int_t TGo4FitGuiArrow::fiRangeNum {0}
private

Definition at line 65 of file TGo4FitGuiArrow.h.

Referenced by Locate(), SetForRange(), and TestNewPosition().

◆ fxComp

TGo4FitComponent* TGo4FitGuiArrow::fxComp {nullptr}
private

Definition at line 64 of file TGo4FitGuiArrow.h.

Referenced by GetComp(), IsAssignTo(), Locate(), SetForRange(), and TestNewPosition().

◆ fxItem

QFitItem* TGo4FitGuiArrow::fxItem {nullptr}
private

Definition at line 68 of file TGo4FitGuiArrow.h.

Referenced by GetItem(), and SetItem().

◆ fxModel

TGo4FitModel* TGo4FitGuiArrow::fxModel {nullptr}
private

◆ fxOther

TGo4FitGuiArrow* TGo4FitGuiArrow::fxOther {nullptr}
private

Definition at line 62 of file TGo4FitGuiArrow.h.

Referenced by ClearOther(), Locate(), SetForPosition(), SetForWidth(), and TestNewPosition().

◆ fxPanel

TGo4FitPanel* TGo4FitGuiArrow::fxPanel {nullptr}
private

Definition at line 69 of file TGo4FitGuiArrow.h.

Referenced by Delete(), SetItem(), and TestNewPosition().

◆ fxType

Int_t TGo4FitGuiArrow::fxType {0}
private

The documentation for this class was generated from the following files: