Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TInspectCanvas Class Reference

A TInspectCanvas is a canvas specialized to inspect Root objects.

Definition at line 21 of file TInspectCanvas.h.

Public Member Functions

 TInspectCanvas ()
 InspectCanvas default constructor. More...
 
 TInspectCanvas (UInt_t ww, UInt_t wh)
 InspectCanvas constructor. More...
 
virtual ~TInspectCanvas ()
 InspectCanvas default destructor. More...
 
virtual void Divide (Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
 Automatic pad generation by division. More...
 
TButtonGetBackward () const
 
TObjectGetCurObject () const
 
TButtonGetForward () const
 
TListGetObjects () const
 
virtual void InspectObject (TObject *obj)
 Dump contents of obj in a graphics canvas. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove object from the list of objects. More...
 
virtual void SetGrid (Int_t valuex=1, Int_t valuey=1)
 
virtual void SetGridx (Int_t value=1)
 
virtual void SetGridy (Int_t value=1)
 
virtual void SetLogx (Int_t value=1)
 Set Lin/Log scale for X. More...
 
virtual void SetLogy (Int_t value=1)
 Set Lin/Log scale for Y. More...
 
virtual void SetLogz (Int_t value=1)
 Set Lin/Log scale for Z. More...
 
virtual void SetTickx (Int_t value=1)
 
virtual void SetTicky (Int_t value=1)
 
virtual void x3d (Option_t *option="")
 Deprecated: use TPad::GetViewer3D() instead. More...
 
- Public Member Functions inherited from TCanvas
 TCanvas (Bool_t build=kTRUE)
 Canvas default constructor. More...
 
 TCanvas (const char *name, const char *title="", Int_t form=1)
 Create a new canvas with a predefined size form. More...
 
 TCanvas (const char *name, const char *title, Int_t ww, Int_t wh)
 Create a new canvas at a random position. More...
 
 TCanvas (const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
 Create a new canvas. More...
 
 TCanvas (const char *name, Int_t ww, Int_t wh, Int_t winid)
 Create an embedded canvas, i.e. More...
 
virtual ~TCanvas ()
 Canvas destructor. More...
 
virtual void Browse (TBrowser *b)
 Browse. More...
 
TVirtualPadcd (Int_t subpadnumber=0)
 Set current canvas & pad. More...
 
void Clear (Option_t *option="")
 Remove all primitives from the canvas. More...
 
virtual void Cleared (TVirtualPad *pad)
 Emit pad Cleared signal. More...
 
void ClearPadSave ()
 
void Close (Option_t *option="")
 Close canvas. More...
 
virtual void Closed ()
 Emit Closed signal. More...
 
void Constructor ()
 Canvas default constructor. More...
 
void Constructor (const char *name, const char *title, Int_t form)
 Create a new canvas with a predefined size form. More...
 
void Constructor (const char *name, const char *title, Int_t ww, Int_t wh)
 Create a new canvas at a random position. More...
 
void Constructor (const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
 Create a new canvas. More...
 
virtual void Delete (Option_t *="")
 Delete this object. More...
 
void DeleteCanvasPainter ()
 assert on IsBatch() == false? More...
 
void Destructor ()
 Actual canvas destructor. More...
 
void DisconnectWidget ()
 Used by friend class TCanvasImp. More...
 
virtual void Draw (Option_t *option="")
 Draw a canvas. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this canvas A new canvas is created that is a clone of this canvas. More...
 
virtual TObjectDrawClonePad ()
 Draw a clone of this canvas into the current pad In an interactive session, select the destination/current pad with the middle mouse button, then point to the canvas area to select the canvas context menu item DrawClonePad. More...
 
virtual void EditorBar ()
 Get editor bar. More...
 
void EmbedInto (Int_t winid, Int_t ww, Int_t wh)
 Embedded a canvas into a TRootEmbeddedCanvas. More...
 
void EnterLeave (TPad *prevSelPad, TObject *prevSelObj)
 Generate kMouseEnter and kMouseLeave events depending on the previously selected object and the currently selected object. More...
 
void FeedbackMode (Bool_t set)
 Turn rubberband feedback mode on or off. More...
 
void Flush ()
 Flush canvas buffers. More...
 
void ForceUpdate ()
 
Bool_t GetAutoExec () const
 
Int_t GetCanvasID () const
 Get canvas identifier. More...
 
TCanvasImpGetCanvasImp () const
 Get canvas implementation pointer if any. More...
 
TVirtualPadPainterGetCanvasPainter ()
 Access and (probably) creation of pad painter. More...
 
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
 Get Event. More...
 
Int_t GetEventX () const
 Get X event. More...
 
Int_t GetEventY () const
 Get Y event. More...
 
Color_t GetHighLightColor () const
 Get highlight color. More...
 
TVirtualPadGetPadSave () const
 
TObjectGetSelected () const
 Get selected. More...
 
Option_tGetSelectedOpt () const
 
TVirtualPadGetSelectedPad () const
 
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
 Get Wh. More...
 
UInt_t GetWindowHeight () const
 
Int_t GetWindowTopX ()
 Returns current top x position of window on screen. More...
 
Int_t GetWindowTopY ()
 Returns current top y position of window on screen. More...
 
UInt_t GetWindowWidth () const
 
UInt_t GetWw () const
 Get Ww. More...
 
Size_t GetXsizeReal () const
 
Size_t GetXsizeUser () const
 
Size_t GetYsizeReal () const
 
Size_t GetYsizeUser () const
 
virtual void HandleInput (EEventType button, Int_t x, Int_t y)
 Handle Input Events. More...
 
Bool_t HasMenuBar () const
 
void Iconify ()
 
Bool_t IsBatch () const
 Is pad in batch mode ? More...
 
Bool_t IsDrawn ()
 
Bool_t IsFolder () const
 Is folder ? More...
 
Bool_t IsGrayscale ()
 Check whether this canvas is to be drawn in grayscale mode. More...
 
Bool_t IsRetained () const
 Is pad retained ? More...
 
virtual void ls (Option_t *option="") const
 List all pads. More...
 
void MoveOpaque (Int_t set=1)
 Set option to move objects/pads in a canvas. More...
 
Bool_t OpaqueMoving () const
 Is pad moving in opaque mode ? More...
 
Bool_t OpaqueResizing () const
 Is pad resizing in opaque mode ? More...
 
virtual void Paint (Option_t *option="")
 Paint canvas. More...
 
virtual TPadPick (Int_t px, Int_t py, TObjLink *&pickobj)
 Search for an object at pixel position px,py. More...
 
virtual TPadPick (Int_t px, Int_t py, TObject *prevSelObj)
 Prepare for pick, call TPad::Pick() and when selected object is different from previous then emit Picked() signal. More...
 
virtual void Picked (TPad *selpad, TObject *selected, Int_t event)
 Emit Picked() signal. More...
 
virtual void ProcessedEvent (Int_t event, Int_t x, Int_t y, TObject *selected)
 Emit ProcessedEvent() signal. More...
 
void RaiseWindow ()
 
void ResetDrawn ()
 
virtual void Resize (Option_t *option="")
 Recompute canvas parameters following a X11 Resize. More...
 
void ResizeOpaque (Int_t set=1)
 Set option to resize objects/pads in a canvas. More...
 
void SavePrimitive (std::ostream &out, Option_t *option="")
 Save primitives in this canvas in C++ macro file with GUI. More...
 
void SaveSource (const char *filename="", Option_t *option="")
 Save primitives in this canvas as a C++ macro file. More...
 
virtual void Selected (TVirtualPad *pad, TObject *obj, Int_t event)
 Emit Selected() signal. More...
 
void SetBatch (Bool_t batch=kTRUE)
 Toggle batch mode. More...
 
void SetCanvasImp (TCanvasImp *i)
 
void SetCanvasSize (UInt_t ww, UInt_t wh)
 Set Width and Height of canvas to ww and wh respectively. More...
 
void SetClickSelected (TObject *obj)
 
void SetClickSelectedPad (TPad *pad)
 
virtual void SetCursor (ECursor cursor)
 Set cursor. More...
 
virtual void SetDoubleBuffer (Int_t mode=1)
 Set Double Buffer On/Off. More...
 
virtual void SetFixedAspectRatio (Bool_t fixed=kTRUE)
 Fix canvas aspect ratio to current value if fixed is true. More...
 
void SetGrayscale (Bool_t set=kTRUE)
 Set whether this canvas should be painted in grayscale, and re-paint it if necessary. More...
 
void SetHighLightColor (Color_t col)
 
void SetPadSave (TPad *pad)
 
void SetRetained (Bool_t retained=kTRUE)
 
void SetSelected (TObject *obj)
 Set selected canvas. More...
 
void SetSelectedPad (TPad *pad)
 
void SetSupportGL (Bool_t support)
 
void SetTitle (const char *title="")
 Set canvas title. More...
 
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)
 Set the canvas scale in centimeters. More...
 
virtual void ToggleAutoExec ()
 Toggle pad auto execution of list of TExecs. More...
 
virtual void ToggleEditor ()
 Toggle editor. More...
 
virtual void ToggleEventStatus ()
 Toggle event statusbar. More...
 
virtual void ToggleToolBar ()
 Toggle toolbar. More...
 
virtual void ToggleToolTips ()
 Toggle tooltip display. More...
 
virtual void Update ()
 Update canvas pad buffers. More...
 
void UseCurrentStyle ()
 Force a copy of current style for all objects in canvas. More...
 
Bool_t UseGL () const
 
- Public Member Functions inherited from TPad
 TPad ()
 Pad default constructor. More...
 
 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)
 Pad constructor. More...
 
virtual ~TPad ()
 Pad destructor. More...
 
void AbsCoordinates (Bool_t set)
 
Double_t AbsPixeltoX (Int_t px)
 
virtual void AbsPixeltoXY (Int_t xpixel, Int_t ypixel, Double_t &x, Double_t &y)
 
Double_t AbsPixeltoY (Int_t py)
 
virtual void AddExec (const char *name, const char *command)
 Add a new TExec object to the list of Execs. More...
 
virtual void AutoExec ()
 Execute the list of Execs when a pad event occurs. More...
 
virtual 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="")
 Build a legend from the graphical objects in the pad. More...
 
