KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
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 |
TVirtualPad * | cd (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 |
TObject * | DrawClone (Option_t *option="") const override |
virtual TObject * | DrawClonePad () |
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 |
TCanvasImp * | GetCanvasImp () const override |
TVirtualPadPainter * | GetCanvasPainter () |
virtual void | GetCanvasPar (Int_t &wtopx, Int_t &wtopy, UInt_t &ww, UInt_t &wh) |
TObject * | GetClickSelected () const |
TVirtualPad * | GetClickSelectedPad () const |
TContextMenu * | GetContextMenu () 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 |
TVirtualPad * | GetPadSave () const override |
TObject * | GetSelected () const override |
Option_t * | GetSelectedOpt () const |
TVirtualPad * | GetSelectedPad () 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 TPad * | Pick (Int_t px, Int_t py, TObject *prevSelObj) |
TPad * | Pick (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 |
TLegend * | BuildLegend (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 |
TVirtualPad * | cd (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 |
TObject * | CreateToolTip (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 () |
TH1F * | DrawFrame (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 |
TObject * | FindObject (const char *name) const override |
TObject * | FindObject (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 |
TCanvas * | GetCanvas () const override |
Int_t | GetCanvasID () const override |
TCanvasImp * | GetCanvasImp () const override |
Int_t | GetCrosshair () const |
Int_t | GetEvent () const override |
Int_t | GetEventX () const override |
Int_t | GetEventY () const override |
TFrame * | GetFrame () 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 |
TList * | GetListOfExecs () const override |
TList * | GetListOfPrimitives () const override |
Int_t | GetLogx () const override |
Int_t | GetLogy () const override |
Int_t | GetLogz () const override |
TVirtualPad * | GetMother () const override |
const char * | GetName () const override |
Int_t | GetNumber () const override |
TVirtualPad * | GetPad (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 |
TObject * | GetPadPointer () const override |
TVirtualPad * | GetPadSave () const override |
TVirtualPadPainter * | GetPainter () override |
Double_t | GetPhi () const override |
Int_t | GetPixmapID () const override |
TObject * | GetPrimitive (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 |
TObject * | GetSelected () const override |
TVirtualPad * | GetSelectedPad () 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 |
TView * | GetView () const override |
TObject * | GetView3D () const override |
TVirtualViewer3D * | GetViewer3D (Option_t *type="") override |
TVirtualPad * | GetVirtCanvas () 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 |
TObject * | WaitPrimitive (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 TObject * | Clone (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_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () 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) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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) |
TList * | GetListOfClassSignals () const |
TList * | GetListOfConnections () const |
TList * | GetListOfSignals () 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 () |
TH1 * | FindHisto () |
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 | |
void * | GetSender () 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 |
TAxis * | theXaxis |
TAxis * | theYaxis |
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... | |
#include <KVIDGridEditorCanvas.h>
KVIDGridEditorCanvas::KVIDGridEditorCanvas | ( | ) |
Default constructor.
Definition at line 35 of file KVIDGridEditorCanvas.cpp.
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.
|
virtual |
Destructor.
Definition at line 45 of file KVIDGridEditorCanvas.cpp.
|
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.
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.
|
private |
Definition at line 25 of file KVIDGridEditorCanvas.h.
|
private |
number of displayed bins on X & Y
Definition at line 25 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 26 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 27 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 28 of file KVIDGridEditorCanvas.h.
|
private |
the axes of the histogram
Definition at line 28 of file KVIDGridEditorCanvas.h.
|
private |
friend class KeyHandler;
variables for pan & scan
Definition at line 24 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 29 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 30 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 26 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 30 of file KVIDGridEditorCanvas.h.
|
private |
number of bins on x-axis, initial displayed bins
Definition at line 26 of file KVIDGridEditorCanvas.h.
|
private |
coordinates of initial click in pad pixels
Definition at line 24 of file KVIDGridEditorCanvas.h.
|
private |
size of bins in pixels
Definition at line 29 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 30 of file KVIDGridEditorCanvas.h.
|
private |
Definition at line 27 of file KVIDGridEditorCanvas.h.
|
private |
last modification to axis limits
Definition at line 30 of file KVIDGridEditorCanvas.h.
|
private |
number of bins on y-axis, initial displayed bins
Definition at line 27 of file KVIDGridEditorCanvas.h.