KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
KVIDGridEditorCanvas Class Reference

Extended version of KVCanvas used by KVIDGridEditor.

Created by KVClassFactory on Fri Feb 17 17:47:35 2012 Author: dgruyer

Used to override the TCanvas::HandleInput() method so that it reacts to mouse wheel events (kWheelUp/kWheelDown).

Definition at line 20 of file KVIDGridEditorCanvas.h.

Public Member Functions

 KVIDGridEditorCanvas ()
 Default constructor. More...
 
 KVIDGridEditorCanvas (const char *name, const char *title, Int_t ww, Int_t wh)
 
virtual ~KVIDGridEditorCanvas ()
 Destructor. More...
 
void HandleInput (EEventType event, Int_t px, Int_t py)
 
- Public Member Functions inherited from KVCanvas
 KVCanvas ()
 
 KVCanvas (const char *name, const char *title, Int_t ww, Int_t wh, Bool_t keyHandler=kTRUE)
 using TCanvas::TCanvas; More...
 
 KVCanvas (const char *name, Int_t ww, Int_t wh, Int_t winid)
 fKeyHandler = new KVKeyHandler(this); More...
 
virtual ~KVCanvas ()
 
void DisableClass (const char *className)
 
void DisableObject (TObject *obj)
 
void FreezCavans (Bool_t freez)
 
Int_t GetEnabledShortcuts ()
 
Int_t GetVenerMode ()
 
Bool_t IsLogx ()
 
Bool_t IsLogy ()
 
Bool_t IsLogz ()
 
void ResetDisabledClass ()
 
void ResetDisabledObject ()
 
void SetEnabledShortcuts (Int_t value=1)
 
void SetVenerMode (Int_t value=1)
 
void ShowShortcutsInfos ()
 