TVirtualPadcd (Int_t subpadnumber=0)
 Set Current pad. More...
 
void Clear (Option_t *option="")
 Delete all pad primitives. More...
 
virtual Int_t Clip (Float_t *x, Float_t *y, Float_t xclipl, Float_t yclipb, Float_t xclipr, Float_t yclipt)
 Clipping routine: Cohen Sutherland algorithm. More...
 
virtual Int_t Clip (Double_t *x, Double_t *y, Double_t xclipl, Double_t yclipb, Double_t xclipr, Double_t yclipt)
 Clipping routine: Cohen Sutherland algorithm. More...
 
virtual Int_t ClippingCode (Double_t x, Double_t y, Double_t xcl1, Double_t ycl1, Double_t xcl2, Double_t ycl2)
 Compute the endpoint codes for TPad::Clip. More...
 
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)
 Clip polygon using the Sutherland-Hodgman algorithm. More...
 
virtual void CloseToolTip (TObject *tip)
 Hide tool tip. More...
 
virtual void CopyPixmap ()
 Copy the pixmap of the pad to the canvas. More...
 
virtual TObjectCreateToolTip (const TBox *b, const char *text, Long_t delayms)
 Create a tool tip and return its pointer. More...
 
virtual void DeleteExec (const char *name)
 Remove TExec name from the list of Execs. More...
 
virtual void DeleteToolTip (TObject *tip)
 Delete tool tip object. More...
 
virtual void DivideSquare (Int_t n, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
 "n" is the total number of sub-pads. More...
 
virtual void DrawClassObject (const TObject *obj, Option_t *option="")
 Draw class inheritance tree of the class to which obj belongs. More...
 
void DrawCollideGrid ()
 This method draws the collide grid on top of the canvas. More...
 
virtual void DrawCrosshair ()
 Function called to draw a crosshair in the canvas. More...
 
TH1FDrawFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *title="")
 Draw an empty pad frame with X and Y axis. More...
 
virtual void EventPave ()
 
virtual void ExecuteEventAxis (Int_t event, Int_t px, Int_t py, TAxis *axis)
 Execute action corresponding to one event for a TAxis object (called by TAxis::ExecuteEvent.) This member function is called when an axis is clicked with the locator. More...
 
virtual TObjectFindObject (const char *name) const
 Search if object named name is inside this pad or in pads inside this pad. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Search if obj is in pad or in pads inside this pad. More...
 
Double_t GetAbsHNDC () const
 
Double_t GetAbsWNDC () const
 
Double_t GetAbsXlowNDC () const
 
Double_t GetAbsYlowNDC () const
 
Double_t GetAspectRatio () const
 
virtual Rectangle_t GetBBox ()
 Return the bounding Box of the Pad. More...
 
virtual TPoint GetBBoxCenter ()
 Return the center of the Pad as TPoint in pixels. More...
 
virtual Short_t GetBorderMode () const
 
virtual Short_t GetBorderSize () const
 
virtual TCanvasGetCanvas () const
 
Int_t GetCrosshair () const
 Return the crosshair type (from the mother canvas) crosshair type = 0 means no crosshair. More...
 
TFrameGetFrame ()
 Get frame. More...
 
Int_t GetGLDevice ()
 Get GL device. More...
 
Bool_t GetGridx () const
 
Bool_t GetGridy () const
 
Double_t GetHNDC () const
 
TListGetListOfExecs () const
 
TListGetListOfPrimitives () const
 
Int_t GetLogx () const
 
Int_t GetLogy () const
 
Int_t GetLogz () const
 
virtual TVirtualPadGetMother () const
 
const char * GetName () const
 Returns name of object. More...
 
Int_t GetNumber () const
 
virtual TVirtualPadGetPad (Int_t subpadnumber) const
 Get a pointer to subpadnumber of this pad. More...
 
Int_t GetPadPaint () const
 
virtual void GetPadPar (Double_t &xlow, Double_t &ylow, Double_t &xup, Double_t &yup)
 Return lower and upper bounds of the pad in NDC coordinates. More...
 
virtual TObjectGetPadPointer () const
 
TVirtualPadGetPadSave () const
 Get save pad. More...
 
virtual TVirtualPadPainterGetPainter ()
 Get pad painter from TCanvas. More...
 
Double_t GetPhi () const
 
Int_t GetPixmapID () const
 
virtual TObjectGetPrimitive (const char *name) const
 Get primitive. More...
 
virtual void GetRange (Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
 Return pad world coordinates range. More...
 
virtual void GetRangeAxis (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax)
 Return pad axis coordinates range. More...
 
TVirtualPadGetSelectedPad () const
 Get selected pad. More...
 
Double_t GetTheta () const
 
Int_t GetTickx () const
 
Int_t GetTicky () const
 
const char * GetTitle () const
 Returns title of object. More...
 
Double_t GetUxmax () const
 Returns the maximum x-coordinate value visible on the pad. If log axis the returned value is in decades. More...
 
Double_t GetUxmin () const
 Returns the minimum x-coordinate value visible on the pad. If log axis the returned value is in decades. More...
 
Double_t GetUymax () const
 Returns the maximum y-coordinate value visible on the pad. If log axis the returned value is in decades. More...
 
Double_t GetUymin () const
 Returns the minimum y-coordinate value visible on the pad. If log axis the returned value is in decades. More...
 
TViewGetView () const
 
TObjectGetView3D () const
 
virtual TVirtualViewer3DGetViewer3D (Option_t *type="")
 Create/obtain handle to 3D viewer. More...
 
virtual TVirtualPadGetVirtCanvas () const
 Get virtual canvas. More...
 
Double_t GetWNDC () const
 
Double_t GetX1 () const
 
Double_t GetX2 () const
 
Double_t GetXlowNDC () const
 
Double_t GetY1 () const
 
Double_t GetY2 () const
 
Double_t GetYlowNDC () const
 
virtual Bool_t HasCrosshair () const
 Return kTRUE if the crosshair has been activated (via SetCrosshair). More...
 
Bool_t HasFixedAspectRatio () const
 
ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t HasViewer3D () const
 
void HighLight (Color_t col=kRed, Bool_t set=kTRUE)
 Highlight pad. More...
 
Int_t IncrementPaletteColor (Int_t i, TString opt)
 Increment (i==1) or set (i>1) the number of autocolor in the pad. More...
 
virtual Bool_t IsEditable () const
 
Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsModified () const
 
virtual Bool_t IsVertical () const
 
void Modified (Bool_t flag=1)
 
Int_t NextPaletteColor ()
 Get the next autocolor in the pad. More...
 
Double_t PadtoX (Double_t x) const
 Convert x from pad to X. More...
 
Double_t PadtoY (Double_t y) const
 Convert y from pad to Y. More...
 
void PaintBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="")
 Paint box in CurrentPad World coordinates. More...
 
void PaintFillArea (Int_t n, Float_t *x, Float_t *y, Option_t *option="")
 
void PaintFillArea (Int_t n, Double_t *x, Double_t *y, Option_t *option="")
 Paint fill area in CurrentPad World coordinates. More...
 
void PaintFillAreaHatches (Int_t n, Double_t *x, Double_t *y, Int_t FillStyle)
 This function paints hatched fill area according to the FillStyle value The convention for the Hatch is the following: More...
 
void PaintHatches (Double_t dy, Double_t angle, Int_t nn, Double_t *xx, Double_t *yy)
 This routine draw hatches inclined with the angle "angle" and spaced of "dy" in normalized device coordinates in the surface defined by n,xx,yy. More...
 
void PaintLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 Paint line in CurrentPad World coordinates. More...
 
void PaintLine3D (Float_t *p1, Float_t *p2)
 Paint 3-D line in the CurrentPad. More...
 
void PaintLine3D (Double_t *p1, Double_t *p2)
 Paint 3-D line in the CurrentPad. More...
 
void PaintLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2)
 Paint line in normalized coordinates. More...
 
virtual void PaintModified ()
 Traverse pad hierarchy and (re)paint only modified pads. More...
 
void PaintPadFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
 Paint histogram/graph frame. More...
 
void PaintPolyLine (Int_t n, Float_t *x, Float_t *y, Option_t *option="")
 Paint polyline in CurrentPad World coordinates. More...
 
void PaintPolyLine (Int_t n, Double_t *x, Double_t *y, Option_t *option="")
 Paint polyline in CurrentPad World coordinates. More...
 
void PaintPolyLine3D (Int_t n, Double_t *p)
 Paint 3-D polyline in the CurrentPad. More...
 
void PaintPolyLineNDC (Int_t n, Double_t *x, Double_t *y, Option_t *option="")
 Paint polyline in CurrentPad NDC coordinates. More...
 
void PaintPolyMarker (Int_t n, Float_t *x, Float_t *y, Option_t *option="")
 Paint polymarker in CurrentPad World coordinates. More...
 
void PaintPolyMarker (Int_t n, Double_t *x, Double_t *y, Option_t *option="")
 Paint polymarker in CurrentPad World coordinates. More...
 
void PaintText (Double_t x, Double_t y, const char *text)
 Paint text in CurrentPad World coordinates. More...
 
void PaintText (Double_t x, Double_t y, const wchar_t *text)
 Paint text in CurrentPad World coordinates. More...
 
void PaintTextNDC (Double_t u, Double_t v, const char *text)
 Paint text in CurrentPad NDC coordinates. More...
 
