GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
Bool_t Locate ()
 
Int_t GetType ()
 
TGo4FitModelGetModel ()
 
TGo4FitComponentGetComp ()
 
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 Member Functions

void TestNewPosition ()
 

Private Attributes

Int_t fxType
 
TGo4FitModelfxModel
 
TGo4FitGuiArrowfxOther
 
Double_t fdLineAmpl
 
TGo4FitComponentfxComp
 
Int_t fiRangeNum
 
Double_t fdRangeY
 
Double_t fdShiftX
 
QFitItemfxItem
 
TGo4FitPanelfxPanel
 

Detailed Description

Definition at line 24 of file TGo4FitGuiArrow.h.

Member Enumeration Documentation

anonymous enum
Enumerator
at_none 
at_pos 
at_width 
at_range 

Definition at line 28 of file TGo4FitGuiArrow.h.

Constructor & Destructor Documentation

TGo4FitGuiArrow::TGo4FitGuiArrow ( )

Definition at line 22 of file TGo4FitGuiArrow.cpp.

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

Definition at line 28 of file TGo4FitGuiArrow.cpp.

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 ( )
virtual

Definition at line 40 of file TGo4FitGuiArrow.cpp.

Member Function Documentation

void TGo4FitGuiArrow::ClearOther ( )
inline

Definition at line 50 of file TGo4FitGuiArrow.h.

References fxOther.

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

Definition at line 115 of file TGo4FitGuiArrow.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 121 of file TGo4FitGuiArrow.cpp.

References TestNewPosition().

TGo4FitComponent* TGo4FitGuiArrow::GetComp ( )
inline

Definition at line 46 of file TGo4FitGuiArrow.h.

References fxComp.

QFitItem* TGo4FitGuiArrow::GetItem ( )
inline

Definition at line 40 of file TGo4FitGuiArrow.h.

References fxItem.

Referenced by TGo4FitPanel::ArrowChanged().

TGo4FitModel* TGo4FitGuiArrow::GetModel ( )
inline

Definition at line 45 of file TGo4FitGuiArrow.h.

References fxModel.

Referenced by TGo4FitPanel::DeleteModelWithPrimit().

Int_t TGo4FitGuiArrow::GetType ( )
inline

Definition at line 44 of file TGo4FitGuiArrow.h.

References fxType.

Referenced by TGo4FitPanel::ArrowChanged().

Bool_t TGo4FitGuiArrow::IsAssignTo ( TObject *  obj)

Definition at line 110 of file TGo4FitGuiArrow.cpp.

References fxComp, and fxModel.

Bool_t TGo4FitGuiArrow::Locate ( )
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().

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().

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().

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

Definition at line 67 of file TGo4FitGuiArrow.cpp.

References fxItem, and fxPanel.

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

void TGo4FitGuiArrow::TestNewPosition ( )
private

Member Data Documentation

Double_t TGo4FitGuiArrow::fdLineAmpl
private

Definition at line 63 of file TGo4FitGuiArrow.h.

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

Double_t TGo4FitGuiArrow::fdRangeY
private

Definition at line 66 of file TGo4FitGuiArrow.h.

Referenced by Locate(), and SetForRange().

Double_t TGo4FitGuiArrow::fdShiftX
private

Definition at line 67 of file TGo4FitGuiArrow.h.

Referenced by Locate(), and SetForRange().

Int_t TGo4FitGuiArrow::fiRangeNum
private

Definition at line 65 of file TGo4FitGuiArrow.h.

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

TGo4FitComponent* TGo4FitGuiArrow::fxComp
private

Definition at line 64 of file TGo4FitGuiArrow.h.

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

QFitItem* TGo4FitGuiArrow::fxItem
private

Definition at line 68 of file TGo4FitGuiArrow.h.

Referenced by GetItem(), and SetItem().

TGo4FitModel* TGo4FitGuiArrow::fxModel
private
TGo4FitGuiArrow* TGo4FitGuiArrow::fxOther
private

Definition at line 62 of file TGo4FitGuiArrow.h.

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

TGo4FitPanel* TGo4FitGuiArrow::fxPanel
private

Definition at line 69 of file TGo4FitGuiArrow.h.

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

Int_t TGo4FitGuiArrow::fxType
private

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