- Public Member Functions inherited from TCanvas
 TCanvas (Bool_t build=kTRUE)
 
 TCanvas (const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
 
 TCanvas (const char *name, const char *title, Int_t ww, Int_t wh)
 
 TCanvas (const char *name, const char *title="", Int_t form=1)
 
 TCanvas (const char *name, Int_t ww, Int_t wh, Int_t winid)
 
virtual ~TCanvas ()
 
void Browse (TBrowser *b) override
 
TVirtualPadcd (Int_t subpadnumber=0) override
 
void Clear (Option_t *option="") override
 
virtual void Cleared (TVirtualPad *pad)
 
void ClearPadSave ()
 
void Close (Option_t *option="") override
 
void Closed () override
 
void Constructor ()
 
void Constructor (const char *name, const char *title, Int_t form)
 
void Constructor (const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
 
void Constructor (const char *name, const char *title, Int_t ww, Int_t wh)
 
void Delete (Option_t *="") override
 
void DeleteCanvasPainter ()
 
void Destructor ()
 
void DisconnectWidget ()
 
void Draw (Option_t *option="") override
 
TObjectDrawClone (Option_t *option="") const override
 
virtual TObjectDrawClonePad ()
 
virtual void EditorBar ()
 
void EmbedInto (Int_t winid, Int_t ww, Int_t wh)
 
void EnterLeave (TPad *prevSelPad, TObject *prevSelObj)
 
void FeedbackMode (Bool_t set)
 
void Flush ()
 
void ForceUpdate ()
 
Bool_t GetAutoExec () const
 
Int_t GetCanvasID () const override
 
TCanvasImpGetCanvasImp () const override
 
TVirtualPadPainterGetCanvasPainter ()
 
virtual void GetCanvasPar (Int_t &wtopx, Int_t &wtopy, UInt_t &ww, UInt_t &wh)
 
TObjectGetClickSelected () const
 
TVirtualPadGetClickSelectedPad () const
 
TContextMenuGetContextMenu () const
 
const char * GetDISPLAY () const
 
Int_t GetDoubleBuffer () const
 
Int_t GetEvent () const override
 
Int_t GetEventX () const override
 
Int_t GetEventY () const override
 
Color_t GetHighLightColor () const override
 
TVirtualPadGetPadSave () const override
 
TObjectGetSelected () const override
 
Option_tGetSelectedOpt () const
 
TVirtualPadGetSelectedPad () const override
 
Int_t GetSelectedX () const
 
Int_t GetSelectedY () const
 
Bool_t GetShowEditor () const
 
Bool_t GetShowEventStatus () const
 
Bool_t GetShowToolBar () const
 
Bool_t GetShowToolTips () const
 
UInt_t GetWh () const override
 
UInt_t GetWindowHeight () const
 
Int_t GetWindowTopX ()
 
Int_t GetWindowTopY ()
 
UInt_t GetWindowWidth () const
 
UInt_t GetWw () const override
 
Size_t GetXsizeReal () const
 
Size_t GetXsizeUser () const
 
Size_t GetYsizeReal () const
 
Size_t GetYsizeUser () const
 
Bool_t HasMenuBar () const
 
virtual void HighlightConnect (const char *slot)
 
virtual void Highlighted (TVirtualPad *pad, TObject *obj, Int_t x, Int_t y)
 
void Iconify ()
 
Bool_t IsBatch () const override
 
Bool_t IsDrawn ()
 
Bool_t IsFolder () const override
 
Bool_t IsGrayscale ()
 
Bool_t IsRetained () const override
 
Bool_t IsWeb () const
 
void ls (Option_t *option="") const override
 
void MoveOpaque (Int_t set=1)
 
Bool_t OpaqueMoving () const override
 
Bool_t OpaqueResizing () const override
 
void Paint (Option_t *option="") override
 
virtual TPadPick (Int_t px, Int_t py, TObject *prevSelObj)
 
TPadPick (Int_t px, Int_t py, TObjLink *&pickobj) override
 
virtual void Picked (TPad *selpad, TObject *selected, Int_t event)
 
virtual void ProcessedEvent (Int_t event, Int_t x, Int_t y, TObject *selected)
 
void RaiseWindow ()
 
void ResetDrawn ()
 
virtual void Resize (Option_t *option="")
 
void ResizeOpaque (Int_t set=1)
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 
void SaveSource (const char *filename="", Option_t *option="")
 
virtual void Selected (TVirtualPad *pad, TObject *obj, Int_t event)
 
void SetBatch (Bool_t batch=kTRUE) override
 
void SetCanvasImp (TCanvasImp *i)
 
void SetCanvasSize (UInt_t ww, UInt_t wh) override
 
void SetClickSelected (TObject *obj)
 
void SetClickSelectedPad (TPad *pad)
 
void SetCursor (ECursor cursor) override
 
void SetDoubleBuffer (Int_t mode=1) override
 
void SetFixedAspectRatio (Bool_t fixed=kTRUE) override
 
void SetGrayscale (Bool_t set=kTRUE)
 
void SetHighLightColor (Color_t col)
 
void SetName (const char *name="") override
 
void SetPadSave (TPad *pad)
 
bool SetRealAspectRatio (const Int_t axis=1)
 
void SetRetained (Bool_t retained=kTRUE)
 
void SetSelected (TObject *obj) override
 
void SetSelectedPad (TPad *pad)
 
void SetSupportGL (Bool_t support)
 
void SetTitle (const char *title="") override
 
void SetWindowPosition (Int_t x, Int_t y)
 
void SetWindowSize (UInt_t ww, UInt_t wh)
 
void Show ()
 
virtual void Size (Float_t xsizeuser=0, Float_t ysizeuser=0)
 
virtual void ToggleAutoExec ()
 
virtual void ToggleEditor ()
 
virtual void ToggleEventStatus ()
 
virtual void ToggleToolBar ()
 
virtual void ToggleToolTips ()
 
void Update () override
 
void UseCurrentStyle () override
 
Bool_t UseGL () const
 
- Public Member Functions inherited from TPad
 TPad ()
 
 TPad (const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=-1, Short_t bordersize=-1, Short_t bordermode=-2)
 
virtual ~TPad ()
 
void AbsCoordinates (Bool_t set) override
 
Double_t AbsPixeltoX (Int_t px) override
 
virtual void AbsPixeltoXY (Int_t xpixel, Int_t ypixel, Double_t &x, Double_t &y)
 
Double_t AbsPixeltoY (Int_t py) override
 
void AddExec (const char *name, const char *command) override
 
virtual void AutoExec ()
 
void Browse (TBrowser *b) override
 
TLegendBuildLegend (Double_t x1=0.3, Double_t y1=0.21, Double_t x2=0.3, Double_t y2=0.21, const char *title="", Option_t *option="") override
 
TVirtualPadcd (Int_t subpadnumber=0) override
 
void Clear (Option_t *option="") override
 
Int_t Clip (Double_t *x, Double_t *y, Double_t xclipl, Double_t yclipb, Double_t xclipr, Double_t yclipt) override
 
virtual Int_t Clip (Float_t *x, Float_t *y, Float_t xclipl, Float_t yclipb, Float_t xclipr, Float_t yclipt)
 
virtual Int_t ClippingCode (Double_t x, Double_t y, Double_t xcl1, Double_t ycl1, Double_t xcl2, Double_t ycl2)
 
virtual Int_t ClipPolygon (Int_t n, Double_t *x, Double_t *y, Int_t nn, Double_t *xc, Double_t *yc, Double_t xclipl, Double_t yclipb, Double_t xclipr, Double_t yclipt)
 
void Close (Option_t *option="") override
 
void CloseToolTip (TObject *tip) override
 
void CopyPixmap () override
 
void CopyPixmaps () override
 
TObjectCreateToolTip (const TBox *b, const char *text, Long_t delayms) override
 
void DeleteExec (const char *name) override
 
void DeleteToolTip (TObject *tip) override
 
void Divide (Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0) override
 
virtual void DivideSquare (Int_t n, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
 
void Draw (Option_t *option="") override
 
void DrawClassObject (const TObject *obj, Option_t *option="") override
 
void DrawCollideGrid ()
 
virtual void DrawCrosshair ()
 
TH1FDrawFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *title="") override
 
virtual void EventPave ()
 
void ExecuteEventAxis (Int_t event, Int_t px, Int_t py, TAxis *axis) override
 
TObjectFindObject (const char *name) const override
 
TObjectFindObject (const TObject *obj) const override
 
Double_t GetAbsHNDC () const override
 
Double_t GetAbsWNDC () const override
 
Double_t GetAbsXlowNDC () const override
 
Double_t GetAbsYlowNDC () const override
 
Double_t GetAspectRatio () const override
 
Rectangle_t GetBBox () override
 
TPoint GetBBoxCenter () override
 
Short_t GetBorderMode () const override
 
Short_t GetBorderSize () const override
 
TCanvasGetCanvas () const override
 
Int_t GetCanvasID () const override
 
TCanvasImpGetCanvasImp () const override
 
Int_t GetCrosshair () const
 
Int_t GetEvent () const override
 
Int_t GetEventX () const override
 
Int_t GetEventY () const override
 
TFrameGetFrame () override
 
Int_t GetGLDevice () override
 
Bool_t GetGridx () const override
 
Bool_t GetGridy () const override
 
Color_t GetHighLightColor () const override
 
Double_t GetHNDC () const override
 
TListGetListOfExecs () const override
 
TListGetListOfPrimitives () const override
 
Int_t GetLogx () const override
 
Int_t GetLogy () const override
 
Int_t GetLogz () const override
 
TVirtualPadGetMother () const override
 
const char * GetName () const override
 
Int_t GetNumber () const override
 
TVirtualPadGetPad (Int_t subpadnumber) const override
 
Int_t GetPadPaint () const override
 
void GetPadPar (Double_t &xlow, Double_t &ylow, Double_t &xup, Double_t &yup) override
 
TObjectGetPadPointer () const override
 
TVirtualPadGetPadSave () const override
 
TVirtualPadPainterGetPainter () override
 
Double_t GetPhi () const override
 
Int_t GetPixmapID () const override
 
TObjectGetPrimitive (const char *name) const override
 
void GetRange (Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) override
 
void GetRangeAxis (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) override
 
TObjectGetSelected () const override
 
TVirtualPadGetSelectedPad () const override
 
Double_t GetTheta () const override
 
Int_t GetTickx () const override
 
Int_t GetTicky () const override
 
const char * GetTitle () const override
 
Double_t GetUxmax () const override
 
Double_t GetUxmin () const override
 
Double_t GetUymax () const override
 
Double_t GetUymin () const override
 
TViewGetView () const override
 
TObjectGetView3D () const override
 
TVirtualViewer3DGetViewer3D (Option_t *type="") override
 
TVirtualPadGetVirtCanvas () const override
 
UInt_t GetWh () const override
 
Double_t GetWNDC () const override
 
UInt_t GetWw () const override
 
Double_t GetX1 () const override
 
Double_t GetX2 () const override
 
Double_t GetXlowNDC () const override
 
Double_t GetY1 () const override
 
Double_t GetY2 () const override
 
Double_t GetYlowNDC () const override
 
Bool_t HasCrosshair () const override
 
Bool_t HasFixedAspectRatio () const override
 
ULong_t Hash () const override
 
Bool_t HasViewer3D () const override
 
void HighLight (Color_t col=kRed, Bool_t set=kTRUE) override
 
Int_t IncrementPaletteColor (Int_t i, TString opt) override
 
Bool_t IsBatch () const override
 
virtual Bool_t IsEditable () const override
 
Bool_t IsFolder () const override
 
Bool_t IsModified () const override
 
Bool_t IsRetained () const override
 
Bool_t IsVertical () const override
 
void ls (Option_t *option="") const override
 
void Modified (Bool_t flag=1) override
 
Int_t NextPaletteColor () override
 
Bool_t OpaqueMoving () const override
 
Bool_t OpaqueResizing () const override
 
Double_t PadtoX (Double_t x) const override
 
Double_t PadtoY (Double_t y) const override
 
void Paint (Option_t *option="") override
 
void PaintBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="") override
 
void PaintFillArea (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override
 
void PaintFillArea (Int_t n, Float_t *x, Float_t *y, Option_t *option="") override
 
void PaintFillAreaHatches (Int_t n, Double_t *x, Double_t *y, Int_t FillStyle)
 
void PaintFillAreaNDC (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override
 
void PaintHatches (Double_t dy, Double_t angle, Int_t nn, Double_t *xx, Double_t *yy)
 
void PaintLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
 
void PaintLine3D (Double_t *p1, Double_t *p2) override
 
void PaintLine3D (Float_t *p1, Float_t *p2) override
 
void PaintLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
 
void PaintModified () override
 
void PaintPadFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) override
 
void PaintPolyLine (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override
 
void PaintPolyLine (Int_t n, Float_t *x, Float_t *y, Option_t *option="") override
 
void PaintPolyLine3D (Int_t n, Double_t *p) override
 
void PaintPolyLineNDC (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override
 
void PaintPolyMarker (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override
 
void PaintPolyMarker (Int_t n, Float_t *x, Float_t *y, Option_t *option="") override
 
void PaintText (Double_t x, Double_t y, const char *text) override
 
void PaintText (Double_t x, Double_t y, const wchar_t *text) override
 
void PaintTextNDC (Double_t u, Double_t v, const char *text) override
 
void PaintTextNDC (Double_t u, Double_t v, const wchar_t *text) override
 
Double_t PixeltoX (Int_t px) override
 
virtual void PixeltoXY (Int_t xpixel, Int_t ypixel, Double_t &x, Double_t &y)
 
Double_t PixeltoY (Int_t py) override
 
Bool_t PlaceBox (TObject *o, Double_t w, Double_t h, Double_t &xl, Double_t &yb) override
 
void Pop () override
 
void Print (const char *filename, Option_t *option) override
 
void Print (const char *filename="") const override
 
void Range (Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
 
void RangeAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) override
 
virtual void RangeAxisChanged ()
 
virtual void RangeChanged ()
 
virtual void RecordLatex (const TObject *obj)
 
virtual void RecordPave (const TObject *obj)
 
void RecursiveRemove (TObject *obj) override
 
void RedrawAxis (Option_t *option="") override
 
void ReleaseViewer3D (Option_t *type="") override
 
void ResetToolTip (TObject *tip) override
 
void ResetView3D (TObject *view=nullptr) override
 
virtual void Resized ()
 
void ResizePad (Option_t *option="") override
 
void SaveAs (const char *filename="", Option_t *option="") const override
 
void SetAttFillPS (Color_t color, Style_t style) override
 
void SetAttLinePS (Color_t color, Style_t style, Width_t lwidth) override
 
void SetAttMarkerPS (Color_t color, Style_t style, Size_t msize) override
 
void SetAttTextPS (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) override
 
void SetBBoxCenter (const TPoint &p) override
 
void SetBBoxCenterX (const Int_t x) override
 
void SetBBoxCenterY (const Int_t y) override
 
void SetBBoxX1 (const Int_t x) override
 
void SetBBoxX2 (const Int_t x) override
 
void SetBBoxY1 (const Int_t y) override
 
void SetBBoxY2 (const Int_t y) override
 
void SetBorderMode (Short_t bordermode) override
 
void SetBorderSize (Short_t bordersize) override
 
void SetCanvas (TCanvas *c) override
 
void SetCanvasSize (UInt_t ww, UInt_t wh) override
 
void SetCopyGLDevice (Bool_t copy) override
 
void SetCrosshair (Int_t crhair=1) override
 
void SetCursor (ECursor cursor) override
 
void SetDoubleBuffer (Int_t mode=1) override
 
void SetDrawOption (Option_t *option="") override
 
void SetEditable (Bool_t mode=kTRUE) override
 
void SetFillStyle (Style_t fstyle) override
 
void SetFixedAspectRatio (Bool_t fixed=kTRUE) override
 
virtual void SetGLDevice (Int_t dev)
 
void SetGrid (Int_t valuex=1, Int_t valuey=1) override
 
void SetGridx (Int_t value=1) override
 
void SetGridy (Int_t value=1) override
 
void SetLogx (Int_t value=1) override
 
void SetLogy (Int_t value=1) override
 
void SetLogz (Int_t value=1) override
 
void SetName (const char *name) override
 
virtual void SetNumber (Int_t number)
 
void SetPad (const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=35, Short_t bordersize=5, Short_t bordermode=-1) override
 
void SetPad (Double_t xlow, Double_t ylow, Double_t xup, Double_t yup) override
 
void SetPhi (Double_t phi=30) override
 
void SetSelected (TObject *obj) override
 
void SetTheta (Double_t theta=30) override
 
void SetTicks (Int_t valuex=1, Int_t valuey=1) override
 
void SetTickx (Int_t value=1) override
 
void SetTicky (Int_t value=1) override
 
void SetTitle (const char *title="") override
 
void SetToolTipText (const char *text, Long_t delayms=1000) override
 
void SetVertical (Bool_t vert=kTRUE) override
 
void SetView (TView *view=nullptr) override
 
void SetViewer3D (TVirtualViewer3D *viewer3d) override
 
void ShowGuidelines (TObject *object, const Int_t event, const char mode='i', const bool cling=true) override
 
virtual void StartEditing ()
 
void Update () override
 
void UseCurrentStyle () override
 
Int_t UtoAbsPixel (Double_t u) const override
 
Int_t UtoPixel (Double_t u) const override
 
Int_t VtoAbsPixel (Double_t v) const override
 
Int_t VtoPixel (Double_t v) const override
 
TObjectWaitPrimitive (const char *pname="", const char *emode="") override
 
virtual void x3d (Option_t *type="")
 
Int_t XtoAbsPixel (Double_t x) const override
 
Double_t XtoPad (Double_t x) const override
 
Int_t XtoPixel (Double_t x) const override
 
virtual void XYtoAbsPixel (Double_t x, Double_t y, Int_t &xpixel, Int_t &ypixel) const
 
virtual void XYtoPixel (Double_t x, Double_t y, Int_t &xpixel, Int_t &ypixel) const
 
Int_t YtoAbsPixel (Double_t y) const override
 
Double_t YtoPad (Double_t y) const override
 
Int_t YtoPixel (Double_t y) const override
 
- Public Member Functions inherited from TVirtualPad
 TVirtualPad ()
 
 TVirtualPad (const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=19, Short_t bordersize=4, Short_t bordermode=1)
 
virtual ~TVirtualPad ()
 
Bool_t IsBeingResized () const
 
virtual Bool_t PadInHighlightMode () const
 
virtual Bool_t PadInSelectionMode () const
 
virtual void PopTopLevelSelectable ()
 
virtual void PushSelectableObject (TObject *obj)
 
virtual void PushTopLevelSelectable (TObject *top)
 
virtual void UnZoomed ()
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual void DrawClass () const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual Int_t Read (const char *name)
 
void ResetBit (UInt_t f)
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 
virtual ~TAttLine ()
 
void Copy (TAttLine &attline) const
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 
virtual Color_t GetLineColor () const
 
virtual Style_t GetLineStyle () const
 
virtual Width_t GetLineWidth () const
 
virtual void Modify ()
 
virtual void ResetAttLine (Option_t *option="")
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 
virtual void SetLineAttributes ()
 
virtual void SetLineColor (Color_t lcolor)
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 
virtual void SetLineStyle (Style_t lstyle)
 
virtual void SetLineWidth (Width_t lwidth)
 
- Public Member Functions inherited from TAttFill
 TAttFill ()
 
 TAttFill (Color_t fcolor, Style_t fstyle)
 
virtual ~TAttFill ()
 
void Copy (TAttFill &attfill) const
 
virtual Color_t GetFillColor () const
 
virtual Style_t GetFillStyle () const
 
virtual Bool_t IsTransparent () const
 
virtual void Modify ()
 
virtual void ResetAttFill (Option_t *option="")
 
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
 
virtual void SetFillAttributes ()
 
virtual void SetFillColor (Color_t fcolor)
 
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
 
- Public Member Functions inherited from TAttPad
 TAttPad ()
 
virtual ~TAttPad ()
 
virtual void Copy (TAttPad &attpad) const
 
Float_t GetAfile () const
 
Float_t GetAstat () const
 
Float_t GetBottomMargin () const
 
Int_t GetFrameBorderMode () const
 
Width_t GetFrameBorderSize () const
 
Color_t GetFrameFillColor () const
 
Style_t GetFrameFillStyle () const
 
Color_t GetFrameLineColor () const
 
Style_t GetFrameLineStyle () const
 
Width_t GetFrameLineWidth () const
 
Float_t GetLeftMargin () const
 
Float_t GetRightMargin () const
 
Float_t GetTopMargin () const
 
Float_t GetXfile () const
 
Float_t GetXstat () const
 
Float_t GetYfile () const
 
Float_t GetYstat () const
 
virtual void ResetAttPad (Option_t *option="")
 
virtual void SetAfile (Float_t afile)
 
virtual void SetAstat (Float_t astat)
 
virtual void SetBottomMargin (Float_t bottommargin)
 
void SetFrameBorderMode (Int_t mode=1)
 
void SetFrameBorderSize (Width_t size=1)
 
void SetFrameFillColor (Color_t color=1)
 
void SetFrameFillStyle (Style_t styl=0)
 
void SetFrameLineColor (Color_t color=1)
 
void SetFrameLineStyle (Style_t styl=0)
 
void SetFrameLineWidth (Width_t width=1)
 
virtual void SetLeftMargin (Float_t leftmargin)
 
virtual void SetMargin (Float_t left, Float_t right, Float_t bottom, Float_t top)
 
virtual void SetRightMargin (Float_t rightmargin)
 
virtual void SetTopMargin (Float_t topmargin)
 
virtual void SetXfile (Float_t xfile)
 
virtual void SetXstat (Float_t xstat)
 
virtual void SetYfile (Float_t yfile)
 
virtual void SetYstat (Float_t ystat)
 
- Public Member Functions inherited from TQObject
 TQObject ()
 
virtual ~TQObject ()
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 
void Emit (const char *signal, const T &arg)
 
void EmitVA (const char *signal_name, Int_t, const T &... params)
 
TListGetListOfClassSignals () const
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 
virtual void HighPriority (const char *signal_name, const char *slot_name=0)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 
virtual Int_t NumberOfSignals () const
 
- Public Member Functions inherited from TAttBBox2D
virtual ~TAttBBox2D ()
 

Protected Member Functions

virtual Bool_t HandleKey (Int_t px, Int_t py)
 KeyHandler *fKeyHandler; // handler for arrow keys. More...
 
- Protected Member Functions inherited from KVCanvas
void AddShortcutsInfo (const char *cut, const char *desc)
 
void DrawEventStatus (Int_t event, Int_t px, Int_t py, TObject *selected)
 
void DynamicZoom (Int_t Sign, Int_t px, Int_t py)
 
void DynamicZoomTH1 (Int_t Sign, Int_t px, Int_t py)
 Zoom in or out of histogram with mouse wheel. More...
 
Bool_t ExpandFunctionRange ()
 
TH1FindHisto ()
 
void InitInfos ()
 
void MoveAxis (TAxis *ax, Int_t sign)
 
void ProfileX (TH2 *hh)
 
void ProfileY (TH2 *hh)
 
void ProjectionX (TH2 *hh)
 
void ProjectionY (TH2 *hh)
 
void RunAutoExec ()
 Execute the list of TExecs in the current pad. More...
 
void SaveCanvasAs ()
 
void ZoomSelected (TH2 *TheHisto)
 
- Protected Member Functions inherited from TCanvas
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
void Init ()
 
- Protected Member Functions inherited from TPad
void DestroyExternalViewer3D ()
 
Int_t DistancetoPrimitive (Int_t px, Int_t py) override
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
virtual void HideToolTip (Int_t event)
 
void PaintBorder (Color_t color, Bool_t tops)
 
void PaintBorderPS (Double_t xl, Double_t yl, Double_t xt, Double_t yt, Int_t bmode, Int_t bsize, Int_t dark, Int_t light) override
 
void PaintDate ()
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 
void SetBatch (Bool_t batch=kTRUE) override
 
- Protected Member Functions inherited from TVirtualPad
voidGetSender () override
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual const char * GetSenderClassName () const
 

Private Attributes

Int_t NdisXbins
 
Int_t NdisYbins
 number of displayed bins on X & Y More...
 
Int_t NXbins
 
Int_t NYbins
 
TAxistheXaxis
 
TAxistheYaxis
 the axes of the histogram More...
 
Int_t X0
 friend class KeyHandler; More...
 
Double_t XbinPixel
 
Int_t Xf1
 
Int_t Xfirst0
 
Int_t Xl1
 
Int_t Xlast0
 number of bins on x-axis, initial displayed bins More...
 
Int_t Y0
 coordinates of initial click in pad pixels More...
 
Double_t YbinPixel
 size of bins in pixels More...
 
Int_t Yf1
 
Int_t Yfirst0
 
Int_t Yl1
 last modification to axis limits More...
 
Int_t Ylast0
 number of bins on y-axis, initial displayed bins More...
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TCanvas
static TCanvasMakeDefCanvas ()
 
static void SetFolder (Bool_t isfolder=kTRUE)
 
static Bool_t SupportAlpha ()
 
- Static Public Member Functions inherited from TPad
static void DrawColorTable ()
 
static Int_t GetMaxPickDistance ()
 
static void SetMaxPickDistance (Int_t maxPick=5)
 
- Static Public Member Functions inherited from TVirtualPad
static TVirtualPad *& Pad ()
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 
static Bool_t BlockAllSignals (Bool_t b)
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 
- Public Attributes inherited from TCanvas
 kAutoExec
 
 kIsGrayscale
 
 kMenuBar
 
 kMoveOpaque
 
 kResizeOpaque
 
 kShowEditor
 
 kShowEventStatus
 
 kShowToolBar
 
 kShowToolTips
 
- Public Attributes inherited from TPad
 kCannotMove
 
 kClearAfterCR
 
 kClipFrame
 
 kFraming
 
 kHori
 
 kPrintingPS
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 
static TString CompressName (const char *method_name)
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
- Protected Attributes inherited from KVCanvas
Bool_t fAgeOfEmpire
 
TString fDisabledClasses
 
TList fDisabledObjects
 
Int_t fEnabledShortcuts
 
Bool_t fFreezed
 
Bool_t fHasDisabledClasses
 
Bool_t fHasDisabledObject
 
Bool_t fJPressed
 
TGFramefKeyHandler
 handler for keys More...
 
Bool_t fPPressed
 
TString fSavedAs
 
TList fShortCuts
 
Bool_t fVenerMode
 
Bool_t moved
 
Int_t NdisXbins
 
Int_t NdisYbins
 number of displayed bins on X & Y More...
 
Int_t NXbins
 
Int_t NYbins
 
Double_t oldx
 
Double_t oldy
 
TAxistheXaxis
 
TAxistheYaxis
 the axes of the histogram More...
 
Int_t X0
 ! variables for pan & scan More...
 
Double_t XbinPixel
 
Int_t Xf1
 
Int_t Xfirst0
 
Int_t Xl1
 
Int_t Xlast0
 number of bins on x-axis, initial displayed bins More...
 
Double_t xmax
 
Double_t xmin
 
Int_t Y0
 coordinates of initial click in pad pixels More...
 
Double_t YbinPixel
 size of bins in pixels More...
 
Int_t Yf1
 
Int_t Yfirst0
 
Int_t Yl1
 last modification to axis limits More...
 
Int_t Ylast0
 number of bins on y-axis, initial displayed bins More...
 
Double_t ymax
 
Double_t ymin
 
- Protected Attributes inherited from TCanvas
Bool_t fBatch
 
Int_t fCanvasID
 
TCanvasImpfCanvasImp
 
TAttCanvas fCatt
 
UInt_t fCh
 
TObjectfClickSelected
 
TPadfClickSelectedPad
 
TContextMenufContextMenu
 
UInt_t fCw
 
TString fDISPLAY
 
Int_t fDoubleBuffer
 
Bool_t fDrawn
 
Int_t fEvent
 
Int_t fEventX
 
Int_t fEventY
 
Color_t fHighLightColor
 
TPadfPadSave
 
TVirtualPadPainterfPainter
 
Bool_t fRetained
 
TObjectfSelected
 
TString fSelectedOpt
 
TPadfSelectedPad
 
Int_t fSelectedX
 
Int_t fSelectedY
 
Bool_t fUpdating
 
Bool_t fUseGL
 
UInt_t fWindowHeight
 
Int_t fWindowTopX
 
Int_t fWindowTopY
 
UInt_t fWindowWidth
 
Size_t fXsizeReal
 
Size_t fXsizeUser
 
Size_t fYsizeReal
 
Size_t fYsizeUser
 
- Protected Attributes inherited from TPad
Bool_t fAbsCoord
 
Double_t fAbsHNDC
 
Double_t fAbsPixeltoXk
 
Double_t fAbsPixeltoYk
 
Double_t fAbsWNDC
 
Double_t fAbsXlowNDC
 
Double_t fAbsYlowNDC
 
Double_t fAspectRatio
 
Short_t fBorderMode
 
Short_t fBorderSize
 
TCanvasfCanvas
 
Int_t fCGnx
 
Int_t fCGny
 
Bool_tfCollideGrid
 
Bool_t fCopyGLDevice
 
Int_t fCrosshair
 
Int_t fCrosshairPos
 
Bool_t fEditable
 
Bool_t fEmbeddedGL
 
TListfExecs
 
Bool_t fFixedAspectRatio
 
TFramefFrame
 
Int_t fGLDevice
 
Bool_t fGridx
 
Bool_t fGridy
 
Double_t fHNDC
 
Int_t fLogx
 
Int_t fLogy
 
Int_t fLogz
 
Bool_t fModified
 
TPadfMother
 
TString fName
 
Int_t fNextPaletteColor
 
Int_t fNumber
 
Int_t fNumPaletteColor
 
Int_t fPadPaint
 
TObjectfPadPointer
 
TObjectfPadView3D
 
Double_t fPhi
 
Double_t fPixeltoX
 
Double_t fPixeltoXk
 
Double_t fPixeltoY
 
Double_t fPixeltoYk
 
Int_t fPixmapID
 
TListfPrimitives
 
Double_t fTheta
 
Int_t fTickx
 
Int_t fTicky
 
TString fTitle
 
Double_t fUtoAbsPixelk
 
Double_t fUtoPixel
 
Double_t fUtoPixelk
 
Double_t fUxmax
 
Double_t fUxmin
 
Double_t fUymax
 
Double_t fUymin
 
TViewfView
 
TVirtualViewer3DfViewer3D
 
Double_t fVtoAbsPixelk
 
Double_t fVtoPixel
 
Double_t fVtoPixelk
 
Double_t fWNDC
 
Double_t fX1
 
Double_t fX2
 
Double_t fXlowNDC
 
Double_t fXtoAbsPixelk
 
Double_t fXtoPixel
 
Double_t fXtoPixelk
 
Double_t fXUpNDC
 
Double_t fY1
 
Double_t fY2
 
Double_t fYlowNDC
 
Double_t fYtoAbsPixelk
 
Double_t fYtoPixel
 
Double_t fYtoPixelk
 
Double_t fYUpNDC
 
- Protected Attributes inherited from TVirtualPad
Bool_t fResizing
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 
Style_t fFillStyle
 
- Protected Attributes inherited from TAttPad
Float_t fAfile
 
Float_t fAstat
 
Float_t fBottomMargin
 
Int_t fFrameBorderMode
 
Width_t fFrameBorderSize
 
Color_t fFrameFillColor
 
Style_t fFrameFillStyle
 
Color_t fFrameLineColor
 
Style_t fFrameLineStyle
 
Width_t fFrameLineWidth
 
Float_t fLeftMargin
 
Float_t fRightMargin
 
Float_t fTopMargin
 
Float_t fXfile
 
Float_t fXstat
 
Float_t fYfile
 
Float_t fYstat
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 
- Static Protected Attributes inherited from TCanvas
static Bool_t fgIsFolder
 
- Static Protected Attributes inherited from TPad
static Int_t fgMaxPickDistance
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked
 

#include <KVIDGridEditorCanvas.h>

Inheritance diagram for KVIDGridEditorCanvas:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVIDGridEditorCanvas() [1/2]

KVIDGridEditorCanvas::KVIDGridEditorCanvas ( )

Default constructor.

Definition at line 35 of file KVIDGridEditorCanvas.cpp.

◆ KVIDGridEditorCanvas() [2/2]

KVIDGridEditorCanvas::KVIDGridEditorCanvas ( const char *  name,
const char *  title,
Int_t  ww,
Int_t  wh 
)

gIDGridEditorCanvas = this; fKeyHandler = new KeyHandler(this);

Definition at line 23 of file KVIDGridEditorCanvas.cpp.

◆ ~KVIDGridEditorCanvas()

KVIDGridEditorCanvas::~KVIDGridEditorCanvas ( )
virtual

Destructor.

Definition at line 45 of file KVIDGridEditorCanvas.cpp.

Member Function Documentation

◆ HandleInput()

void KVIDGridEditorCanvas::HandleInput ( EEventType  event,
Int_t  px,
Int_t  py 
)
virtual

Handle Input Events.

Handle input events, like button up/down in current canvas.

Reimplemented from KVCanvas.

Definition at line 57 of file KVIDGridEditorCanvas.cpp.

◆ HandleKey()

Bool_t KVIDGridEditorCanvas::HandleKey ( Int_t  px,
Int_t  py 
)
protectedvirtual

KeyHandler *fKeyHandler; // handler for arrow keys.

Bool_t HandleKey(Event_t *event){return kTRUE;}

Reimplemented from KVCanvas.

Definition at line 418 of file KVIDGridEditorCanvas.cpp.

Member Data Documentation

◆ NdisXbins

Int_t KVIDGridEditorCanvas::NdisXbins
private

Definition at line 25 of file KVIDGridEditorCanvas.h.

◆ NdisYbins

Int_t KVIDGridEditorCanvas::NdisYbins
private

number of displayed bins on X & Y

Definition at line 25 of file KVIDGridEditorCanvas.h.

◆ NXbins

Int_t KVIDGridEditorCanvas::NXbins
private

Definition at line 26 of file KVIDGridEditorCanvas.h.

◆ NYbins

Int_t KVIDGridEditorCanvas::NYbins
private

Definition at line 27 of file KVIDGridEditorCanvas.h.

◆ theXaxis

TAxis* KVIDGridEditorCanvas::theXaxis
private

Definition at line 28 of file KVIDGridEditorCanvas.h.

◆ theYaxis

TAxis * KVIDGridEditorCanvas::theYaxis
private

the axes of the histogram

Definition at line 28 of file KVIDGridEditorCanvas.h.

◆ X0

Int_t KVIDGridEditorCanvas::X0
private

friend class KeyHandler;

variables for pan & scan

Definition at line 24 of file KVIDGridEditorCanvas.h.

◆ XbinPixel

Double_t KVIDGridEditorCanvas::XbinPixel
private

Definition at line 29 of file KVIDGridEditorCanvas.h.

◆ Xf1

Int_t KVIDGridEditorCanvas::Xf1
private

Definition at line 30 of file KVIDGridEditorCanvas.h.

◆ Xfirst0

Int_t KVIDGridEditorCanvas::Xfirst0
private

Definition at line 26 of file KVIDGridEditorCanvas.h.

◆ Xl1

Int_t KVIDGridEditorCanvas::Xl1
private

Definition at line 30 of file KVIDGridEditorCanvas.h.

◆ Xlast0

Int_t KVIDGridEditorCanvas::Xlast0
private

number of bins on x-axis, initial displayed bins

Definition at line 26 of file KVIDGridEditorCanvas.h.

◆ Y0

Int_t KVIDGridEditorCanvas::Y0
private

coordinates of initial click in pad pixels

Definition at line 24 of file KVIDGridEditorCanvas.h.

◆ YbinPixel

Double_t KVIDGridEditorCanvas::YbinPixel
private

size of bins in pixels

Definition at line 29 of file KVIDGridEditorCanvas.h.

◆ Yf1

Int_t KVIDGridEditorCanvas::Yf1
private

Definition at line 30 of file KVIDGridEditorCanvas.h.

◆ Yfirst0

Int_t KVIDGridEditorCanvas::Yfirst0
private

Definition at line 27 of file KVIDGridEditorCanvas.h.

◆ Yl1

Int_t KVIDGridEditorCanvas::Yl1
private

last modification to axis limits

Definition at line 30 of file KVIDGridEditorCanvas.h.

◆ Ylast0

Int_t KVIDGridEditorCanvas::Ylast0
private

number of bins on y-axis, initial displayed bins

Definition at line 27 of file KVIDGridEditorCanvas.h.


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