void PaintTextNDC (Double_t u, Double_t v, const wchar_t *text)
 Paint text in CurrentPad NDC coordinates. More...
 
Double_t PixeltoX (Int_t px)
 
virtual void PixeltoXY (Int_t xpixel, Int_t ypixel, Double_t &x, Double_t &y)
 
Double_t PixeltoY (Int_t py)
 
Bool_t PlaceBox (TObject *o, Double_t w, Double_t h, Double_t &xl, Double_t &yb)
 Place a box in NDC space. More...
 
virtual void Pop ()
 Pop pad to the top of the stack. More...
 
virtual void Print (const char *filename="") const
 Save Pad contents in a file in one of various formats. More...
 
virtual void Print (const char *filename, Option_t *option)
 Save Canvas contents in a file in one of various formats. More...
 
virtual void Range (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 Set world coordinate system for the pad. More...
 
virtual void RangeAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
 Set axis coordinate system for the pad. More...
 
virtual void RangeAxisChanged ()
 
virtual void RangeChanged ()
 
virtual void RecordLatex (const TObject *obj)
 Emit RecordLatex() signal. More...
 
virtual void RecordPave (const TObject *obj)
 Emit RecordPave() signal. More...
 
virtual void RedrawAxis (Option_t *option="")
 Redraw the frame axis Redrawing axis may be necessary in case of superimposed histograms when one or more histograms have a fill color Instead of calling this function, it may be more convenient to call directly h1->Draw("sameaxis") where h1 is the pointer to the first histogram drawn in the pad. More...
 
virtual void ReleaseViewer3D (Option_t *type="")
 Release current (external) viewer. More...
 
virtual void ResetToolTip (TObject *tip)
 Reset tool tip, i.e. More...
 
virtual void ResetView3D (TObject *view=0)
 
virtual void Resized ()
 
virtual void ResizePad (Option_t *option="")
 Compute pad conversion coefficients. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save Pad contents in a file in one of various formats. More...
 
virtual void SetAttFillPS (Color_t color, Style_t style)
 Set postscript fill area attributes. More...
 
virtual void SetAttLinePS (Color_t color, Style_t style, Width_t lwidth)
 Set postscript line attributes. More...
 
virtual void SetAttMarkerPS (Color_t color, Style_t style, Size_t msize)
 Set postscript marker attributes. More...
 
virtual void SetAttTextPS (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize)
 Set postscript text attributes. More...
 
virtual void SetBBoxCenter (const TPoint &p)
 Set center of the Pad. More...
 
virtual void SetBBoxCenterX (const Int_t x)
 Set X coordinate of the center of the Pad. More...
 
virtual void SetBBoxCenterY (const Int_t y)
 Set Y coordinate of the center of the Pad. More...
 
virtual void SetBBoxX1 (const Int_t x)
 Set lefthandside of BoundingBox to a value (resize in x direction on left) More...
 
virtual void SetBBoxX2 (const Int_t x)
 Set right hand side of BoundingBox to a value (resize in x direction on right) More...
 
virtual void SetBBoxY1 (const Int_t y)
 Set top of BoundingBox to a value (resize in y direction on top) More...
 
virtual void SetBBoxY2 (const Int_t y)
 Set bottom of BoundingBox to a value (resize in y direction on bottom) More...
 
virtual void SetBorderMode (Short_t bordermode)
 
virtual void SetBorderSize (Short_t bordersize)
 
void SetCanvas (TCanvas *c)
 
virtual void SetCopyGLDevice (Bool_t copy)
 
virtual void SetCrosshair (Int_t crhair=1)
 Set crosshair active/inactive. More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetEditable (Bool_t mode=kTRUE)
 Set pad editable yes/no If a pad is not editable: More...
 
virtual void SetFillStyle (Style_t fstyle)
 Override TAttFill::FillStyle for TPad because we want to handle style=0 as style 4000. More...
 
virtual void SetGLDevice (Int_t dev)
 
virtual void SetName (const char *name)
 
virtual void SetNumber (Int_t number)
 
virtual 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)
 Set all pad parameters. More...
 
virtual void SetPad (Double_t xlow, Double_t ylow, Double_t xup, Double_t yup)
 Set canvas range for pad and resize the pad. More...
 
virtual void SetPhi (Double_t phi=30)
 
virtual void SetTheta (Double_t theta=30)
 
virtual void SetTicks (Int_t valuex=1, Int_t valuey=1)
 
virtual void SetToolTipText (const char *text, Long_t delayms=1000)
 Set tool tip text associated with this pad. More...
 
virtual void SetVertical (Bool_t vert=kTRUE)
 Set pad vertical (default) or horizontal. More...
 
virtual void SetView (TView *view=0)
 Set the current TView. Delete previous view if view=0. More...
 
virtual void SetViewer3D (TVirtualViewer3D *viewer3d)
 
virtual void ShowGuidelines (TObject *object, const Int_t event, const char mode='i', const bool cling=true)
 Shows lines to indicate if a TAttBBox2D object is aligned to the center or to another object, shows distance arrows if two objects on screen have the same distance to another object Call from primitive in Execute Event, in ButtonMotion after the new coordinates have been set, to 'stick' once when button is up to delete lines. More...
 
virtual void StartEditing ()
 
Int_t UtoAbsPixel (Double_t u) const
 
Int_t UtoPixel (Double_t u) const
 
Int_t VtoAbsPixel (Double_t v) const
 
Int_t VtoPixel (Double_t v) const
 
virtual TObjectWaitPrimitive (const char *pname="", const char *emode="")
 Loop and sleep until a primitive with name=pname is found in the pad. More...
 
Int_t XtoAbsPixel (Double_t x) const
 
Double_t XtoPad (Double_t x) const
 Convert x from X to pad. More...
 
Int_t XtoPixel (Double_t x) const
 
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
 
Double_t YtoPad (Double_t y) const
 Convert y from Y to pad. More...
 
Int_t YtoPixel (Double_t y) const
 
- Public Member Functions inherited from TVirtualPad
 TVirtualPad ()
 VirtualPad default constructor. More...
 
 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)
 VirtualPad constructor. More...
 
virtual ~TVirtualPad ()
 VirtualPad destructor. More...
 
Bool_t IsBeingResized () const
 
virtual Bool_t PadInHighlightMode () const
 Should always return false, unless you can highlight selected object in pad. More...
 
virtual Bool_t PadInSelectionMode () const
 Should always return false unless you have non-standard picking. More...
 
virtual void PopTopLevelSelectable ()
 Does nothing, unless you implement your own picking. More...
 
