| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
private Bool_t | fbCreateNewMarker if true, each mouse pick will create new marker (window, respectively). otherwise move last marker to new pick location |
private Bool_t | fbPickAgain if true, continue with previous mouse mode. otherwise reset to root mode |
private Bool_t | fbTwoDimRegion true if next window region to create is 2 dimensional |
private Go4MouseMode_t | fiMouseMode This switches mouse modes: see Go4MouseModes.h |
private UInt_t | fuPickCounter number of clicks for multipick (regions) |
private TList* | fxArrowCleanups cleanup list of arrow objects |
private TList* | fxArrowList list of temporary arrow objects |
private TList* | fxLateXCleanups cleanup list of latex objects |
private TList* | fxLateXList list of temporary latex objects (text markers) |
private TList* | fxLegendCleanups cleanup list of legend objects |
private TList* | fxMarkerList list of temporary markers set |
private TVirtualPadEditor* | fxPeditor root pad editor for this viewpanel |
private TList* | fxPolygonList list of temporary polygons (poly conditions) |
private TList* | fxRegionList list of temporary regions (window conditions) |
private TString | fxSelectedName keep name of last selected object. |
private TGo4GUIRegistry* | fxTGo4GUIRegistry |
private TGo4PreviewPanel* | fxTGo4PreviewPanel |
private TGo4PreviewPanelStatus* | fxTGo4PreviewPanelStatus |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4PreviewPanelSlots(const char * name, const char * title, TGo4PreviewPanel* p) |
Destructor Summary | |
virtual synchronized | ~TGo4PreviewPanelSlots() |
Method Summary | |
void | ActivateSelectedObject(TVirtualPad* pad) Scan pad for selected object and activate it in the corresponding list of markers,windows,latexes |
Bool_t | AddArrow(TArrow* arr, TVirtualPad* pad, Bool_t clone) register arrrow object of current pad into list of arrow labels. |
Bool_t | AddLatex(TLatex* lax, TVirtualPad* pad, Bool_t clone) register latex object of current pad into list of latex labels. |
Bool_t | AddMarker(TGo4Marker* mk, TVirtualPad* pad, Bool_t clone) register marker object of current pad into list of crossmarkers. |
virtual void | AddObject(TNamed* , TQRootCanvas* c, TPad* p) |
Bool_t | AddPolygon(TGo4PolyCond* con, TVirtualPad* pad, Bool_t clone) register polygon condition object of current pad into list of regions. |
Bool_t | AddRegion(TGo4WinCond* con, TVirtualPad* pad, Bool_t clone) register window condition object of current pad into list of regions. |
void | BuildPadEditor(TQRootWindow* parent) build the root pad editor inside Qt parent frame |
void | CleanupPadEditor() remove subeditors in root cache for this viewpanel. |
void | ClearAllLabels(TVirtualPad* pad) In case of pad clear, delete all markers and region labels from viewpanel list that are assigned to pad. |
void | ClearLegend(TVirtualPad* pad, Bool_t del) Remove any Legend on pad. |
private TGo4MarkerSetup* | CreateMarkerSetup(TVirtualPad* pad) Create status of current viewpanel markers. |
void | DivideCanvas(int X, int Y) |
void | DrawLegend(TVirtualPad* pad, TObject* ob) Draw a new Legend for object ob on pad. |
TLatex* | GetActiveLatex(TVirtualPad* pad) Get latex object in list which is active for edit on the pad |
const const Text_t* | GetActiveLatexName(TVirtualPad* pad) Name of active latex for gui display |
TGo4Marker* | GetActiveMarker(TVirtualPad* pad) Get marker in list which is active for edit |
const const Text_t* | GetActiveMarkerName(TVirtualPad* pad) Name of active marker for gui display |
TGo4PolyCond* | GetActivePolygon(TVirtualPad* pad) Get polygon in list which is active for edit |
const const Text_t* | GetActivePolygonName(TVirtualPad* pad) Name of active polygon for gui display |
TGo4WinCond* | GetActiveRegion(TVirtualPad* pad) Get region in list which is active for edit |
const const Text_t* | GetActiveRegionName(TVirtualPad* pad) Name of active region for gui display |
TCanvas* | GetCanvas() |
Go4MouseMode_t | GetMouseMode() |
const const Text_t* | GetSelectedName() Name of last mouse selected object. |
TGo4Status* | GetStatus() |
void | InformUpdatePad(TPad* Pad) Inform other widgets (like fitpanel) that something change in the pad |
Bool_t | IsCreateNewMarker() |
Bool_t | IsPickAgain() |
void | LoadMarkerSetup(const Text_t* filename, const Text_t* statusname, TVirtualPad* pad) Load status of current viewpanel markers from root file filename and draw them into destination pad pad. |
void | LogMarkers(Option_t* opt) Log values of all markers to terminal or logfile |
void | MouseClick(TPad* pad) called when mouse clicks on pad (left button press) |
void | RedrawAllLabels(TVirtualPad* pad) In case of histogram redraw, restore all markers and region labels for pad |
void | ResetFillColors(TVirtualPad* pad, Color_t col) For canvas saving: reset all fill colors of pad to existing root color number. |
void | ResetPickCounter() |
void | SaveMarkerSetup(const Text_t* filename, const Text_t* statusname, TVirtualPad* pad) Save status of current viewpanel markers to root file filename. optionally, name of setup statusname may be defined |
void | ScanCutG(TVirtualPad* pad, TGo4PolyCond* toupdate) Scan pad for a newly created CutG and put it into a polygon condition toupdate. |
void | ScanMarkers(TVirtualPad* pad) Scan all Markers in pad and add new ones to lists. |
void | SetCreateNewMarker(Bool_t on) |
void | SetGUI(TGo4PreviewPanel* GUI) |
private void | SetMarkerSetup(TGo4MarkerSetup* state, TVirtualPad* pad) Arrange markers of current viewpanel from external setup. currently, all markers are put into destination pad pad. |
void | SetMarkersHistogram() Update histogram reference for all markers |
void | SetMouseMode(Go4MouseMode_t mode) |
void | SetPickAgain(Bool_t on) |
void | SetPolygonsHistogram() Update histogram reference for all polygon regions |
void | SetRegionsHistogram() Update histogram reference for all window regions |
void | UpdatePad(TPad* Pad, TH1* h1, Bool_t updatemarkers, Bool_t updateoptions) Synchronize padoptions of pad with setup of root histogram h1. if updatemarkers is true, also do scan graph markers and assign their work histogram. |
void | UpdatePad(TPad* Pad, THStack* h1, Bool_t updatemarkers) |
Methods inherited from class Go4GUIBase.TGo4SlotsBaseClass |
AddObject, AddObjectToLocalList, AddObjectToRemoteList, StatusChanged |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Field Detail |
private Bool_t fbCreateNewMarker
private Bool_t fbPickAgain
private Bool_t fbTwoDimRegion
private Go4MouseMode_t fiMouseMode
private UInt_t fuPickCounter
private TList* fxArrowCleanups
private TList* fxArrowList
private TList* fxLateXCleanups
private TList* fxLateXList
private TList* fxLegendCleanups
private TList* fxMarkerList
private TVirtualPadEditor* fxPeditor
private TList* fxPolygonList
private TList* fxRegionList
private TString fxSelectedName
private TGo4GUIRegistry* fxTGo4GUIRegistry
private TGo4PreviewPanel* fxTGo4PreviewPanel
private TGo4PreviewPanelStatus* fxTGo4PreviewPanelStatus
Constructor Detail |
public TGo4PreviewPanelSlots(const char * name, const char * title, TGo4PreviewPanel* p)
Method Detail |
public virtual synchronized ~TGo4PreviewPanelSlots()
Method Detail |
public void ActivateSelectedObject(TVirtualPad* pad)
public Bool_t AddArrow(TArrow* arr, TVirtualPad* pad, Bool_t clone)
public Bool_t AddLatex(TLatex* lax, TVirtualPad* pad, Bool_t clone)
public Bool_t AddMarker(TGo4Marker* mk, TVirtualPad* pad, Bool_t clone)
public virtual void AddObject(TNamed* , TQRootCanvas* c, TPad* p)
public Bool_t AddPolygon(TGo4PolyCond* con, TVirtualPad* pad, Bool_t clone)
public Bool_t AddRegion(TGo4WinCond* con, TVirtualPad* pad, Bool_t clone)
public void BuildPadEditor(TQRootWindow* parent)
public void CleanupPadEditor()
public void ClearAllLabels(TVirtualPad* pad)
public void ClearLegend(TVirtualPad* pad, Bool_t del)
private TGo4MarkerSetup* CreateMarkerSetup(TVirtualPad* pad)
public void DivideCanvas(int X, int Y)
public void DrawLegend(TVirtualPad* pad, TObject* ob)
public TLatex* GetActiveLatex(TVirtualPad* pad)
public const const Text_t* GetActiveLatexName(TVirtualPad* pad)
public TGo4Marker* GetActiveMarker(TVirtualPad* pad)
public const const Text_t* GetActiveMarkerName(TVirtualPad* pad)
public TGo4PolyCond* GetActivePolygon(TVirtualPad* pad)
public const const Text_t* GetActivePolygonName(TVirtualPad* pad)
public TGo4WinCond* GetActiveRegion(TVirtualPad* pad)
public const const Text_t* GetActiveRegionName(TVirtualPad* pad)
public TCanvas* GetCanvas()
public Go4MouseMode_t GetMouseMode()
public const const Text_t* GetSelectedName()
public TGo4Status* GetStatus()
public void InformUpdatePad(TPad* Pad)
public Bool_t IsCreateNewMarker()
public Bool_t IsPickAgain()
public void LoadMarkerSetup(const Text_t* filename, const Text_t* statusname, TVirtualPad* pad)
public void LogMarkers(Option_t* opt)
public void MouseClick(TPad* pad)
public void RedrawAllLabels(TVirtualPad* pad)
public void ResetFillColors(TVirtualPad* pad, Color_t col)
public void ResetPickCounter()
public void SaveMarkerSetup(const Text_t* filename, const Text_t* statusname, TVirtualPad* pad)
public void ScanCutG(TVirtualPad* pad, TGo4PolyCond* toupdate)
public void ScanMarkers(TVirtualPad* pad)
public void SetCreateNewMarker(Bool_t on)
public void SetGUI(TGo4PreviewPanel* GUI)
private void SetMarkerSetup(TGo4MarkerSetup* state, TVirtualPad* pad)
public void SetMarkersHistogram()
public void SetMouseMode(Go4MouseMode_t mode)
public void SetPickAgain(Bool_t on)
public void SetPolygonsHistogram()
public void SetRegionsHistogram()
public void UpdatePad(TPad* Pad, TH1* h1, Bool_t updatemarkers, Bool_t updateoptions)
public void UpdatePad(TPad* Pad, THStack* h1, Bool_t updatemarkers)
Association Links |
to Class TGo4PreviewPanelStatus
to Class Go4MouseMode_t
to Class TList
to Class TList
to Class TList
to Class TList
to Class TList
to Class TList
to Class TList
to Class TList
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |