GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4PolyCondView Class Reference

#include <TGo4PolyCondView.h>

Inheritance diagram for TGo4PolyCondView:

Public Member Functions

 TGo4PolyCondView ()
 TGo4PolyCondView ()
 TGo4PolyCondView (TCutG *source)
 JAM2016: like for polygon condition we may suppress intermediate streaming when updating the condition from view by disabling the following define:
 TGo4PolyCondView (TCutG *source)
virtual ~TGo4PolyCondView ()
virtual ~TGo4PolyCondView ()
TCutG * CreateCut ()
 create plain cutg from this view.
TCutG * CreateCut ()
 create plain cutg from this view.
void DeleteRegion ()
 Delete condition instead of view:
void DeleteRegion ()
 Delete condition instead of view:
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
TGo4PolyCondGetCondition ()
TGo4PolyCondGetCondition ()
const char * GetName () const override
const char * GetName () const override
Int_t InsertPoint () override
Int_t InsertPoint () override
Bool_t IsAtExecuteMouseEvent () const
Bool_t IsAtExecuteMouseEvent () const
Bool_t IsAtExecuteMouseMenu () const
Bool_t IsAtExecuteMouseMenu () const
Bool_t IsCMaxDraw ()
Bool_t IsCMaxDraw ()
Bool_t IsCutChanged () const
 Check if cut on pad is changed compared with condition.
Bool_t IsCutChanged () const
 Check if cut on pad is changed compared with condition.
Bool_t IsIntDraw ()
Bool_t IsIntDraw ()
Bool_t IsLabelDraw ()
Bool_t IsLabelDraw ()
Bool_t IsLimitsDraw ()
Bool_t IsLimitsDraw ()
Bool_t IsXMaxDraw ()
Bool_t IsXMaxDraw ()
Bool_t IsXMeanDraw ()
Bool_t IsXMeanDraw ()
Bool_t IsXRMSDraw ()
Bool_t IsXRMSDraw ()
Bool_t IsYMaxDraw ()
Bool_t IsYMaxDraw ()
Bool_t IsYMeanDraw ()
Bool_t IsYMeanDraw ()
Bool_t IsYRMSDraw ()
Bool_t IsYRMSDraw ()
void Paint (Option_t *opt) override
void Paint (Option_t *opt) override
Int_t RemovePoint () override
Int_t RemovePoint () override
void ResetLabel ()
 Will reset label position to defaults.
void ResetLabel ()
 Will reset label position to defaults.
void SaveLabelStyle ()
 This will save draw flags into static default setup.
void SaveLabelStyle ()
 This will save draw flags into static default setup.
void SetCMaxDraw (Bool_t on)
void SetCMaxDraw (Bool_t on)
void SetCondition (TGo4PolyCond *condition)
void SetCondition (TGo4PolyCond *condition)
void SetCut (TCutG *source)
 Set this view to values of cut source.
void SetCut (TCutG *source)
 Set this view to values of cut source.
void SetIntDraw (Bool_t on)
void SetIntDraw (Bool_t on)
void SetLabelDraw (Bool_t on)
void SetLabelDraw (Bool_t on)
void SetLimitsDraw (Bool_t on)
void SetLimitsDraw (Bool_t on)
void SetName (const char *nam) override
void SetName (const char *nam) override
void SetXMaxDraw (Bool_t on)
void SetXMaxDraw (Bool_t on)
void SetXMeanDraw (Bool_t on)
void SetXMeanDraw (Bool_t on)
void SetXRMSDraw (Bool_t on)
void SetXRMSDraw (Bool_t on)
void SetYMaxDraw (Bool_t on)
void SetYMaxDraw (Bool_t on)
void SetYMeanDraw (Bool_t on)
void SetYMeanDraw (Bool_t on)
void SetYRMSDraw (Bool_t on)
void SetYRMSDraw (Bool_t on)
virtual void UpdateCondition ()
 Copy modified view values back to condition.
virtual void UpdateCondition ()
 Copy modified view values back to condition.

Private Attributes

Bool_t fbExecutesMouseEvent {kFALSE}
 JAM this one will suppress condition repaint during execution of mouse events.
Bool_t fbExecutesMouseMenu {kFALSE}
 JAM this one will suppress condition repaint during mouse menu execution.
TGo4PolyCondfxPolyCondition {nullptr}
 pointer to viewed condition for update after graphical action

Detailed Description