virtual void PushSelectableObject (TObject *obj)
 Does nothing, unless you implement your own picking. More...
 
virtual void PushTopLevelSelectable (TObject *top)
 Does nothing, unless you implement your own picking. More...
 
virtual void UnZoomed ()
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
ULong_t CheckedHash ()
 Checked and record whether for this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
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
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
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)
 TObject assignment operator. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
void ResetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
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
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 AttLine default constructor. More...
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 AttLine normal constructor. More...
 
virtual ~TAttLine ()
 AttLine destructor. More...
 
void Copy (TAttLine &attline) const
 Copy this line attributes to a new TAttLine. More...
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 Compute distance from point px,py to a line. More...
 
virtual Color_t GetLineColor () const
 Return the line color. More...
 
virtual Style_t GetLineStyle () const
 Return the line style. More...
 
virtual Width_t GetLineWidth () const
 Return the line width. More...
 
virtual void Modify ()
 Change current line attributes if necessary. More...
 
virtual void ResetAttLine (Option_t *option="")
 Reset this line attributes to default values. More...
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 Save line attributes as C++ statement(s) on output stream out. More...
 
virtual void SetLineAttributes ()
 Invoke the DialogCanvas Line attributes. More...
 
virtual void SetLineColor (Color_t lcolor)
 Set the line color. More...
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 Set a transparent line color. More...
 
virtual void SetLineStyle (Style_t lstyle)
 Set the line style. More...
 
virtual void SetLineWidth (Width_t lwidth)
 Set the line width. More...
 
- Public Member Functions inherited from TAttFill
 TAttFill ()
 AttFill default constructor. More...
 
 TAttFill (Color_t fcolor, Style_t fstyle)
 AttFill normal constructor. More...
 
virtual ~TAttFill ()
 AttFill destructor. More...
 
void Copy (TAttFill &attfill) const
 Copy this fill attributes to a new TAttFill. More...
 
virtual Color_t GetFillColor () const
 Return the fill area color. More...
 
virtual Style_t GetFillStyle () const
 Return the fill area style. More...
 
virtual Bool_t IsTransparent () const
 
virtual void Modify ()
 Change current fill area attributes if necessary. More...
 
virtual void ResetAttFill (Option_t *option="")
 Reset this fill attributes to default values. More...
 
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
 Save fill attributes as C++ statement(s) on output stream out. More...
 
virtual void SetFillAttributes ()
 Invoke the DialogCanvas Fill attributes. More...
 
virtual void SetFillColor (Color_t fcolor)
 Set the fill area color. More...
 
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
 Set a transparent fill color. More...
 
- Public Member Functions inherited from TAttPad
 TAttPad ()
 Constructor. More...
 
virtual ~TAttPad ()
 Destructor. More...
 
virtual void Copy (TAttPad &attpad) const
 copy function More...
 
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="")
 Reset pad attributes. More...
 
virtual void SetAfile (Float_t afile)
 
virtual void SetAstat (Float_t astat)
 
virtual void SetBottomMargin (Float_t bottommargin)
 Set Pad bottom margin in fraction of the pad height. More...
 
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)
 Set Pad left margin in fraction of the pad width. More...
 
virtual void SetMargin (Float_t left, Float_t right, Float_t bottom, Float_t top)
 Set all margins. More...
 
virtual void SetRightMargin (Float_t rightmargin)
 Set Pad right margin in fraction of the pad width. More...
 
virtual void SetTopMargin (Float_t topmargin)
 Set Pad top margin in fraction of the pad height. More...
 
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 ()
 TQObject Constructor. More...
 
virtual ~TQObject ()
 TQObject Destructor. More...
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes. More...
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot. More...
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal of this object from slot of receiver. More...
 
virtual void Disconnected (const char *)
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter. More...
 
void Emit (const char *signal)
 Acitvate signal without args. More...
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments. More...
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class. More...
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal. More...
 
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
 Return number of connections for this object. More...
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object. More...
 
- Public Member Functions inherited from TAttBBox2D
virtual ~TAttBBox2D ()
 
- Public Member Functions inherited from TAttText
 TAttText ()
 AttText default constructor. More...
 
 TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize)
 AttText normal constructor. More...
 
virtual ~TAttText ()
 AttText destructor. More...
 
void Copy (TAttText &atttext) const
 Copy this text attributes to a new TAttText. More...
 
virtual Short_t GetTextAlign () const
 Return the text alignment. More...
 
virtual Float_t GetTextAngle () const
 Return the text angle. More...
 
virtual Color_t GetTextColor () const
 Return the text color. More...
 
virtual Font_t GetTextFont () const
 Return the text font. More...
 
virtual Float_t GetTextSize () const
 Return the text size. More...
 
virtual void Modify ()
 Change current text attributes if necessary. More...
 
virtual void ResetAttText (Option_t *toption="")
 Reset this text attributes to default values. More...
 
virtual void SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
 Save text attributes as C++ statement(s) on output stream out. More...
 
virtual void SetTextAlign (Short_t align=11)
 Set the text alignment. More...
 
virtual void SetTextAngle (Float_t tangle=0)
 Set the text angle. More...
 
virtual void SetTextAttributes ()
 Invoke the DialogCanvas Text attributes. More...
 
virtual void SetTextColor (Color_t tcolor=1)
 Set the text color. More...
 
virtual void SetTextColorAlpha (Color_t tcolor, Float_t talpha)
 Set a transparent marker color. More...
 
virtual void SetTextFont (Font_t tfont=62)
 Set the text font. More...
 
virtual void SetTextSize (Float_t tsize=1)
 Set the text size. More...
 
virtual void SetTextSizePixels (Int_t npixels)
 Set the text size in pixels. More...
 

Static Public Member Functions

static void GoBackward ()
 static function , inspect previous object More...
 
static void GoForward ()
 static function , inspect next object More...
 
static void Inspector (TObject *obj)
 static function , interface to InspectObject. More...
 
- Static Public Member Functions inherited from TCanvas
static TCanvasMakeDefCanvas ()
 Static function to build a default canvas. More...
 
static void SetFolder (Bool_t isfolder=kTRUE)
 If isfolder=kTRUE, the canvas can be browsed like a folder by default a canvas is not browsable. More...
 
static Bool_t SupportAlpha ()
 Static function returning "true" if transparency is supported. More...
 
- Static Public Member Functions inherited from TPad
static void DrawColorTable ()
 Static function to Display Color Table in a pad. More...
 
static Int_t GetMaxPickDistance ()
 Static function (see also TPad::SetMaxPickDistance) More...
 
