GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4PolyCondView Class Reference

#include <TGo4PolyCondView.h>

+ Inheritance diagram for TGo4PolyCondView:

Public Member Functions

 TGo4PolyCondView (TCutG *source)
 
 TGo4PolyCondView ()
 
virtual ~TGo4PolyCondView ()
 
virtual void Paint (Option_t *opt)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
Bool_t IsCutChanged ()
 
virtual void UpdateCondition ()
 
void SetCondition (TGo4PolyCond *condition)
 
TGo4PolyCondGetCondition ()
 
void SetCut (TCutG *source)
 
TCutG * CreateCut ()
 
virtual const char * GetName () const
 
void SetName (const char *nam)
 
void DeleteRegion ()
 
void SetLabelDraw (Bool_t on)
 
void SetLimitsDraw (Bool_t on)
 
void SetIntDraw (Bool_t on)
 
void SetXMeanDraw (Bool_t on)
 
void SetXRMSDraw (Bool_t on)
 
void SetYMeanDraw (Bool_t on)
 
void SetYRMSDraw (Bool_t on)
 
void SetXMaxDraw (Bool_t on)
 
void SetYMaxDraw (Bool_t on)
 
void SetCMaxDraw (Bool_t on)
 
void SaveLabelStyle ()
 
void ResetLabel ()
 
virtual Int_t InsertPoint ()
 
virtual Int_t RemovePoint ()
 
Bool_t IsAtExecuteMouseEvent ()
 
Bool_t IsAtExecuteMouseMenu ()
 

Private Attributes

Bool_t fbExecutesMouseEvent
 
Bool_t fbExecutesMouseMenu
 
TGo4PolyCondfxPolyCondition
 

Detailed Description

Definition at line 21 of file TGo4PolyCondView.h.

Constructor & Destructor Documentation

TGo4PolyCondView::TGo4PolyCondView ( TCutG *  source)

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

Definition at line 27 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials(), and SetCut().

TGo4PolyCondView::TGo4PolyCondView ( )

Definition at line 37 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials().

TGo4PolyCondView::~TGo4PolyCondView ( )
virtual

Definition at line 47 of file TGo4PolyCondView.cxx.

Member Function Documentation

TCutG * TGo4PolyCondView::CreateCut ( )

create plain cutg from this view.

Definition at line 220 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials().

Referenced by UpdateCondition().

void TGo4PolyCondView::DeleteRegion ( )

Delete condition instead of view:

Definition at line 304 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::IsOwnedByEditor().

void TGo4PolyCondView::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
virtual
TGo4PolyCond* TGo4PolyCondView::GetCondition ( )
inline

Definition at line 43 of file TGo4PolyCondView.h.

References fxPolyCondition.

const char * TGo4PolyCondView::GetName ( ) const
virtual

Definition at line 241 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

Int_t TGo4PolyCondView::InsertPoint ( )
virtual

Definition at line 64 of file TGo4PolyCondView.cxx.

References fbExecutesMouseMenu, and UpdateCondition().

Bool_t TGo4PolyCondView::IsAtExecuteMouseEvent ( )
inline

Definition at line 73 of file TGo4PolyCondView.h.

References fbExecutesMouseEvent.

Referenced by TGo4PolyCondPainter::PaintCondition().

Bool_t TGo4PolyCondView::IsAtExecuteMouseMenu ( )
inline

Definition at line 74 of file TGo4PolyCondView.h.

References fbExecutesMouseMenu.

Referenced by TGo4PolyCondPainter::PaintCondition().

Bool_t TGo4PolyCondView::IsCutChanged ( )

Check if cut on pad is changed compared with condition

Definition at line 137 of file TGo4PolyCondView.cxx.

References fxPolyCondition, TGo4PolyCond::GetCut(), and TGo4Condition::GetUpdateEpsilon().

Referenced by ExecuteEvent().

void TGo4PolyCondView::Paint ( Option_t *  opt)
virtual

Definition at line 52 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

Int_t TGo4PolyCondView::RemovePoint ( )
virtual

Definition at line 74 of file TGo4PolyCondView.cxx.

References fbExecutesMouseMenu, and UpdateCondition().

void TGo4PolyCondView::ResetLabel ( )

Will reset label position to defaults

Definition at line 314 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::ResetLabel().

void TGo4PolyCondView::SaveLabelStyle ( )

This will save draw flags into static default setup

Definition at line 309 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SaveLabelStyle().

void TGo4PolyCondView::SetCMaxDraw ( Bool_t  on)

Definition at line 299 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetCMaxDraw().

void TGo4PolyCondView::SetCondition ( TGo4PolyCond condition)
inline
void TGo4PolyCondView::SetCut ( TCutG *  source)

Set this view to values of cut source

Definition at line 198 of file TGo4PolyCondView.cxx.

Referenced by TGo4PolyCondPainter::PaintCondition(), and TGo4PolyCondView().

void TGo4PolyCondView::SetIntDraw ( Bool_t  on)

Definition at line 264 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetIntDraw().

void TGo4PolyCondView::SetLabelDraw ( Bool_t  on)

Definition at line 255 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetLabelDraw().

void TGo4PolyCondView::SetLimitsDraw ( Bool_t  on)

Definition at line 259 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetLimitsDraw().

void TGo4PolyCondView::SetName ( const char *  nam)

Definition at line 249 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

void TGo4PolyCondView::SetXMaxDraw ( Bool_t  on)

Definition at line 289 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXMaxDraw().

void TGo4PolyCondView::SetXMeanDraw ( Bool_t  on)

Definition at line 269 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXMeanDraw().

void TGo4PolyCondView::SetXRMSDraw ( Bool_t  on)

Definition at line 279 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXRMSDraw().

void TGo4PolyCondView::SetYMaxDraw ( Bool_t  on)

Definition at line 294 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYMaxDraw().

void TGo4PolyCondView::SetYMeanDraw ( Bool_t  on)

Definition at line 274 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYMeanDraw().

void TGo4PolyCondView::SetYRMSDraw ( Bool_t  on)

Definition at line 284 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYRMSDraw().

void TGo4PolyCondView::UpdateCondition ( )
virtual

Copy modified view values back to condition

Definition at line 178 of file TGo4PolyCondView.cxx.

References TGo4PolyCond::CleanupSpecials(), CreateCut(), fxPolyCondition, TGo4Condition::SetChanged(), and TGo4PolyCond::SetValues().

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

Member Data Documentation

Bool_t TGo4PolyCondView::fbExecutesMouseEvent
private

JAM this one will supress condition repaint during execution of mouse events

Definition at line 79 of file TGo4PolyCondView.h.

Referenced by ExecuteEvent(), and IsAtExecuteMouseEvent().

Bool_t TGo4PolyCondView::fbExecutesMouseMenu
private

JAM this one will supress condition repaint during mouse menu execution

Definition at line 82 of file TGo4PolyCondView.h.

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

TGo4PolyCond* TGo4PolyCondView::fxPolyCondition
private

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