Definition at line 20 of file TGo4PolyCondView.h.

Constructor & Destructor Documentation

◆ TGo4PolyCondView() [1/4]

TGo4PolyCondView::TGo4PolyCondView ( TCutG * source)

JAM2016: like for polygon condition we may suppress intermediate streaming when updating the condition from view by disabling the following define:

Definition at line 24 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials(), fbExecutesMouseEvent, fbExecutesMouseMenu, fxPolyCondition, and SetCut().

◆ TGo4PolyCondView() [2/4]

TGo4PolyCondView::TGo4PolyCondView ( )

◆ ~TGo4PolyCondView() [1/2]

TGo4PolyCondView::~TGo4PolyCondView ( )
virtual

Definition at line 42 of file TGo4PolyCondView.cxx.

◆ TGo4PolyCondView() [3/4]

TGo4PolyCondView::TGo4PolyCondView ( TCutG * source)

◆ TGo4PolyCondView() [4/4]

TGo4PolyCondView::TGo4PolyCondView ( )

◆ ~TGo4PolyCondView() [2/2]

virtual TGo4PolyCondView::~TGo4PolyCondView ( )
virtual

Member Function Documentation

◆ CreateCut() [1/2]

TCutG * TGo4PolyCondView::CreateCut ( )

create plain cutg from this view.

Definition at line 182 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials().

Referenced by UpdateCondition().

◆ CreateCut() [2/2]

TCutG * TGo4PolyCondView::CreateCut ( )

create plain cutg from this view.

◆ DeleteRegion() [1/2]

void TGo4PolyCondView::DeleteRegion ( )

Delete condition instead of view:

Definition at line 217 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ DeleteRegion() [2/2]

void TGo4PolyCondView::DeleteRegion ( )

Delete condition instead of view:

◆ ExecuteEvent() [1/2]

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

◆ ExecuteEvent() [2/2]

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

◆ GetCondition() [1/2]

TGo4PolyCond * TGo4PolyCondView::GetCondition ( )
inline

Definition at line 38 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ GetCondition() [2/2]

TGo4PolyCond * TGo4PolyCondView::GetCondition ( )
inline

Definition at line 38 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ GetName() [1/2]

const char * TGo4PolyCondView::GetName ( ) const
override

Definition at line 203 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ GetName() [2/2]

const char * TGo4PolyCondView::GetName ( ) const
override

◆ InsertPoint() [1/2]

Int_t TGo4PolyCondView::InsertPoint ( )
override

Definition at line 56 of file TGo4PolyCondView.cxx.

References fbExecutesMouseMenu, and UpdateCondition().

◆ InsertPoint() [2/2]

Int_t TGo4PolyCondView::InsertPoint ( )
override

◆ IsAtExecuteMouseEvent() [1/2]

Bool_t TGo4PolyCondView::IsAtExecuteMouseEvent ( ) const
inline

Definition at line 82 of file TGo4PolyCondView.h.

References fbExecutesMouseEvent.

◆ IsAtExecuteMouseEvent() [2/2]

Bool_t TGo4PolyCondView::IsAtExecuteMouseEvent ( ) const
inline

Definition at line 82 of file TGo4PolyCondView.h.

References fbExecutesMouseEvent.

◆ IsAtExecuteMouseMenu() [1/2]

Bool_t TGo4PolyCondView::IsAtExecuteMouseMenu ( ) const
inline

Definition at line 83 of file TGo4PolyCondView.h.

References fbExecutesMouseMenu.

◆ IsAtExecuteMouseMenu() [2/2]

Bool_t TGo4PolyCondView::IsAtExecuteMouseMenu ( ) const
inline

Definition at line 83 of file TGo4PolyCondView.h.

References fbExecutesMouseMenu.

◆ IsCMaxDraw() [1/2]

Bool_t TGo4PolyCondView::IsCMaxDraw ( )
inline

Definition at line 71 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsCMaxDraw() [2/2]

Bool_t TGo4PolyCondView::IsCMaxDraw ( )
inline

Definition at line 71 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsCutChanged() [1/2]

Bool_t TGo4PolyCondView::IsCutChanged ( ) const

Check if cut on pad is changed compared with condition.

Definition at line 116 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

Referenced by ExecuteEvent().

◆ IsCutChanged() [2/2]

Bool_t TGo4PolyCondView::IsCutChanged ( ) const

Check if cut on pad is changed compared with condition.