static void SetMaxPickDistance (Int_t maxPick=5)
 static function to set the maximum Pick Distance fgMaxPickDistance This parameter is used in TPad::Pick to select an object if its DistancetoPrimitive returns a value < fgMaxPickDistance The default value is 5 pixels. More...
 
- Static Public Member Functions inherited from TVirtualPad
static TVirtualPad *& Pad ()
 Return the current pad for the current thread. More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked. More...
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status. More...
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot. More...
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal in object sender from slot_method in object receiver. More...
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 Disconnects "class signal". More...
 

Protected Attributes

TButtonfBackward
 Pointer to the Backward button. More...
 
TObjectfCurObject
 Pointer to object being inspected. More...
 
TButtonfForward
 Pointer to the Forward button. More...
 
TListfObjects
 List of objects inspected. More...
 
- Protected Attributes inherited from TCanvas
Bool_t fBatch
 ! True when in batchmode More...
 
Int_t fCanvasID
 ! Canvas identifier More...
 
TCanvasImpfCanvasImp
 ! Window system specific canvas implementation More...
 
TAttCanvas fCatt
 Canvas attributes. More...
 
UInt_t fCh
 Height of the canvas along Y (pixels) More...
 
TObjectfClickSelected
 ! Currently click-selected object More...
 
TPadfClickSelectedPad
 ! Pad containing currently click-selected object More...
 
TContextMenufContextMenu
 ! Context menu pointer More...
 
UInt_t fCw
 Width of the canvas along X (pixels) More...
 
TString fDISPLAY
 Name of destination screen. More...
 
Int_t fDoubleBuffer
 Double buffer flag (0=off, 1=on) More...
 
Bool_t fDrawn
 ! Set to True when the Draw method is called More...
 
Int_t fEvent
 ! Type of current or last handled event More...
 
Int_t fEventX
 ! Last X mouse position in canvas More...
 
Int_t fEventY
 ! Last Y mouse position in canvas More...
 
Color_t fHighLightColor
 Highlight color of active pad. More...
 
TPadfPadSave
 ! Pointer to saved pad in HandleInput More...
 
TVirtualPadPainterfPainter
 ! Canvas (pad) painter. More...
 
Bool_t fRetained
 Retain structure flag. More...
 
TObjectfSelected
 ! Currently selected object More...
 
TString fSelectedOpt
 ! Drawing option of selected object More...
 
TPadfSelectedPad
 ! Pad containing currently selected object More...
 
Int_t fSelectedX
 ! X of selected object More...
 
Int_t fSelectedY
 ! Y of selected object More...
 
Bool_t fUpdating
 ! True when Updating the canvas More...
 
Bool_t fUseGL
 ! True when rendering is with GL More...
 
UInt_t fWindowHeight
 Height of window (including menubar, borders, etc.) More...
 
Int_t fWindowTopX
 Top X position of window (in pixels) More...
 
Int_t fWindowTopY
 Top Y position of window (in pixels) More...
 
UInt_t fWindowWidth
 Width of window (including borders, etc.) More...
 
Size_t fXsizeReal
 Current size of canvas along X in CM. More...
 
Size_t fXsizeUser
 User specified size of canvas along X in CM. More...
 
Size_t fYsizeReal
 Current size of canvas along Y in CM. More...
 
Size_t fYsizeUser
 User specified size of canvas along Y in CM. More...
 
- Protected Attributes inherited from TPad
Bool_t fAbsCoord
 Use absolute coordinates. More...
 
Double_t fAbsHNDC
 Absolute Height of pad along Y in NDC. More...
 
Double_t fAbsPixeltoXk
 Conversion coefficient for absolute pixel to X World. More...
 
Double_t fAbsPixeltoYk
 Conversion coefficient for absolute pixel to Y World. More...
 
Double_t fAbsWNDC
 Absolute Width of pad along X in NDC. More...
 
Double_t fAbsXlowNDC
 Absolute X top left corner of pad in NDC [0,1]. More...
 
Double_t fAbsYlowNDC
 Absolute Y top left corner of pad in NDC [0,1]. More...
 
Double_t fAspectRatio
 ratio of w/h in case of fixed ratio More...
 
Short_t fBorderMode
 Bordermode (-1=down, 0 = no border, 1=up) More...
 
Short_t fBorderSize
 pad bordersize in pixels More...
 
TCanvasfCanvas
 ! Pointer to mother canvas More...
 
Int_t fCGnx
 ! Size of the collide grid along x More...
 
Int_t fCGny
 ! Size of the collide grid along y More...
 
Bool_tfCollideGrid
 ! Grid used to find empty space when adding a box (Legend) in a pad More...
 
Bool_t fCopyGLDevice
 ! More...
 
Int_t fCrosshair
 Crosshair type (0 if no crosshair requested) More...
 
Int_t fCrosshairPos
 Position of crosshair. More...
 
Bool_t fEditable
 True if canvas is editable. More...
 
Bool_t fEmbeddedGL
 ! More...
 
TListfExecs
 List of commands to be executed when a pad event occurs. More...
 
Bool_t fFixedAspectRatio
 True if fixed aspect ratio. More...
 
TFramefFrame
 ! Pointer to 2-D frame (if one exists) More...
 
Int_t fGLDevice
 ! OpenGL off-screen pixmap identifier More...
 
Bool_t fGridx
 Set to true if grid along X. More...
 
Bool_t fGridy
 Set to true if grid along Y. More...
 
Double_t fHNDC
 Height of pad along Y in NDC. More...
 
Int_t fLogx
 (=0 if X linear scale, =1 if log scale) More...
 
Int_t fLogy
 (=0 if Y linear scale, =1 if log scale) More...
 
Int_t fLogz
 (=0 if Z linear scale, =1 if log scale) More...
 
Bool_t fModified
 Set to true when pad is modified. More...
 
TPadfMother
 ! pointer to mother of the list More...
 
TString fName
 Pad name. More...
 
Int_t fNextPaletteColor
 Next automatic color. More...
 
Int_t fNumber
 pad number identifier More...
 
Int_t fNumPaletteColor
 Number of objects with an automatic color. More...
 
Int_t fPadPaint
 Set to 1 while painting the pad. More...
 
TObjectfPadPointer
 ! free pointer More...
 
TObjectfPadView3D
 ! 3D View of this TPad More...
 
Double_t fPhi
 phi angle to view as lego/surface More...
 
Double_t fPixeltoX
 xworld = fPixeltoXk + fPixeltoX*xpixel More...
 
Double_t fPixeltoXk
 Conversion coefficient for pixel to X World. More...
 
