GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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 (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize, Option_t *option)
 
 TGo4FitGuiArrow (Float_t arrowsize, Option_t *option)
 
virtual ~TGo4FitGuiArrow ()
 
void ClearOther ()
 
void Delete (Option_t *option="") override
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
TGo4FitComponentGetComp () const
 
QFitItemGetItem () const
 
TGo4FitModelGetModel () const
 
Int_t GetType () const
 
Bool_t IsAssignTo (TObject *obj)
 
Bool_t Locate ()
 
void SetForPosition (TGo4FitModel *model, TGo4FitGuiArrow *forwidth, Double_t iLineAmpl)
 
void SetForRange (TGo4FitComponent *Comp, Int_t num, Double_t rangey, Double_t shiftx)
 
void SetForWidth (TGo4FitModel *model, TGo4FitGuiArrow *forposition)
 
void SetItem (QFitItem *item, TGo4FitPanel *panel)
 

Private Member Functions

void TestNewPosition ()
 

Private Attributes

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

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.

References at_none, fdLineAmpl, fdRangeY, fdShiftX, fiRangeNum, fxComp, fxItem, fxModel, fxOther, fxPanel, and fxType.

Referenced by SetForPosition(), and SetForWidth().

◆ TGo4FitGuiArrow() [2/3]

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

◆ TGo4FitGuiArrow() [3/3]

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

◆ ~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 fxOther.

◆ Delete()

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

Definition at line 116 of file TGo4FitGuiArrow.cpp.

References at_pos, fxPanel, and fxType.

◆ ExecuteEvent()

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

Definition at line 122 of file TGo4FitGuiArrow.cpp.

References TestNewPosition().

◆ GetComp()

TGo4FitComponent * TGo4FitGuiArrow::GetComp ( ) const
inline

Definition at line 46 of file TGo4FitGuiArrow.h.

References fxComp.

◆ GetItem()

QFitItem * TGo4FitGuiArrow::GetItem ( ) const
inline

Definition at line 40 of file TGo4FitGuiArrow.h.

References fxItem.

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.

◆ 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 TGo4FitGuiArrow(), 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 TGo4FitGuiArrow(), 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

Definition at line 130 of file TGo4FitGuiArrow.cpp.

References at_pos, at_range, at_width, fdLineAmpl, fiRangeNum, fxComp, fxModel, fxOther, fxPanel, and fxType.

Referenced by ExecuteEvent().

Field Documentation

◆ fdLineAmpl

Double_t TGo4FitGuiArrow::fdLineAmpl {0}
private

◆ fdRangeY

Double_t TGo4FitGuiArrow::fdRangeY {0}
private

◆ fdShiftX

Double_t TGo4FitGuiArrow::fdShiftX {0}
private

◆ fiRangeNum

Int_t TGo4FitGuiArrow::fiRangeNum {0}
private

◆ fxComp

TGo4FitComponent* TGo4FitGuiArrow::fxComp {nullptr}
private

◆ fxItem

QFitItem* TGo4FitGuiArrow::fxItem {nullptr}
private

Definition at line 68 of file TGo4FitGuiArrow.h.

Referenced by TGo4FitGuiArrow(), TGo4FitGuiArrow(), TGo4FitGuiArrow(), GetItem(), and SetItem().

◆ fxModel

TGo4FitModel* TGo4FitGuiArrow::fxModel {nullptr}
private

◆ fxOther

TGo4FitGuiArrow* TGo4FitGuiArrow::fxOther {nullptr}
private

◆ fxPanel

TGo4FitPanel* TGo4FitGuiArrow::fxPanel {nullptr}
private

◆ fxType

Int_t TGo4FitGuiArrow::fxType {0}
private

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