Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4PolyCondView Class Reference

#include <TGo4PolyCondView.h>

List of all members.

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 ()
 Check if cut on pad is changed compared with condition.
virtual void UpdateCondition ()
 Copy modified view values back to condition.
void SetCondition (TGo4PolyCond *condition)
TGo4PolyCondGetCondition ()
void SetCut (TCutG *source)
 Set this view to values of cut source.
TCutG * CreateCut ()
 create plain cutg from this view.
virtual const char * GetName () const
void SetName (const Text_t *nam)
void DeleteRegion ()
 Delete condition instead of view:.
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 ()
 This will save draw flags into static default setup.
void ResetLabel ()
 Will reset label position to defaults.
virtual Int_t InsertPoint ()
virtual Int_t RemovePoint ()

Private Attributes

TGo4PolyCondfxPolyCondition
 pointer to viewed condition for update after graphical action


Constructor & Destructor Documentation

TGo4PolyCondView::TGo4PolyCondView TCutG *  source  ) 
 

Definition at line 26 of file TGo4PolyCondView.cxx.

References SetCut().

TGo4PolyCondView::TGo4PolyCondView  ) 
 

Definition at line 33 of file TGo4PolyCondView.cxx.

TGo4PolyCondView::~TGo4PolyCondView  )  [virtual]
 

Definition at line 39 of file TGo4PolyCondView.cxx.


Member Function Documentation

void TGo4PolyCondView::Paint Option_t *  opt  )  [virtual]
 

Definition at line 43 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

void TGo4PolyCondView::ExecuteEvent Int_t  event,
Int_t  px,
Int_t  py
[virtual]
 

Definition at line 67 of file TGo4PolyCondView.cxx.

References fxPolyCondition, IsCutChanged(), TGo4Condition::ResetLabel(), and UpdateCondition().

Bool_t TGo4PolyCondView::IsCutChanged  ) 
 

Check if cut on pad is changed compared with condition.

Definition at line 102 of file TGo4PolyCondView.cxx.

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

Referenced by ExecuteEvent().

void TGo4PolyCondView::UpdateCondition  )  [virtual]
 

Copy modified view values back to condition.

Definition at line 143 of file TGo4PolyCondView.cxx.

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

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

void TGo4PolyCondView::SetCondition TGo4PolyCond condition  )  [inline]
 

Definition at line 40 of file TGo4PolyCondView.h.

References fxPolyCondition.

Referenced by TGo4PolyCondPainter::SetCondition().

TGo4PolyCond* TGo4PolyCondView::GetCondition  )  [inline]
 

Definition at line 45 of file TGo4PolyCondView.h.

References fxPolyCondition.

void TGo4PolyCondView::SetCut TCutG *  source  ) 
 

Set this view to values of cut source.

Definition at line 154 of file TGo4PolyCondView.cxx.

Referenced by TGo4PolyCondView().

TCutG * TGo4PolyCondView::CreateCut  ) 
 

create plain cutg from this view.

Definition at line 170 of file TGo4PolyCondView.cxx.

Referenced by UpdateCondition().

const char * TGo4PolyCondView::GetName  )  const [virtual]
 

Definition at line 189 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

void TGo4PolyCondView::SetName const Text_t *  nam  ) 
 

Definition at line 197 of file TGo4PolyCondView.cxx.

References fxPolyCondition.

void TGo4PolyCondView::DeleteRegion  ) 
 

Delete condition instead of view:.

Definition at line 251 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::IsOwnedByEditor().

void TGo4PolyCondView::SetLabelDraw Bool_t  on  ) 
 

Definition at line 202 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetLabelDraw().

void TGo4PolyCondView::SetLimitsDraw Bool_t  on  ) 
 

Definition at line 206 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetLimitsDraw().

void TGo4PolyCondView::SetIntDraw Bool_t  on  ) 
 

Definition at line 211 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetIntDraw().

void TGo4PolyCondView::SetXMeanDraw Bool_t  on  ) 
 

Definition at line 216 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXMeanDraw().

void TGo4PolyCondView::SetXRMSDraw Bool_t  on  ) 
 

Definition at line 226 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXRMSDraw().

void TGo4PolyCondView::SetYMeanDraw Bool_t  on  ) 
 

Definition at line 221 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYMeanDraw().

void TGo4PolyCondView::SetYRMSDraw Bool_t  on  ) 
 

Definition at line 231 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYRMSDraw().

void TGo4PolyCondView::SetXMaxDraw Bool_t  on  ) 
 

Definition at line 236 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetXMaxDraw().

void TGo4PolyCondView::SetYMaxDraw Bool_t  on  ) 
 

Definition at line 241 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetYMaxDraw().

void TGo4PolyCondView::SetCMaxDraw Bool_t  on  ) 
 

Definition at line 246 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SetCMaxDraw().

void TGo4PolyCondView::SaveLabelStyle  ) 
 

This will save draw flags into static default setup.

Definition at line 256 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::SaveLabelStyle().

void TGo4PolyCondView::ResetLabel  ) 
 

Will reset label position to defaults.

Definition at line 261 of file TGo4PolyCondView.cxx.

References fxPolyCondition, and TGo4Condition::ResetLabel().

Int_t TGo4PolyCondView::InsertPoint  )  [virtual]
 

Definition at line 53 of file TGo4PolyCondView.cxx.

References UpdateCondition().

Int_t TGo4PolyCondView::RemovePoint  )  [virtual]
 

Definition at line 60 of file TGo4PolyCondView.cxx.

References UpdateCondition().


Member Data Documentation

TGo4PolyCond* TGo4PolyCondView::fxPolyCondition [private]
 

pointer to viewed condition for update after graphical action

Definition at line 78 of file TGo4PolyCondView.h.

Referenced by DeleteRegion(), ExecuteEvent(), GetCondition(), GetName(), IsCutChanged(), Paint(), ResetLabel(), SaveLabelStyle(), SetCMaxDraw(), SetCondition(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetName(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), and UpdateCondition().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:09 2008 for Go4-v3.04-1 by  doxygen 1.4.2