Double_t fPixeltoY
 yworld = fPixeltoYk + fPixeltoY*ypixel More...
 
Double_t fPixeltoYk
 Conversion coefficient for pixel to Y World. More...
 
Int_t fPixmapID
 ! Off-screen pixmap identifier More...
 
TListfPrimitives
 ->List of primitives (subpads) More...
 
Double_t fTheta
 theta angle to view as lego/surface More...
 
Int_t fTickx
 Set to 1 if tick marks along X. More...
 
Int_t fTicky
 Set to 1 if tick marks along Y. More...
 
TString fTitle
 Pad title. More...
 
Double_t fUtoAbsPixelk
 Conversion coefficient for U NDC to absolute pixel. More...
 
Double_t fUtoPixel
 xpixel = fUtoPixelk + fUtoPixel*undc More...
 
Double_t fUtoPixelk
 Conversion coefficient for U NDC to pixel. More...
 
Double_t fUxmax
 Maximum value on the X axis. More...
 
Double_t fUxmin
 Minimum value on the X axis. More...
 
Double_t fUymax
 Maximum value on the Y axis. More...
 
Double_t fUymin
 Minimum value on the Y axis. More...
 
TViewfView
 ! Pointer to 3-D view (if one exists) More...
 
TVirtualViewer3DfViewer3D
 ! Current 3D viewer More...
 
Double_t fVtoAbsPixelk
 Conversion coefficient for V NDC to absolute pixel. More...
 
Double_t fVtoPixel
 ypixel = fVtoPixelk + fVtoPixel*vndc More...
 
Double_t fVtoPixelk
 Conversion coefficient for V NDC to pixel. More...
 
Double_t fWNDC
 Width of pad along X in NDC. More...
 
Double_t fX1
 X of lower X coordinate. More...
 
Double_t fX2
 X of upper X coordinate. More...
 
Double_t fXlowNDC
 X bottom left corner of pad in NDC [0,1]. More...
 
Double_t fXtoAbsPixelk
 Conversion coefficient for X World to absolute pixel. More...
 
Double_t fXtoPixel
 xpixel = fXtoPixelk + fXtoPixel*xworld More...
 
Double_t fXtoPixelk
 Conversion coefficient for X World to pixel. More...
 
Double_t fXUpNDC
 
Double_t fY1
 Y of lower Y coordinate. More...
 
Double_t fY2
 Y of upper Y coordinate. More...
 
Double_t fYlowNDC
 Y bottom left corner of pad in NDC [0,1]. More...
 
Double_t fYtoAbsPixelk
 Conversion coefficient for Y World to absolute pixel. More...
 
Double_t fYtoPixel
 ypixel = fYtoPixelk + fYtoPixel*yworld More...
 
Double_t fYtoPixelk
 Conversion coefficient for Y World to pixel. More...
 
Double_t fYUpNDC
 
- Protected Attributes inherited from TVirtualPad
Bool_t fResizing
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 Line color. More...
 
Style_t fLineStyle
 Line style. More...
 
Width_t fLineWidth
 Line width. More...
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 Fill area color. More...
 
Style_t fFillStyle
 Fill area style. More...
 
- Protected Attributes inherited from TAttPad
Float_t fAfile
 Alignment for the file name. More...
 
Float_t fAstat
 Alignment for the statistics. More...
 
Float_t fBottomMargin
 BottomMargin. More...
 
Int_t fFrameBorderMode
 Pad frame border mode. More...
 
Width_t fFrameBorderSize
 Pad frame border size. More...
 
Color_t fFrameFillColor
 Pad frame fill color. More...
 
Style_t fFrameFillStyle
 Pad frame fill style. More...
 
Color_t fFrameLineColor
 Pad frame line color. More...
 
Style_t fFrameLineStyle
 Pad frame line style. More...
 
Width_t fFrameLineWidth
 Pad frame line width. More...
 
Float_t fLeftMargin
 LeftMargin. More...
 
Float_t fRightMargin
 RightMargin. More...
 
Float_t fTopMargin
 TopMargin. More...
 
Float_t fXfile
 X position where to draw the file name. More...
 
Float_t fXstat
 X position where to draw the statistics. More...
 
Float_t fYfile
 Y position where to draw the file name. More...
 
Float_t fYstat
 Y position where to draw the statistics. More...
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object More...
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object More...
 
- Protected Attributes inherited from TAttText
Short_t fTextAlign
 Text alignment. More...
 
Float_t fTextAngle
 Text angle. More...
 
Color_t fTextColor
 Text color. More...
 
Font_t fTextFont
 Text font. More...
 
Float_t fTextSize
 Text size. More...
 

Additional Inherited Members

- Public Types inherited from TCanvas
enum  {
  kShowEventStatus = BIT(15), kAutoExec = BIT(16), kMenuBar = BIT(17), kShowToolBar = BIT(18),
  kShowEditor = BIT(19), kMoveOpaque = BIT(20), kResizeOpaque = BIT(21), kIsGrayscale = BIT(22),
  kShowToolTips = BIT(23)
}
 
- Public Types inherited from TPad
enum  {
  kFraming = BIT(6), kHori = BIT(9), kClipFrame = BIT(10), kPrintingPS = BIT(11),
  kCannotMove = BIT(12), kClearAfterCR = BIT(14)
}
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kInconsistent = 0x08000000,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5),
  kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
- Protected Member Functions inherited from TCanvas
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to one event. More...
 
void Init ()
 Initialize the TCanvas members. Called by all constructors. More...
 
- Protected Member Functions inherited from TPad
void DestroyExternalViewer3D ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Compute distance from point px,py to a box. More...
 
virtual void HideToolTip (Int_t event)
 Hide tool tip depending on the event type. More...
 
void PaintBorder (Color_t color, Bool_t tops)
 Paint the pad border. More...
 
virtual 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)
 Paint a frame border with Postscript. More...
 
void PaintDate ()
 Paint the current date and time if the option date is on. More...
 
- Protected Member Functions inherited from TVirtualPad
virtual voidGetSender ()
 true when resizing the pad More...
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual const char * GetSenderClassName () const
 
- 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)
 Checking of consitency of sender/receiver methods/arguments. More...
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More...
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object. More...
 
- Static Protected Attributes inherited from TCanvas
static Bool_t fgIsFolder = kFALSE
 Indicates if canvas can be browsed as a folder. More...
 
- Static Protected Attributes inherited from TPad
static Int_t fgMaxPickDistance = 5
 Maximum Pick Distance. More...
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals More...
 

#include <TInspectCanvas.h>

Inheritance diagram for TInspectCanvas:
[legend]

