GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4PolyCondView.h>
Public Member Functions | |
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: | |
virtual | ~TGo4PolyCondView () |
TCutG * | CreateCut () |
create plain cutg from this view. | |
void | DeleteRegion () |
Delete condition instead of view: | |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
TGo4PolyCond * | GetCondition () |
const char * | GetName () const override |
Int_t | InsertPoint () override |
Bool_t | IsAtExecuteMouseEvent () const |
Bool_t | IsAtExecuteMouseMenu () const |
Bool_t | IsCMaxDraw () |
Bool_t | IsCutChanged () const |
Check if cut on pad is changed compared with condition. | |
Bool_t | IsIntDraw () |
Bool_t | IsLabelDraw () |
Bool_t | IsLimitsDraw () |
Bool_t | IsXMaxDraw () |
Bool_t | IsXMeanDraw () |
Bool_t | IsXRMSDraw () |
Bool_t | IsYMaxDraw () |
Bool_t | IsYMeanDraw () |
Bool_t | IsYRMSDraw () |
void | Paint (Option_t *opt) override |
Int_t | RemovePoint () override |
void | ResetLabel () |
Will reset label position to defaults. | |
void | SaveLabelStyle () |
This will save draw flags into static default setup. | |
void | SetCMaxDraw (Bool_t on) |
void | SetCondition (TGo4PolyCond *condition) |
void | SetCut (TCutG *source) |
Set this view to values of cut source. | |
void | SetIntDraw (Bool_t on) |
void | SetLabelDraw (Bool_t on) |
void | SetLimitsDraw (Bool_t on) |
void | SetName (const char *nam) override |
void | SetXMaxDraw (Bool_t on) |
void | SetXMeanDraw (Bool_t on) |
void | SetXRMSDraw (Bool_t on) |
void | SetYMaxDraw (Bool_t on) |
void | SetYMeanDraw (Bool_t on) |
void | SetYRMSDraw (Bool_t on) |
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. | |
TGo4PolyCond * | fxPolyCondition {nullptr} |
pointer to viewed condition for update after graphical action | |
Definition at line 20 of file TGo4PolyCondView.h.
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 23 of file TGo4PolyCondView.cxx.
References TGo4PolyCond::CleanupSpecials(), fbExecutesMouseEvent, fbExecutesMouseMenu, fxPolyCondition, and SetCut().
TGo4PolyCondView::TGo4PolyCondView | ( | ) |
Definition at line 32 of file TGo4PolyCondView.cxx.
References TGo4PolyCond::CleanupSpecials(), fbExecutesMouseEvent, fbExecutesMouseMenu, and fxPolyCondition.
|
virtual |
Definition at line 41 of file TGo4PolyCondView.cxx.
TCutG * TGo4PolyCondView::CreateCut | ( | ) |
create plain cutg from this view.
Definition at line 181 of file TGo4PolyCondView.cxx.
References TGo4PolyCond::CleanupSpecials().
Referenced by UpdateCondition().
void TGo4PolyCondView::DeleteRegion | ( | ) |
Delete condition instead of view:
Definition at line 216 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
|
override |
Definition at line 73 of file TGo4PolyCondView.cxx.
References fbExecutesMouseEvent, fbExecutesMouseMenu, fxPolyCondition, IsCutChanged(), and UpdateCondition().
|
inline |
Definition at line 38 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
override |
Definition at line 202 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
|
override |
Definition at line 55 of file TGo4PolyCondView.cxx.
References fbExecutesMouseMenu, and UpdateCondition().
|
inline |
Definition at line 82 of file TGo4PolyCondView.h.
References fbExecutesMouseEvent.
|
inline |
Definition at line 83 of file TGo4PolyCondView.h.
References fbExecutesMouseMenu.
|
inline |
Definition at line 71 of file TGo4PolyCondView.h.
References fxPolyCondition.
Bool_t TGo4PolyCondView::IsCutChanged | ( | ) | const |
Check if cut on pad is changed compared with condition.
Definition at line 115 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
Referenced by ExecuteEvent().
|
inline |
Definition at line 64 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 62 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 63 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 69 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 65 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 66 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 70 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 67 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 68 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
override |
Definition at line 45 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
|
override |
Definition at line 64 of file TGo4PolyCondView.cxx.
References fbExecutesMouseMenu, and UpdateCondition().
void TGo4PolyCondView::ResetLabel | ( | ) |
Will reset label position to defaults.
Definition at line 226 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
void TGo4PolyCondView::SaveLabelStyle | ( | ) |
This will save draw flags into static default setup.
Definition at line 221 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
|
inline |
Definition at line 60 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 36 of file TGo4PolyCondView.h.
References fxPolyCondition.
void TGo4PolyCondView::SetCut | ( | TCutG * | source | ) |
Set this view to values of cut source.
Definition at line 164 of file TGo4PolyCondView.cxx.
Referenced by TGo4PolyCondView().
|
inline |
Definition at line 53 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 51 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 52 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
override |
Definition at line 210 of file TGo4PolyCondView.cxx.
References fxPolyCondition.
|
inline |
Definition at line 58 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 54 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 55 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 59 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 56 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
inline |
Definition at line 57 of file TGo4PolyCondView.h.
References fxPolyCondition.
|
virtual |
Copy modified view values back to condition.
Definition at line 146 of file TGo4PolyCondView.cxx.
References TGo4PolyCond::CleanupSpecials(), CreateCut(), and fxPolyCondition.
Referenced by ExecuteEvent(), InsertPoint(), and RemovePoint().
|
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().
|
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().
|
private |
pointer to viewed condition for update after graphical action
Definition at line 94 of file TGo4PolyCondView.h.
Referenced by TGo4PolyCondView(), TGo4PolyCondView(), DeleteRegion(), ExecuteEvent(), GetCondition(), GetName(), IsCMaxDraw(), IsCutChanged(), IsIntDraw(), IsLabelDraw(), IsLimitsDraw(), IsXMaxDraw(), IsXMeanDraw(), IsXRMSDraw(), IsYMaxDraw(), IsYMeanDraw(), IsYRMSDraw(), Paint(), ResetLabel(), SaveLabelStyle(), SetCMaxDraw(), SetCondition(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetName(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), and UpdateCondition().