◆ IsIntDraw() [1/2]

Bool_t TGo4PolyCondView::IsIntDraw ( )
inline

Definition at line 64 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsIntDraw() [2/2]

Bool_t TGo4PolyCondView::IsIntDraw ( )
inline

Definition at line 64 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsLabelDraw() [1/2]

Bool_t TGo4PolyCondView::IsLabelDraw ( )
inline

Definition at line 62 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsLabelDraw() [2/2]

Bool_t TGo4PolyCondView::IsLabelDraw ( )
inline

Definition at line 62 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsLimitsDraw() [1/2]

Bool_t TGo4PolyCondView::IsLimitsDraw ( )
inline

Definition at line 63 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsLimitsDraw() [2/2]

Bool_t TGo4PolyCondView::IsLimitsDraw ( )
inline

Definition at line 63 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXMaxDraw() [1/2]

Bool_t TGo4PolyCondView::IsXMaxDraw ( )
inline

Definition at line 69 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXMaxDraw() [2/2]

Bool_t TGo4PolyCondView::IsXMaxDraw ( )
inline

Definition at line 69 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXMeanDraw() [1/2]

Bool_t TGo4PolyCondView::IsXMeanDraw ( )
inline

Definition at line 65 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXMeanDraw() [2/2]

Bool_t TGo4PolyCondView::IsXMeanDraw ( )
inline

Definition at line 65 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXRMSDraw() [1/2]

Bool_t TGo4PolyCondView::IsXRMSDraw ( )
inline

Definition at line 66 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsXRMSDraw() [2/2]

Bool_t TGo4PolyCondView::IsXRMSDraw ( )
inline

Definition at line 66 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYMaxDraw() [1/2]

Bool_t TGo4PolyCondView::IsYMaxDraw ( )
inline

Definition at line 70 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYMaxDraw() [2/2]

Bool_t TGo4PolyCondView::IsYMaxDraw ( )
inline

Definition at line 70 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYMeanDraw() [1/2]

Bool_t TGo4PolyCondView::IsYMeanDraw ( )
inline

Definition at line 67 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYMeanDraw() [2/2]

Bool_t TGo4PolyCondView::IsYMeanDraw ( )
inline

Definition at line 67 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYRMSDraw() [1/2]

Bool_t TGo4PolyCondView::IsYRMSDraw ( )
inline

Definition at line 68 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ IsYRMSDraw() [2/2]

Bool_t TGo4PolyCondView::IsYRMSDraw ( )
inline

Definition at line 68 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ Paint() [1/2]

void TGo4PolyCondView::Paint ( Option_t * opt)
override

Definition at line 46 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ Paint() [2/2]

void TGo4PolyCondView::Paint ( Option_t * opt)
override

◆ RemovePoint() [1/2]

Int_t TGo4PolyCondView::RemovePoint ( )
override

Definition at line 65 of file TGo4PolyCondView.cxx.

References fbExecutesMouseMenu, and UpdateCondition().

◆ RemovePoint() [2/2]

Int_t TGo4PolyCondView::RemovePoint ( )
override

◆ ResetLabel() [1/2]

void TGo4PolyCondView::ResetLabel ( )

Will reset label position to defaults.

Definition at line 227 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ ResetLabel() [2/2]

void TGo4PolyCondView::ResetLabel ( )

Will reset label position to defaults.

◆ SaveLabelStyle() [1/2]

void TGo4PolyCondView::SaveLabelStyle ( )

This will save draw flags into static default setup.

Definition at line 222 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ SaveLabelStyle() [2/2]

void TGo4PolyCondView::SaveLabelStyle ( )

This will save draw flags into static default setup.

◆ SetCMaxDraw() [1/2]

void TGo4PolyCondView::SetCMaxDraw ( Bool_t on)
inline

Definition at line 60 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetCMaxDraw() [2/2]

void TGo4PolyCondView::SetCMaxDraw ( Bool_t on)
inline

Definition at line 60 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetCondition() [1/2]

void TGo4PolyCondView::SetCondition ( TGo4PolyCond * condition)
inline

Definition at line 36 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetCondition() [2/2]

void TGo4PolyCondView::SetCondition ( TGo4PolyCond * condition)
inline

Definition at line 36 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetCut() [1/2]

void TGo4PolyCondView::SetCut ( TCutG * source)

Set this view to values of cut source.

Definition at line 165 of file TGo4PolyCondView.cxx.