Constructor & Destructor Documentation

◆ TInspectCanvas() [1/2]

TInspectCanvas::TInspectCanvas ( )

InspectCanvas default constructor.

Definition at line 63 of file TInspectCanvas.cxx.

◆ TInspectCanvas() [2/2]

TInspectCanvas::TInspectCanvas ( UInt_t  ww,
UInt_t  wh 
)

InspectCanvas constructor.

Definition at line 77 of file TInspectCanvas.cxx.

◆ ~TInspectCanvas()

TInspectCanvas::~TInspectCanvas ( )
virtual

InspectCanvas default destructor.

Definition at line 92 of file TInspectCanvas.cxx.

Member Function Documentation

◆ Divide()

void TInspectCanvas::Divide ( Int_t  nx = 1,
Int_t  ny = 1,
Float_t  xmargin = 0.01,
Float_t  ymargin = 0.01,
Int_t  color = 0 
)
inlinevirtual

Automatic pad generation by division.

  • The current canvas is divided in nx by ny equal divisions (pads).
  • xmargin is the space along x between pads in percent of canvas.
  • ymargin is the space along y between pads in percent of canvas.
  • color is the color of the new pads. If 0, color is the canvas color.

Pads are automatically named canvasname_n where n is the division number starting from top left pad.

Example if canvasname=c1 , nx=2, ny=3:

gpad_pad3.png

Once a pad is divided into sub-pads, one can set the current pad to a subpad with a given division number as illustrated above with TPad::cd(subpad_number).

For example, to set the current pad to c1_4, one can do:

c1->cd(4)

Note1: c1.cd() is equivalent to c1.cd(0) and sets the current pad to c1 itself.

Note2: after a statement like c1.cd(6), the global variable gPad points to the current pad. One can use gPad to set attributes of the current pad.

Note3: in case xmargin <=0 and ymargin <= 0, there is no space between pads. The current pad margins are recomputed to optimize the layout.

Reimplemented from TPad.

Definition at line 59 of file TInspectCanvas.h.

◆ GetBackward()

TButton* TInspectCanvas::GetBackward ( ) const
inline

Definition at line 34 of file TInspectCanvas.h.

◆ GetCurObject()

TObject* TInspectCanvas::GetCurObject ( ) const
inline

Definition at line 36 of file TInspectCanvas.h.

◆ GetForward()

TButton* TInspectCanvas::GetForward ( ) const
inline

Definition at line 35 of file TInspectCanvas.h.

◆ GetObjects()

TList* TInspectCanvas::GetObjects ( ) const
inline

Definition at line 37 of file TInspectCanvas.h.

◆ GoBackward()

void TInspectCanvas::GoBackward ( )
static

static function , inspect previous object

Definition at line 349 of file TInspectCanvas.cxx.

◆ GoForward()

void TInspectCanvas::GoForward ( )
static

static function , inspect next object

Definition at line 361 of file TInspectCanvas.cxx.

◆ InspectObject()

void TInspectCanvas::InspectObject ( TObject obj)
virtual

Dump contents of obj in a graphics canvas.

Same action as TObject::Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

gpad_inspect.png

Definition at line 108 of file TInspectCanvas.cxx.

◆ Inspector()

void TInspectCanvas::Inspector ( TObject obj)
static

static function , interface to InspectObject.

Create the InspectCanvas if it does not exist yet.

Definition at line 374 of file TInspectCanvas.cxx.

◆ RecursiveRemove()

void TInspectCanvas::RecursiveRemove ( TObject obj)
virtual

Recursively remove object from the list of objects.

Reimplemented from TPad.

Definition at line 391 of file TInspectCanvas.cxx.

◆ SetGrid()

void TInspectCanvas::SetGrid ( Int_t  valuex = 1,
Int_t  valuey = 1 
)
inlinevirtual

Reimplemented from TPad.

Definition at line 60 of file TInspectCanvas.h.

◆ SetGridx()

void TInspectCanvas::SetGridx ( Int_t  value = 1)
inlinevirtual

Reimplemented from TPad.

Definition at line 61 of file TInspectCanvas.h.

◆ SetGridy()

void TInspectCanvas::SetGridy ( Int_t  value = 1)
inlinevirtual

Reimplemented from TPad.

Definition at line 62 of file TInspectCanvas.h.

◆ SetLogx()

void TInspectCanvas::SetLogx ( Int_t  value = 1)
inlinevirtual

Set Lin/Log scale for X.

  • value = 0 X scale will be linear
  • value = 1 X scale will be logarithmic (base 10)
  • value > 1 reserved for possible support of base e or other

Reimplemented from TPad.

Definition at line 63 of file TInspectCanvas.h.

◆ SetLogy()

void TInspectCanvas::SetLogy ( Int_t  value = 1)
inlinevirtual

Set Lin/Log scale for Y.

  • value = 0 Y scale will be linear
  • value = 1 Y scale will be logarithmic (base 10)
  • value > 1 reserved for possible support of base e or other

Reimplemented from TPad.

Definition at line 64 of file TInspectCanvas.h.

◆ SetLogz()

void TInspectCanvas::SetLogz ( Int_t  value = 1)
inlinevirtual

Set Lin/Log scale for Z.

Reimplemented from TPad.

Definition at line 65 of file TInspectCanvas.h.

◆ SetTickx()

void TInspectCanvas::SetTickx ( Int_t  value = 1)
inlinevirtual

Reimplemented from TPad.

Definition at line 66 of file TInspectCanvas.h.

◆ SetTicky()

void TInspectCanvas::SetTicky ( Int_t  value = 1)
inlinevirtual

Reimplemented from TPad.

Definition at line 67 of file TInspectCanvas.h.

◆ x3d()

void TInspectCanvas::x3d ( Option_t type = "")
inlinevirtual

Deprecated: use TPad::GetViewer3D() instead.

Reimplemented from TPad.

Definition at line 68 of file TInspectCanvas.h.

Member Data Documentation

◆ fBackward

TButton* TInspectCanvas::fBackward
protected

Pointer to the Backward button.

Definition at line 25 of file TInspectCanvas.h.

◆ fCurObject

TObject* TInspectCanvas::fCurObject
protected

Pointer to object being inspected.

Definition at line 28 of file TInspectCanvas.h.

◆ fForward

TButton* TInspectCanvas::fForward
protected

Pointer to the Forward button.

Definition at line 26 of file TInspectCanvas.h.

◆ fObjects

TList* TInspectCanvas::fObjects
protected

List of objects inspected.

Definition at line 27 of file TInspectCanvas.h.

Libraries for TInspectCanvas:
[legend]

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