Referenced by TGo4PolyCondView().

◆ SetCut() [2/2]

void TGo4PolyCondView::SetCut ( TCutG * source)

Set this view to values of cut source.

◆ SetIntDraw() [1/2]

void TGo4PolyCondView::SetIntDraw ( Bool_t on)
inline

Definition at line 53 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetIntDraw() [2/2]

void TGo4PolyCondView::SetIntDraw ( Bool_t on)
inline

Definition at line 53 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetLabelDraw() [1/2]

void TGo4PolyCondView::SetLabelDraw ( Bool_t on)
inline

Definition at line 51 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetLabelDraw() [2/2]

void TGo4PolyCondView::SetLabelDraw ( Bool_t on)
inline

Definition at line 51 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetLimitsDraw() [1/2]

void TGo4PolyCondView::SetLimitsDraw ( Bool_t on)
inline

Definition at line 52 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetLimitsDraw() [2/2]

void TGo4PolyCondView::SetLimitsDraw ( Bool_t on)
inline

Definition at line 52 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetName() [1/2]

void TGo4PolyCondView::SetName ( const char * nam)
override

Definition at line 211 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

◆ SetName() [2/2]

void TGo4PolyCondView::SetName ( const char * nam)
override

◆ SetXMaxDraw() [1/2]

void TGo4PolyCondView::SetXMaxDraw ( Bool_t on)
inline

Definition at line 58 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetXMaxDraw() [2/2]

void TGo4PolyCondView::SetXMaxDraw ( Bool_t on)
inline

Definition at line 58 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetXMeanDraw() [1/2]

void TGo4PolyCondView::SetXMeanDraw ( Bool_t on)
inline

Definition at line 54 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetXMeanDraw() [2/2]

void TGo4PolyCondView::SetXMeanDraw ( Bool_t on)
inline

Definition at line 54 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetXRMSDraw() [1/2]

void TGo4PolyCondView::SetXRMSDraw ( Bool_t on)
inline

Definition at line 55 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetXRMSDraw() [2/2]

void TGo4PolyCondView::SetXRMSDraw ( Bool_t on)
inline

Definition at line 55 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYMaxDraw() [1/2]

void TGo4PolyCondView::SetYMaxDraw ( Bool_t on)
inline

Definition at line 59 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYMaxDraw() [2/2]

void TGo4PolyCondView::SetYMaxDraw ( Bool_t on)
inline

Definition at line 59 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYMeanDraw() [1/2]

void TGo4PolyCondView::SetYMeanDraw ( Bool_t on)
inline

Definition at line 56 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYMeanDraw() [2/2]

void TGo4PolyCondView::SetYMeanDraw ( Bool_t on)
inline

Definition at line 56 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYRMSDraw() [1/2]

void TGo4PolyCondView::SetYRMSDraw ( Bool_t on)
inline

Definition at line 57 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ SetYRMSDraw() [2/2]

void TGo4PolyCondView::SetYRMSDraw ( Bool_t on)
inline

Definition at line 57 of file TGo4PolyCondView.h.

References fxPolyCondition.

◆ UpdateCondition() [1/2]

void TGo4PolyCondView::UpdateCondition ( )
virtual

Copy modified view values back to condition.

Definition at line 147 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials(), CreateCut(), and fxPolyCondition.

Referenced by ExecuteEvent(), InsertPoint(), and RemovePoint().

◆ UpdateCondition() [2/2]

virtual void TGo4PolyCondView::UpdateCondition ( )
virtual

Copy modified view values back to condition.

Field Documentation

◆ fbExecutesMouseEvent

Bool_t TGo4PolyCondView::fbExecutesMouseEvent {kFALSE}
private

JAM this one will suppress condition repaint during execution of mouse events.

Definition at line 88 of file TGo4PolyCondView.h.

Referenced by TGo4PolyCondView(), TGo4PolyCondView(), ExecuteEvent(), and IsAtExecuteMouseEvent().

◆ fbExecutesMouseMenu

Bool_t TGo4PolyCondView::fbExecutesMouseMenu {kFALSE}
private

JAM this one will suppress condition repaint during mouse menu execution.

Definition at line 91 of file TGo4PolyCondView.h.

Referenced by TGo4PolyCondView(), TGo4PolyCondView(), ExecuteEvent(), InsertPoint(), IsAtExecuteMouseMenu(), and RemovePoint().

◆ fxPolyCondition


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