This was intended as a TPad wrapper to allow smart updates of groups of pads.
Uses THashList instead of TList for faster removal of objects from the pad.
Public Types | |
| enum | { kFraming = (1ULL << (6)) , kHori = (1ULL << (9)) , kClipFrame = (1ULL << (10)) , kPrintingPS = (1ULL << (11)) , kCannotMove = (1ULL << (12)) , kClearAfterCR = (1ULL << (14)) } |
| enum | { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) } |
| enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
| enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) } |
| enum | EStatusBits { kCanDelete = (1ULL << (0)) , kMustCleanup = (1ULL << (3)) , kIsReferenced = (1ULL << (4)) , kHasUUID = (1ULL << (5)) , kCannotPick = (1ULL << (6)) , kNoContextMenu = (1ULL << (8)) , kInvalidObject = (1ULL << (13)) } |
Public Member Functions | |
| TEvePad () | |
| Default constructor. | |
| TEvePad (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) | |
| Constructor. | |
| ~TEvePad () override | |
| void | AbsCoordinates (Bool_t set) override |
| Double_t | AbsPixeltoX (Double_t px) override |
| void | AbsPixeltoXY (Double_t xpixel, Double_t ypixel, Double_t &x, Double_t &y) override |
| Convert absolute pixel into X/Y coordinates. | |
| Double_t | AbsPixeltoY (Double_t py) override |
| void | AbstractMethod (const char *method) const |
| Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it. | |
| void | Add (TObject *obj, Option_t *opt="", Bool_t modified=kTRUE) override |
| Add an object to list of primitives with specified draw option When. | |
| void | AddExec (const char *name, const char *command) override |
| Add a new TExec object to the list of Execs. | |
| void | AddFirst (TObject *obj, Option_t *opt="", Bool_t modified=kTRUE) override |
| Add an object as first in list of primitives with specified draw option When. | |
| virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad. | |
| Bool_t | AreSignalsBlocked () const |
| virtual void | AutoExec () |
| Execute the list of Execs when a pad event occurs. | |
| Bool_t | BlockSignals (Bool_t b) |
| void | Browse (TBrowser *b) override |
| Browse pad. | |
| 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 |
| Build a legend from the graphical objects in the pad. | |
| TVirtualPad * | cd (Int_t subpadnumber=0) override |
| Set Current pad. | |
| virtual void | ChangedBy (const char *method) |
| ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
| ClassDefOverride (TEvePad, 1) | |
| virtual const char * | ClassName () const |
| Returns name of class to which the object belongs. | |
| void | Clear (Option_t *option="") override |
| Delete all pad primitives. | |
| Int_t | Clip (Double_t *x, Double_t *y, Double_t xclipl, Double_t yclipb, Double_t xclipr, Double_t yclipt) override |
| Clipping routine: Cohen Sutherland algorithm. | |
| 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. | |
| 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. | |
| 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. | |
| virtual TObject * | Clone (const char *newname="") const |
| Make a clone of an object using the Streamer facility. | |
| void | Close (Option_t *option="") override |
| Delete all primitives in pad and pad itself. | |
| virtual void | Closed () |
| void | CloseToolTip (TObject *tip) override |
| Hide tool tip. | |
| void | CollectClassSignalLists (TList &list, TClass *cls) |
| Collect class signal lists from class cls and all its base-classes. | |
| virtual Int_t | Compare (const TObject *obj) const |
| Compare abstract method. | |
| 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. | |
| virtual void | Connected (const char *) |
| void | Copy (TAttFill &attfill) const |
| void | Copy (TAttLine &attline) const |
| virtual void | Copy (TAttPad &attpad) const |
| copy function | |
| virtual void | Copy (TObject &object) const |
| Copy this to obj. | |
| void | CopyPixmap () override |
| Copy the pixmap of the pad to the canvas. | |
| void | CopyPixmaps () override |
| Copy the sub-pixmaps of the pad to the canvas. | |
| TObject * | CreateToolTip (const TBox *b, const char *text, Long_t delayms) override |
| Create a tool tip and return its pointer. | |
| virtual void | Delete (Option_t *option="") |
| Delete this object. | |
| void | DeleteExec (const char *name) override |
| Remove TExec name from the list of Execs. | |
| void | DeleteToolTip (TObject *tip) override |
| Delete tool tip object. | |
| virtual void | Destroyed () |
| Bool_t | Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
| Disconnects signal of this object from slot of receiver. | |
| virtual void | Disconnected (const char *) |
| Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
| 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 |
| Automatic pad generation by division. | |
| void | DivideRatios (Int_t nrows, Int_t ncolumns, const std::vector< double > &widthRatios={}, const std::vector< double > &heightRatios={}, const double canvasTopMargin=0., const double canvasLeftMargin=0.) |
| Divide the canvas according to ratios. | |
| 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. | |
| void | Draw (Option_t *option="") override |
| Draw Pad in Current pad (re-parent pad if necessary). | |
| virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs. | |
| void | DrawClassObject (const TObject *obj, Option_t *option="") override |
| Draw class inheritance tree of the class to which obj belongs. | |
| virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1). | |
| void | DrawCollideGrid () |
| This method draws the collide grid on top of the canvas. | |
| virtual void | DrawCrosshair () |
| Function called to draw a crosshair in the canvas. | |
| TH1F * | DrawFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *title="") override |
| Draw an empty pad frame with X and Y axis. | |
| virtual void | Dump () const |
| Dump contents of object on stdout. | |
| void | Emit (const char *signal) |
| Activate signal without args. | |
| template<typename T> | |
| void | Emit (const char *signal, const T &arg) |
| Activate signal with single parameter. | |
| template<typename... T> | |
| void | EmitVA (const char *signal_name, Int_t, const T &... params) |
| Emit a signal with a varying number of arguments. | |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message. | |
| virtual void | EventPave () |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g. | |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray. | |
| void | ExecuteEventAxis (Int_t event, Int_t px, Int_t py, TAxis *axis) override |
| 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. | |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message. | |
| TObject * | FindObject (const char *name) const override |
| Search if object named name is inside this pad or in pads inside this pad. | |
| TObject * | FindObject (const TObject *obj) const override |
| Search if obj is in pad or in pads inside this pad. | |
| Double_t | GetAbsHNDC () const override |
| Double_t | GetAbsWNDC () const override |
| Double_t | GetAbsXlowNDC () const override |
| Double_t | GetAbsYlowNDC () const override |
| Float_t | GetAfile () const |
| Double_t | GetAspectRatio () const override |
| Float_t | GetAstat () const |
| Rectangle_t | GetBBox () override |
| Return the bounding Box of the Pad. | |
| TPoint | GetBBoxCenter () override |
| Return the center of the Pad as TPoint in pixels. | |
| Short_t | GetBorderMode () const override |
| Short_t | GetBorderSize () const override |
| Float_t | GetBottomMargin () const |
| TCanvas * | GetCanvas () const override |
| Int_t | GetCanvasID () const override |
| Get canvas identifier. | |
| TCanvasImp * | GetCanvasImp () const override |
| Get canvas implementation pointer if any. | |
| Int_t | GetCrosshair () const |
| Return the crosshair type (from the mother canvas) crosshair type = 0 means no crosshair. | |
| virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object. | |
| Int_t | GetEvent () const override |
| Get Event. | |
| Int_t | GetEventX () const override |
| Get X event. | |
| Int_t | GetEventY () const override |
| Get Y event. | |
| virtual Color_t | GetFillColor () const |
| Return the fill area color. | |
| virtual Style_t | GetFillStyle () const |
| Return the fill area style. | |
| TFrame * | GetFrame () override |
| Get frame. | |
| 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 |
| Int_t | GetGLDevice () override |
| Get GL device. | |
| Bool_t | GetGridx () const override |
| Bool_t | GetGridy () const override |
| Color_t | GetHighLightColor () const override |
| Get highlight color. | |
| Double_t | GetHNDC () const override |
| Get height of pad along Y in Normalized Coordinates (NDC). | |
| virtual const char * | GetIconName () const |
| Returns mime type name of object. | |
| Float_t | GetLeftMargin () const |
| virtual Color_t | GetLineColor () const |
| Return the line color. | |
| virtual Style_t | GetLineStyle () const |
| Return the line style. | |
| virtual Width_t | GetLineWidth () const |
| Return the line width. | |
| TList * | GetListOfClassSignals () const |
| Returns pointer to list of signals of this class. | |
| TList * | GetListOfConnections () const |
| TList * | GetListOfExecs () const override |
| TList * | GetListOfPrimitives () const override |
| TList * | GetListOfSignals () const |
| Int_t | GetLogx () const override |
| Int_t | GetLogy () const override |
| Int_t | GetLogz () const override |
| TVirtualPad * | GetMother () const override |
| const char * | GetName () const override |
| Returns name of object. | |
| Int_t | GetNumber () const override |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| Returns string containing info about the object at position (px,py). | |
| virtual Option_t * | GetOption () const |
| TVirtualPad * | GetPad (Int_t subpadnumber) const override |
| Get a pointer to subpadnumber of this pad. | |
| UInt_t | GetPadHeight () const override |
| Get pad height. | |
| Int_t | GetPadPaint () const override |
| void | GetPadPar (Double_t &xlow, Double_t &ylow, Double_t &xup, Double_t &yup) override |
| Return lower and upper bounds of the pad in NDC coordinates. | |
| TObject * | GetPadPointer () const override |
| TVirtualPad * | GetPadSave () const override |
| Get save pad. | |
| UInt_t | GetPadWidth () const override |
| Get pad width. | |
| TVirtualPadPainter * | GetPainter () override |
| Get pad painter from TCanvas. | |
| Double_t | GetPhi () const override |
| Int_t | GetPixmapID () const override |
| TObject * | GetPrimitive (const char *name) const override |
| Get primitive. | |
| void | GetRange (Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) override |
| Return pad world coordinates range. | |
| void | GetRangeAxis (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) override |
| Return pad axis coordinates range. | |
| Float_t | GetRightMargin () const |
| TObject * | GetSelected () const override |
| Get selected. | |
| TVirtualPad * | GetSelectedPad () const override |
| Get selected pad. | |
| Double_t | GetTheta () const override |
| Int_t | GetTickx () const override |
| Int_t | GetTicky () const override |
| const char * | GetTitle () const override |
| Returns title of object. | |
| Float_t | GetTopMargin () const |
| virtual UInt_t | GetUniqueID () const |
| Return the unique object id. | |
| Double_t | GetUxmax () const override |
| Returns the maximum x-coordinate value visible on the pad. If log axis the returned value is in decades. | |
| Double_t | GetUxmin () const override |
| Returns the minimum x-coordinate value visible on the pad. If log axis the returned value is in decades. | |
| Double_t | GetUymax () const override |
| Returns the maximum y-coordinate value visible on the pad. If log axis the returned value is in decades. | |
| Double_t | GetUymin () const override |
| Returns the minimum y-coordinate value visible on the pad. If log axis the returned value is in decades. | |
| TView * | GetView () const override |
| TObject * | GetView3D () const override |
| TVirtualViewer3D * | GetViewer3D (Option_t *="") override |
| TVirtualPad * | GetVirtCanvas () const override |
| Get virtual canvas. | |
| UInt_t | GetWh () const override |
| Get canvas height. | |
| Double_t | GetWNDC () const override |
| Get width of pad along X in Normalized Coordinates (NDC). | |
| UInt_t | GetWw () const override |
| Get canvas width. | |
| Double_t | GetX1 () const override |
| Double_t | GetX2 () const override |
| Float_t | GetXfile () const |
| Double_t | GetXlowNDC () const override |
| Float_t | GetXstat () const |
| Double_t | GetY1 () const override |
| Double_t | GetY2 () const override |
| Float_t | GetYfile () const |
| Double_t | GetYlowNDC () const override |
| Float_t | GetYstat () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out. | |
| virtual Bool_t | HasConnection (const char *signal_name) const |
| Return true if there is any object connected to this signal. | |
| Bool_t | HasCrosshair () const override |
| Return kTRUE if the crosshair has been activated (via SetCrosshair). | |
| Bool_t | HasFixedAspectRatio () const override |
| ULong_t | Hash () const override |
| Return hash value for this object. | |
| 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. | |
| Bool_t | HasViewer3D () const override |
| void | HighLight (Color_t col=kRed, Bool_t set=kTRUE) override |
| Highlight pad. | |
| virtual void | HighPriority (const char *signal_name, const char *slot_name=nullptr) |
| Int_t | HtoAbsPixel (Double_t y1, Double_t y2) const override |
| Convert a vertical distance [y1,y2] to pixel. | |
| Int_t | IncrementPaletteColor (Int_t i, TString opt) override |
| Increment (i==1) or set (i>1) the number of autocolor in the pad. | |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message. | |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname". | |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl. | |
| virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas. | |
| void | InvertBit (UInt_t f) |
| TClass * | IsA () const override |
| Bool_t | IsBatch () const override |
| Bool_t | IsBeingResized () const |
| Bool_t | IsDestructed () const |
| IsDestructed. | |
| Bool_t | IsEditable () const override |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory). | |
| Bool_t | IsFolder () const override |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
| Bool_t | IsModified () const override |
| Bool_t | IsOnHeap () const |
| Bool_t | IsRetained () const override |
| Is pad retained ? | |
| virtual Bool_t | IsSortable () const |
| virtual Bool_t | IsTransparent () const |
| Bool_t | IsVertical () const override |
| Bool_t | IsWeb () const override |
| Is web ? | |
| Bool_t | IsZombie () const |
| virtual void | LowPriority (const char *signal_name, const char *slot_name=nullptr) |
| void | ls (Option_t *option="") const override |
| List all primitives in pad. | |
| 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). | |
| virtual void | Message (const char *msg) |
| void | Modified (Bool_t flag=true) override |
| Mark pad modified Will be repainted when TCanvas::Update() will be called next time. | |
| void | ModifiedUpdate () override |
| Short cut to call Modified() and Update() in a single call. | |
| virtual void | Modify () |
| virtual void | Modify () |
| virtual void | ModifyOn (TVirtualPad &pad) |
| virtual void | ModifyOn (TVirtualPad &pad) |
| Int_t | NextPaletteColor () override |
| Get the next autocolor in the pad. | |
| virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op). | |
| virtual Int_t | NumberOfConnections () const |
| Return number of connections for this object. | |
| virtual Int_t | NumberOfSignals () const |
| Return number of signals for this object. | |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete. | |
| Bool_t | OpaqueMoving () const override |
| Is pad moving in opaque mode ? | |
| Bool_t | OpaqueResizing () const override |
| Is pad resizing in opaque mode ? | |
| void | operator delete (void *, size_t) |
| Operator delete for sized deallocation. | |
| void | operator delete (void *ptr) |
| Operator delete. | |
| void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception. | |
| void | operator delete[] (void *, size_t) |
| Operator delete [] for sized deallocation. | |
| void | operator delete[] (void *ptr) |
| Operator delete []. | |
| void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception. | |
| 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) |
| virtual Bool_t | PadInHighlightMode () const |
| Should always return false, unless you can highlight selected object in pad. | |
| virtual Bool_t | PadInSelectionMode () const |
| Should always return false unless you have non-standard picking. | |
| Double_t | PadtoX (Double_t x) const override |
| Convert x from pad to X. | |
| Double_t | PadtoY (Double_t y) const override |
| Convert y from pad to Y. | |
| void | Paint (Option_t *option="") override |
| Paint all primitives in pad. | |
| void | PaintBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="") override |
| Paint box in CurrentPad World coordinates. | |
| void | PaintFillArea (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint fill area in CurrentPad World coordinates. | |
| 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) |
| This function paints hatched fill area according to the FillStyle value The convention for the Hatch is the following: | |
| void | PaintFillAreaNDC (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint fill area in CurrentPad NDC coordinates. | |
| 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. | |
| void | PaintLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) override |
| Paint line in CurrentPad World coordinates. | |
| void | PaintLine3D (Double_t *p1, Double_t *p2) override |
| Paint 3-D line in the CurrentPad. | |
| void | PaintLine3D (Float_t *p1, Float_t *p2) override |
| Paint 3-D line in the CurrentPad. | |
| void | PaintLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2) override |
| Paint line in normalized coordinates. | |
| void | PaintMarker3D (Double_t x, Double_t y, Double_t z) override |
| Paint 3-D marker in the CurrentPad. | |
| void | PaintModified () override |
| Traverse pad hierarchy and (re)paint only modified pads. | |
| void | PaintPadFrame (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) override |
| Paint histogram/graph frame. | |
| void | PaintPolyLine (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint polyline in CurrentPad World coordinates. | |
| void | PaintPolyLine (Int_t n, Float_t *x, Float_t *y, Option_t *option="") override |
| Paint polyline in CurrentPad World coordinates. | |
| void | PaintPolyLine3D (Int_t n, Double_t *p) override |
| Paint 3-D polyline in the CurrentPad. | |
| void | PaintPolyLineNDC (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint polyline in CurrentPad NDC coordinates. | |
| void | PaintPolyMarker (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint polymarker in CurrentPad World coordinates. | |
| void | PaintPolyMarker (Int_t n, Float_t *x, Float_t *y, Option_t *option="") override |
| Paint polymarker in CurrentPad World coordinates. | |
| void | PaintSegments (Int_t n, Double_t *x, Double_t *y, Option_t *option="") override |
| Paint N individual segments Provided arrays should have 2*n elements IMPORTANT! | |
| void | PaintSegmentsNDC (Int_t n, Double_t *u, Double_t *v) override |
| Paint N individual segments in NDC coordinates Provided arrays should have 2*n elements IMPORTANT! | |
| void | PaintText (Double_t x, Double_t y, const char *text) override |
| Paint text in CurrentPad World coordinates. | |
| void | PaintText (Double_t x, Double_t y, const wchar_t *text) override |
| Paint text in CurrentPad World coordinates. | |
| void | PaintTextNDC (Double_t u, Double_t v, const char *text) override |
| Paint text in CurrentPad NDC coordinates. | |
| void | PaintTextNDC (Double_t u, Double_t v, const wchar_t *text) override |
| Paint text in CurrentPad NDC coordinates. | |
| void | PaintTextUrl (Double_t x, Double_t y, const char *text, const char *url) override |
| Paint text with URL in CurrentPad World coordinates. | |
| virtual TPad * | Pick (Int_t px, Int_t py, TObjLink *&pickobj) |
| Search for an object at pixel position px,py. | |
| Double_t | PixeltoX (Double_t px) override |
| Convert pixel to X coordinate. | |
| void | PixeltoXY (Double_t xpixel, Double_t ypixel, Double_t &x, Double_t &y) override |
| Convert pixel to X/Y coordinates. | |
| Double_t | PixeltoY (Double_t py) override |
| Convert pixel to Y coordinate. | |
| Bool_t | PlaceBox (TObject *o, Double_t w, Double_t h, Double_t &xl, Double_t &yb, Option_t *option="lb") override |
| Place a box in NDC space. | |
| void | Pop () override |
| Pop pad to the top of the stack. | |
| virtual void | PopTopLevelSelectable () |
| Does nothing, unless you implement your own picking. | |
| void | Print (const char *filename, Option_t *option) override |
| Save Canvas contents in a file in one of various formats. | |
| void | Print (const char *filename="") const override |
| This method is equivalent to SaveAs("filename"). See TPad::SaveAs for details. | |
| virtual void | PushSelectableObject (TObject *obj) |
| Does nothing, unless you implement your own picking. | |
| virtual void | PushTopLevelSelectable (TObject *top) |
| Does nothing, unless you implement your own picking. | |
| void | Range (Double_t x1, Double_t y1, Double_t x2, Double_t y2) override |
| Set world coordinate system for the pad. | |
| void | RangeAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) override |
| Set axis coordinate system for the pad. | |
| virtual void | RangeAxisChanged () |
| virtual void | RangeChanged () |
| virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory. | |
| virtual void | RecordLatex (const TObject *obj) |
| Emit RecordLatex() signal. | |
| virtual void | RecordPave (const TObject *obj) |
| Emit RecordPave() signal. | |
| void | RecursiveRemove (TObject *obj) override |
| Recursively remove object from a pad and its sub-pads. | |
| void | RedrawAxis (Option_t *option="") override |
| Redraw the frame axis. | |
| void | ReleaseViewer3D (Option_t *type="") override |
| Release current (external) viewer. | |
| TObject * | Remove (TObject *obj, Bool_t modified=kTRUE) override |
| Remove object from list of primitives When. | |
| virtual void | ResetAttFill (Option_t *option="") |
| virtual void | ResetAttLine (Option_t *option="") |
| virtual void | ResetAttPad (Option_t *option="") |
| Reset pad attributes. | |
| void | ResetBit (UInt_t f) |
| void | ResetToolTip (TObject *tip) override |
| Reset tool tip, i.e. | |
| void | ResetView3D (TObject *view=nullptr) override |
| virtual void | Resized () |
| void | ResizePad (Option_t *option="") override |
| Compute pad conversion coefficients. | |
| void | SaveAs (const char *filename="", Option_t *option="") const override |
| Save the pad content in a file. | |
| virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
| virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
| virtual void | SetAfile (Float_t afile) |
| virtual void | SetAstat (Float_t astat) |
| void | SetAttFillPS (Color_t color, Style_t style) override |
| Set postscript fill area attributes. | |
| void | SetAttLinePS (Color_t color, Style_t style, Width_t lwidth) override |
| Set postscript line attributes. | |
| void | SetAttMarkerPS (Color_t color, Style_t style, Size_t msize) override |
| Set postscript marker attributes. | |
| void | SetAttTextPS (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) override |
| Set postscript text attributes. | |
| void | SetBBoxCenter (const TPoint &p) override |
| Set center of the Pad. | |
| void | SetBBoxCenterX (const Int_t x) override |
| Set X coordinate of the center of the Pad. | |
| void | SetBBoxCenterY (const Int_t y) override |
| Set Y coordinate of the center of the Pad. | |
| void | SetBBoxX1 (const Int_t x) override |
| Set lefthandside of BoundingBox to a value (resize in x direction on left). | |
| void | SetBBoxX2 (const Int_t x) override |
| Set right hand side of BoundingBox to a value (resize in x direction on right). | |
| void | SetBBoxY1 (const Int_t y) override |
| Set top of BoundingBox to a value (resize in y direction on top). | |
| void | SetBBoxY2 (const Int_t y) override |
| Set bottom of BoundingBox to a value (resize in y direction on bottom). | |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f. | |
| void | SetBorderMode (Short_t bordermode) override |
| void | SetBorderSize (Short_t bordersize) override |
| virtual void | SetBottomMargin (Float_t bottommargin) |
| Set Pad bottom margin in fraction of the pad height. | |
| void | SetCanvas (TCanvas *c) override |
| void | SetCanvasSize (UInt_t ww, UInt_t wh) override |
| Set canvas size. | |
| void | SetCopyGLDevice (Bool_t copy) override |
| void | SetCrosshair (Int_t crhair=1) override |
| Set crosshair active/inactive. | |
| void | SetCursor (ECursor cursor) override |
| Set cursor type. | |
| void | SetDoubleBuffer (Int_t mode=1) override |
| Set double buffer mode ON or OFF. | |
| void | SetDrawOption (Option_t *="") override |
| Set drawing option for object. | |
| void | SetEditable (Bool_t mode=kTRUE) override |
| Set pad editable yes/no If a pad is not editable: | |
| virtual void | SetFillAttributes () |
| virtual void | SetFillColor (Color_t fcolor) |
| Set the fill area color. | |
| void | SetFillColor (TColorNumber) |
| virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
| void | SetFillStyle (Style_t fstyle) override |
| Override TAttFill::FillStyle for TPad because we want to handle style=0 as style 4000. | |
| void | SetFixedAspectRatio (Bool_t fixed=kTRUE) override |
| Fix pad aspect ratio to current value if fixed is true. | |
| 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 | 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 |
| virtual void | SetLeftMargin (Float_t leftmargin) |
| Set Pad left margin in fraction of the pad width. | |
| virtual void | SetLineAttributes () |
| virtual void | SetLineColor (Color_t lcolor) |
| Set the line color. | |
| void | SetLineColor (TColorNumber lcolor) |
| virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
| virtual void | SetLineStyle (Style_t lstyle) |
| Set the line style. | |
| virtual void | SetLineWidth (Width_t lwidth) |
| Set the line width. | |
| void | SetLogx (Int_t value=1) override |
| Set Lin/Log scale for X. | |
| void | SetLogy (Int_t value=1) override |
| Set Lin/Log scale for Y. | |
| void | SetLogz (Int_t value=1) override |
| Set Lin/Log scale for Z. | |
| virtual void | SetMargin (Float_t left, Float_t right, Float_t bottom, Float_t top) |
| Set all margins. | |
| 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 |
| Set all pad parameters. | |
| void | SetPad (Double_t xlow, Double_t ylow, Double_t xup, Double_t yup) override |
| Set canvas range for pad and resize the pad. | |
| void | SetPhi (Double_t phi=30) override |
| virtual void | SetRightMargin (Float_t rightmargin) |
| Set Pad right margin in fraction of the pad width. | |
| void | SetSelected (TObject *obj) override |
| Set selected. | |
| 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 |
| Set tool tip text associated with this pad. | |
| virtual void | SetTopMargin (Float_t topmargin) |
| Set Pad top margin in fraction of the pad height. | |
| virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id. | |
| void | SetVertical (Bool_t vert=kTRUE) override |
| Set pad vertical (default) or horizontal. | |
| void | SetView (TView *view=nullptr) override |
| Set the current TView. Delete previous view if view=0. | |
| void | SetViewer3D (TVirtualViewer3D *viewer3d) override |
| virtual void | SetXfile (Float_t xfile) |
| virtual void | SetXstat (Float_t xstat) |
| virtual void | SetYfile (Float_t yfile) |
| virtual void | SetYstat (Float_t ystat) |
| void | ShowGuidelines (TObject *object, const Int_t event, const char mode='i', const bool cling=true) override |
| 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. | |
| virtual void | StartEditing () |
| void | Streamer (TBuffer &) override |
| Stream a class object. | |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message. | |
| Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UnZoomed () |
| void | Update () override |
| void | UpdateAsync () override |
| Asynchronous pad update. | |
| void | UseCurrentStyle () override |
| Force a copy of current style for all objects in pad. | |
| Int_t | UtoAbsPixel (Double_t u) const override |
| Convert X NDC to absolute pixel. | |
| Int_t | UtoPixel (Double_t u) const override |
| Convert X NDC to pixel. | |
| Int_t | VtoAbsPixel (Double_t v) const override |
| Convert Y NDC to absolute pixel. | |
| Int_t | VtoPixel (Double_t v) const override |
| Convert Y NDC to pixel. | |
| TObject * | WaitPrimitive (const char *pname="", const char *emode="") override |
| Loop and sleep until a primitive with name=pname is found in the pad. | |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message. | |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory. | |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory. | |
| Int_t | WtoAbsPixel (Double_t x1, Double_t x2) const override |
| Convert a horizontal distance [x1,x2] to pixel. | |
| virtual void | x3d (Option_t *type="") |
| Deprecated: use TPad::GetViewer3D() instead. | |
| Int_t | XtoAbsPixel (Double_t x) const override |
| Convert X coordinate to absolute pixel. | |
| Double_t | XtoPad (Double_t x) const override |
| Convert x from X to pad. | |
| Int_t | XtoPixel (Double_t x) const override |
| Convert X coordinate to pixel. | |
| void | XYtoAbsPixel (Double_t x, Double_t y, Double_t &xpixel, Double_t &ypixel) const override |
| Convert X/Y into absolute pixel coordinates - doble Introduced to avoid pixel rounding problems. | |
| void | XYtoAbsPixel (Double_t x, Double_t y, Int_t &xpixel, Int_t &ypixel) const override |
| Convert X/Y into absolute pixel coordinates - integer. | |
| void | XYtoPixel (Double_t x, Double_t y, Double_t &xpixel, Double_t &ypixel) const override |
| Convert X/Y into pixel coordinates - double. | |
| void | XYtoPixel (Double_t x, Double_t y, Int_t &xpixel, Int_t &ypixel) const override |
| Convert X/Y into pixel coordinates - integer. | |
| Int_t | YtoAbsPixel (Double_t y) const override |
| Convert Y coordinate to absolute pixel. | |
| Double_t | YtoPad (Double_t y) const override |
| Convert y from Y to pad. | |
| Int_t | YtoPixel (Double_t y) const override |
| Convert Y coordinate to pixel. | |
Static Public Member Functions | |
| static Bool_t | AreAllSignalsBlocked () |
| Returns true if all signals are blocked. | |
| static Bool_t | BlockAllSignals (Bool_t b) |
| Block or unblock all signals. Returns the previous block status. | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| 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. | |
| static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
| Create connection between sender and receiver. | |
| static const char * | DeclFileName () |
| static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr) |
| Disconnects "class signal". | |
| static Bool_t | Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
| Disconnects signal in object sender from slot_method in object receiver. | |
| static void | DrawColorTable () |
| Static function to Display Color Table in a pad. | |
| static Longptr_t | GetDtorOnly () |
| Return destructor only flag. | |
| static Int_t | GetMaxPickDistance () |
| Static function (see also TPad::SetMaxPickDistance). | |
| static Bool_t | GetObjectStat () |
| Get status of object stat flag. | |
| static TVirtualPad *& | Pad () |
| Return the current pad for the current thread. | |
| static void | SetDtorOnly (void *obj) |
| Set destructor only flag. | |
| 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. | |
| static void | SetObjectStat (Bool_t stat) |
| Turn on/off tracking of objects in the TObjectTable. | |
Protected Types | |
| enum | { kOnlyPrepStep = (1ULL << (3)) } |
Protected Member Functions | |
| void | DestroyExternalViewer3D () |
| Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
| Compute distance from point px,py to a box. | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| Interface to ErrorHandler (protected). | |
| void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
| Execute action corresponding to one event. | |
| void * | GetSender () override |
| virtual const char * | GetSenderClassName () const |
| Double_t | GetXCoord (const Int_t x, Bool_t is_ndc=kFALSE) |
| Double_t | GetYCoord (const Int_t y, Bool_t is_ndc=kFALSE) |
| virtual void | HideToolTip (Int_t event) |
| Hide tool tip depending on the event type. | |
| void | MakeZombie () |
| void | PaintBorder (Color_t color, Bool_t tops) |
| Paint the pad border. | |
| 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 |
| Paint a frame border with Postscript - no longer used. | |
| void | PaintDate () |
| Paint the current date and time if the option Date is set on via gStyle->SetOptDate() Paint the current file name if the option File is set on via gStyle->SetOptFile(). | |
| void | SavePrimitive (std::ostream &out, Option_t *option="") override |
| Save primitives in this pad on the C++ source file out. | |
| void | SetBatch (Bool_t batch=kTRUE) override |
| Set pad in batch mode. | |
Static Protected Member Functions | |
| static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
| Checking of consistency of sender/receiver methods/arguments. | |
| 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. | |
| 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. | |
| static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
| Create connection between sender and receiver. | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| Save object constructor in the output stream "out". | |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| Save invocation of primitive Draw() method Skipped if option contains "nodraw" string. | |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0) |
| Save array in the output stream "out" as vector. | |
Protected Attributes | |
| Bool_t | fAbsCoord |
| Use absolute coordinates. | |
| Double_t | fAbsHNDC |
| Absolute Height of pad along Y in NDC. | |
| Double_t | fAbsPixeltoXk |
| Conversion coefficient for absolute pixel to X World. | |
| Double_t | fAbsPixeltoYk |
| Conversion coefficient for absolute pixel to Y World. | |
| Double_t | fAbsWNDC |
| Absolute Width of pad along X in NDC. | |
| Double_t | fAbsXlowNDC |
| Absolute X top left corner of pad in NDC [0,1]. | |
| Double_t | fAbsYlowNDC |
| Absolute Y top left corner of pad in NDC [0,1]. | |
| Float_t | fAfile |
| Alignment for the file name. | |
| Double_t | fAspectRatio |
| ratio of w/h in case of fixed ratio | |
| Float_t | fAstat |
| Alignment for the statistics. | |
| Short_t | fBorderMode |
| Bordermode (-1=down, 0 = no border, 1=up). | |
| Short_t | fBorderSize |
| pad bordersize in pixels | |
| Float_t | fBottomMargin |
| BottomMargin. | |
| TCanvas * | fCanvas {nullptr} |
| ! Pointer to mother canvas | |
| Int_t | fCGnx |
| ! Size of the collide grid along x | |
| Int_t | fCGny |
| ! Size of the collide grid along y | |
| std::vector< Bool_t > | fCollideGrid |
| ! Grid used to find empty space when adding a box (Legend) in a pad | |
| Bool_t | fCopyGLDevice |
| ! | |
| Int_t | fCrosshair |
| Crosshair type (0 if no crosshair requested). | |
| Int_t | fCrosshairPos |
| Position of crosshair. | |
| Bool_t | fEditable |
| True if canvas is editable. | |
| Bool_t | fEmbeddedGL |
| ! | |
| TList * | fExecs {nullptr} |
| List of commands to be executed when a pad event occurs. | |
| Color_t | fFillColor |
| Fill area color. | |
| Style_t | fFillStyle |
| Fill area style. | |
| Bool_t | fFixedAspectRatio |
| True if fixed aspect ratio. | |
| TFrame * | fFrame {nullptr} |
| ! Pointer to 2-D frame (if one exists) | |
| Int_t | fFrameBorderMode |
| Pad frame border mode. | |
| Width_t | fFrameBorderSize |
| Pad frame border size. | |
| Color_t | fFrameFillColor |
| Pad frame fill color. | |
| Style_t | fFrameFillStyle |
| Pad frame fill style. | |
| Color_t | fFrameLineColor |
| Pad frame line color. | |
| Style_t | fFrameLineStyle |
| Pad frame line style. | |
| Width_t | fFrameLineWidth |
| Pad frame line width. | |
| Int_t | fGLDevice |
| ! OpenGL off-screen pixmap identifier | |
| Bool_t | fGridx |
| Set to true if grid along X. | |
| Bool_t | fGridy |
| Set to true if grid along Y. | |
| Double_t | fHNDC |
| Height of pad along Y in Normalized Coordinates (NDC). | |
| Float_t | fLeftMargin |
| LeftMargin. | |
| Color_t | fLineColor |
| Line color. | |
| Style_t | fLineStyle |
| Line style. | |
| Width_t | fLineWidth |
| Line width. | |
| TList * | fListOfConnections |
| ! list of connections to this object | |
| TList * | fListOfSignals |
| ! list of signals from this object | |
| Int_t | fLogx |
| (=0 if X linear scale, =1 if log scale) | |
| Int_t | fLogy |
| (=0 if Y linear scale, =1 if log scale) | |
| Int_t | fLogz |
| (=0 if Z linear scale, =1 if log scale) | |
| Bool_t | fModified |
| Set to true when pad is modified. | |
| TPad * | fMother {nullptr} |
| ! pointer to mother of the list | |
| TString | fName |
| Pad name. | |
| Int_t | fNextPaletteColor |
| Next automatic color. | |
| Int_t | fNumber |
| pad number identifier | |
| Int_t | fNumPaletteColor |
| Number of objects with an automatic color. | |
| Int_t | fPadPaint |
| Set to 1 while painting the pad. | |
| TObject * | fPadPointer {nullptr} |
| ! free pointer | |
| TObject * | fPadView3D {nullptr} |
| ! 3D View of this TPad | |
| Double_t | fPhi |
| phi angle to view as lego/surface | |
| Double_t | fPixeltoX |
| xworld = fPixeltoXk + fPixeltoX*xpixel | |
| Double_t | fPixeltoXk |
| Conversion coefficient for pixel to X World. | |
| Double_t | fPixeltoY |
| yworld = fPixeltoYk + fPixeltoY*ypixel | |
| Double_t | fPixeltoYk |
| Conversion coefficient for pixel to Y World. | |
| Int_t | fPixmapID |
| ! Off-screen pixmap identifier | |
| TList * | fPrimitives {nullptr} |
| ->List of primitives (subpads) | |
| Bool_t | fResizing |
| !true when resizing the pad | |
| Float_t | fRightMargin |
| RightMargin. | |
| Bool_t | fSignalsBlocked |
| ! flag used for suppression of signals | |
| Double_t | fTheta |
| theta angle to view as lego/surface | |
| Int_t | fTickx |
| Set to 1 if tick marks along X. | |
| Int_t | fTicky |
| Set to 1 if tick marks along Y. | |
| TString | fTitle |
| Pad title. | |
| Float_t | fTopMargin |
| TopMargin. | |
| Double_t | fUtoAbsPixelk |
| Conversion coefficient for U NDC to absolute pixel. | |
| Double_t | fUtoPixel |
| xpixel = fUtoPixelk + fUtoPixel*undc | |
| Double_t | fUtoPixelk |
| Conversion coefficient for U NDC to pixel. | |
| Double_t | fUxmax |
| Maximum value on the X axis. | |
| Double_t | fUxmin |
| Minimum value on the X axis. | |
| Double_t | fUymax |
| Maximum value on the Y axis. | |
| Double_t | fUymin |
| Minimum value on the Y axis. | |
| TView * | fView {nullptr} |
| ! Pointer to 3-D view (if one exists) | |
| TVirtualViewer3D * | fViewer3D {nullptr} |
| ! Current 3D viewer | |
| Double_t | fVtoAbsPixelk |
| Conversion coefficient for V NDC to absolute pixel. | |
| Double_t | fVtoPixel |
| ypixel = fVtoPixelk + fVtoPixel*vndc | |
| Double_t | fVtoPixelk |
| Conversion coefficient for V NDC to pixel. | |
| Double_t | fWNDC |
| Width of pad along X in Normalized Coordinates (NDC). | |
| Double_t | fX1 |
| X of lower X coordinate. | |
| Double_t | fX2 |
| X of upper X coordinate. | |
| Float_t | fXfile |
| X position where to draw the file name. | |
| Double_t | fXlowNDC |
| X bottom left corner of pad in NDC [0,1]. | |
| Float_t | fXstat |
| X position where to draw the statistics. | |
| Double_t | fXtoAbsPixelk |
| Conversion coefficient for X World to absolute pixel. | |
| Double_t | fXtoPixel |
| xpixel = fXtoPixelk + fXtoPixel*xworld | |
| Double_t | fXtoPixelk |
| Conversion coefficient for X World to pixel. | |
| Double_t | fXUpNDC |
| Double_t | fY1 |
| Y of lower Y coordinate. | |
| Double_t | fY2 |
| Y of upper Y coordinate. | |
| Float_t | fYfile |
| Y position where to draw the file name. | |
| Double_t | fYlowNDC |
| Y bottom left corner of pad in NDC [0,1]. | |
| Float_t | fYstat |
| Y position where to draw the statistics. | |
| Double_t | fYtoAbsPixelk |
| Conversion coefficient for Y World to absolute pixel. | |
| Double_t | fYtoPixel |
| ypixel = fYtoPixelk + fYtoPixel*yworld | |
| Double_t | fYtoPixelk |
| Conversion coefficient for Y World to pixel. | |
| Double_t | fYUpNDC |
Static Protected Attributes | |
| static Bool_t | fgAllSignalsBlocked = kFALSE |
| static Int_t | fgMaxPickDistance = 5 |
| Maximum Pick Distance. | |
Private Member Functions | |
| Bool_t | Collide (Int_t i, Int_t j, Int_t w, Int_t h) |
| Check if a box of size w and h collide some primitives in the pad at position i,j. | |
| void | CopyBackgroundPixmaps (TPad *stop, Int_t x, Int_t y) |
| Copy pixmaps of pads laying below pad "stop" into pad "stop". | |
| void | DrawDist (Rectangle_t aBBox, Rectangle_t bBBox, char mode) |
| Draw Arrows to indicated equal distances of Objects with given BBoxes. | |
| void | FillCollideGrid (TObject *o) |
| Initialise the grid used to find empty space when adding a box (Legend) in a pad. | |
| void | FillCollideGridTBox (TObject *o) |
| void | FillCollideGridTFrame (TObject *o) |
| void | FillCollideGridTGraph (TObject *o) |
| void | FillCollideGridTH1 (TObject *o) |
| void | LineNotFree (Int_t x1, Int_t x2, Int_t y1, Int_t y2) |
| Mark as "not free" the cells along a line. | |
Static Private Member Functions | |
| static void | AddToTObjectTable (TObject *) |
| Private helper function which will dispatch to TObjectTable::AddObj. | |
Private Attributes | |
| UInt_t | fBits |
| bit field status word | |
| TObject * | fTip {nullptr} |
| ! tool tip associated with box | |
| UInt_t | fUniqueID |
| object unique identifier | |
Static Private Attributes | |
| static Longptr_t | fgDtorOnly = 0 |
| object for which to call dtor only (i.e. no delete) | |
| static Bool_t | fgObjectStat = kTRUE |
| if true keep track of objects in TObjectTable | |
#include <TEvePad.h>
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| TEvePad::TEvePad | ( | ) |
Default constructor.
Definition at line 26 of file TEvePad.cxx.
| TEvePad::TEvePad | ( | 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 ) |
Constructor.
Definition at line 34 of file TEvePad.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Implements TVirtualPad.
|
overridevirtualinherited |
Convert absolute pixel into X/Y coordinates.
Implements TVirtualPad.
Implements TVirtualPad.
|
inherited |
Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.
Definition at line 1149 of file TObject.cxx.
|
overridevirtualinherited |
Add an object to list of primitives with specified draw option When.
Implements TVirtualPad.
|
overridevirtualinherited |
Add a new TExec object to the list of Execs.
When an event occurs in the pad (mouse click, etc) the list of C++ commands in the list of Execs are executed via TPad::AutoExec.
When a pad event occurs (mouse move, click, etc) all the commands contained in the fExecs list are executed in the order found in the list.
This facility is activated by default. It can be deactivated by using the canvas "Option" menu.
The following examples of TExec commands are provided in the tutorials: macros exec1.C and exec2.C.
At this point you can use the mouse to click on the contour of the histogram hpx. When the mouse is clicked, the bin number and its contents are printed.
When moving the mouse in the canvas, a second canvas shows the projection along X of the bin corresponding to the Y position of the mouse. The resulting histogram is fitted with a gaussian. A "dynamic" line shows the current bin position in Y. This more elaborated example can be used as a starting point to develop more powerful interactive applications exploiting the C++ interpreter as a development engine.
Implements TVirtualPad.
|
overridevirtualinherited |
Add an object as first in list of primitives with specified draw option When.
Implements TVirtualPad.
|
staticprivateinherited |
Private helper function which will dispatch to TObjectTable::AddObj.
Included here to avoid circular dependency between header files.
Definition at line 195 of file TObject.cxx.
|
virtualinherited |
Append graphics object to current pad.
In case no current pad is set yet, create a default canvas with the name "c1".
Definition at line 204 of file TObject.cxx.
|
staticinherited |
Returns true if all signals are blocked.
Definition at line 1045 of file TQObject.cxx.
|
inlineinherited |
Definition at line 91 of file TQObject.h.
|
virtualinherited |
Block or unblock all signals. Returns the previous block status.
Definition at line 1053 of file TQObject.cxx.
Definition at line 92 of file TQObject.h.
|
overridevirtualinherited |
|
overridevirtualinherited |
Build a legend from the graphical objects in the pad.
A simple method to build automatically a TLegend from the primitives in a TPad.
Only those deriving from TAttLine, TAttMarker and TAttFill are added, excluding TPave and TFrame derived classes.
| [in] | x1,y1,x2,y2 | The TLegend coordinates |
| [in] | title | The legend title. By default it is " " |
| [in] | option | The TLegend option |
The caller program owns the returned TLegend.
If the pad contains some TMultiGraph or THStack the individual graphs or histograms in them are added to the TLegend.
If x1 is equal to x2 and y1 is equal to y2 the legend will be automatically placed to avoid overlapping with the existing primitives already displayed. x1 is considered as the width of the legend and y1 the height. By default the legend is automatically placed with width = x1= x2 = 0.3 and height = y1= y2 = 0.21.
Implements TVirtualPad.
|
overridevirtualinherited |
Set Current pad.
When a canvas/pad is divided via TPad::Divide, one can directly set the current path to one of the subdivisions. See TPad::Divide for the convention to number sub-pads.
Returns the new current pad, or 0 in case of failure.
For example:
To set the current pad to the bottom right pad, do
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: One can get a pointer to one of the sub-pads of pad with: TPad subpad = (TPad)pad->GetPad(subpadnumber);
Implements TVirtualPad.
|
inlinevirtualinherited |
Definition at line 199 of file TQObject.h.
|
staticprotectedinherited |
Checking of consistency of sender/receiver methods/arguments.
Returns -1 on error, otherwise number or arguments of signal function. Static method.
Definition at line 175 of file TQObject.cxx.
|
inlineinherited |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();
(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.
|
staticinherited |
|
staticinherited |
|
inlinestaticconstexprinherited |
| TEvePad::ClassDefOverride | ( | TEvePad | , |
| 1 | ) |
|
virtualinherited |
Returns name of class to which the object belongs.
Definition at line 227 of file TObject.cxx.
|
overridevirtualinherited |
Delete all pad primitives.
If the bit kClearAfterCR has been set for this pad, the Clear function will execute only after having pressed a CarriageReturn Set the bit with mypad->SetBit(TPad::kClearAfterCR)
Implements TVirtualPad.
|
overridevirtualinherited |
Clipping routine: Cohen Sutherland algorithm.
| [in,out] | x[],y[] | Segment coordinates (2 points) |
| [in] | xclipl,yclipb,xclipr,yclipt | Clipping boundary |
Implements TVirtualPad.
|
virtualinherited |
Clipping routine: Cohen Sutherland algorithm.
| [in,out] | x[],y[] | Segment coordinates (2 points) |
| [in] | xclipl,yclipb,xclipr,yclipt | Clipping boundary |
|
virtualinherited |
Clip polygon using the Sutherland-Hodgman algorithm.
| [in] | n | Number of points in the polygon to be clipped |
| [in] | x,y | Polygon x[n], y[n] do be clipped vertices |
| [in] | xclipl,yclipb,xclipr,yclipt | Clipping boundary |
| [out] | nn | Number of points in xc and yc |
| [out] | xc,yc | Clipped polygon vertices. The Int_t returned by this function is the number of points in the clipped polygon. These vectors must be allocated by the calling function. A size of 2*n for each is enough. |
Sutherland and Hodgman's polygon-clipping algorithm uses a divide-and-conquer strategy: It solves a series of simple and identical problems that, when combined, solve the overall problem. The simple problem is to clip a polygon against a single infinite clip edge. Four clip edges, each defining one boundary of the clip rectangle, successively clip a polygon against a clip rectangle.
Steps of Sutherland-Hodgman's polygon-clipping algorithm:
The clip boundary determines a visible and invisible region. The edges from vertex i to vertex i+1 can be one of four types:
|
virtualinherited |
Make a clone of an object using the Streamer facility.
If the object derives from TNamed, this function is called by TNamed::Clone. TNamed::Clone uses the optional argument to set a new name to the newly created object.
If the object class has a DirectoryAutoAdd function, it will be called at the end of the function with the parameter gDirectory. This usually means that the object will be appended to the current ROOT directory.
Reimplemented in RooAbsArg, RooAbsBinning, RooAbsCollection, RooAbsStudy, RooCatType, RooCmdArg, RooDataHist, RooDataSet, RooFitResult, RooLinkedList, RooStats::HypoTestResult, RooStats::ModelConfig, RooStudyPackage, RooTemplateProxy< T >, RooTemplateProxy< const RooHistFunc >, RooTemplateProxy< RooAbsCategory >, RooTemplateProxy< RooAbsPdf >, RooTemplateProxy< RooAbsReal >, RooTemplateProxy< RooAbsRealLValue >, RooTemplateProxy< RooMultiCategory >, RooTemplateProxy< RooRealVar >, RooWorkspace, TASImage, TChainIndex, TClass, TCollection, TF1, TFunction, TFunctionTemplate, TH1, TImage, TMethod, TMethodCall, TMinuit, TMVA::MinuitWrapper, TNamed, TStreamerInfo, and TTreeIndex.
Definition at line 243 of file TObject.cxx.
|
overridevirtualinherited |
Delete all primitives in pad and pad itself.
Pad cannot be used anymore after this call. Emits signal "Closed()".
Implements TVirtualPad.
|
inlinevirtualinherited |
|
overridevirtualinherited |
Collect class signal lists from class cls and all its base-classes.
The recursive traversal is not performed for classes not deriving from TQClass.
Definition at line 447 of file TQObject.cxx.
Compare abstract method.
Must be overridden if a class wants to be able to compare itself with other objects. Must return -1 if this is smaller than obj, 0 if objects are equal and 1 if this is larger than obj.
Reimplemented in RooAbsArg, RooDouble, TCollection, TEnvRec, TFileInfo, TGeoBranchArray, TGeoOverlap, TGFSFrameElement, TGLBFrameElement, TNamed, TObjString, TParameter< AParamType >, TParameter< Long64_t >, TStructNode, TStructNodeProperty, and TUrl.
Definition at line 258 of file TObject.cxx.
|
staticprotectedinherited |
Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.
If a null or empty string is passed in, an empty string is returned.
Example:
returns the string "Draw(char*,char*,char*,int,int)".
Definition at line 94 of file TQObject.cxx.
|
staticinherited |
This method allows to make a connection from any object of the same class to a single slot.
Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,
cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:
cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:
Warning:
If receiver class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.
Definition at line 791 of file TQObject.cxx.
|
inherited |
Non-static method is used to connect from the signal of this object to the receiver slot.
Warning! No check on consistency of sender/receiver classes/methods.
This method makes possible to have connection/signals from interpreted class. See also RQ_OBJECT.h.
Definition at line 865 of file TQObject.cxx.
|
staticinherited |
Create connection between sender and receiver.
Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,
cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:
cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:
Warning: If receiver is class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.
Definition at line 699 of file TQObject.cxx.
|
inlinevirtualinherited |
Definition at line 194 of file TQObject.h.
|
staticprotectedinherited |
This method allows to make connection from any object of the same class to the receiver object.
Receiver class needs to have a dictionary.
Definition at line 615 of file TQObject.cxx.
|
staticprotectedinherited |
Create connection between sender and receiver.
Receiver class needs to have a dictionary.
Definition at line 559 of file TQObject.cxx.
|
inherited |
|
inherited |
|
virtualinherited |
copy function
Definition at line 43 of file TAttPad.cxx.
|
virtualinherited |
Copy this to obj.
Reimplemented in ROOT::v5::TFormula, TArc, TArrow, TAxis3D, TAxis, TBox, TColor, TCrown, TDirectory, TDirectoryFile, TEllipse, TF12, TF1, TF1AbsComposition, TF1Convolution, TF1NormSum, TF2, TF3, TFile, TFolder, TFormula, TFrame, TGTextEdit, TGTextView, TH1, TH1C, TH1D, TH1F, TH1I, TH1L, TH1S, TH2, TH2C, TH2D, TH2F, TH2I, TH2L, TH2Poly, TH2S, TH3, TH3C, TH3D, TH3F, TH3I, TH3L, TH3S, THelix, TLatex, TLegend, TLegendEntry, TLine, TMarker, TMathText, TNamed, TPaletteAxis, TPave, TPaveClass, TPaveLabel, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, TWbox, and TXTRU.
Definition at line 159 of file TObject.cxx.
|
overridevirtualinherited |
Copy the pixmap of the pad to the canvas.
Implements TVirtualPad.
|
overridevirtualinherited |
Copy the sub-pixmaps of the pad to the canvas.
Implements TVirtualPad.
|
overridevirtualinherited |
Create a tool tip and return its pointer.
Implements TVirtualPad.
|
inlinestaticinherited |
|
virtualinherited |
Delete this object.
Typically called as a command via the interpreter. Normally use "delete" operator when object has been allocated on the heap.
Reimplemented in RooLinkedList, TAxis, TBtree, TCanvas, TClonesArray, TCollection, TDirectory, TDirectoryFile, TExMap, TFile, TGFrame, TGItemContext, TGTextEdit, THashList, THashTable, TKey, TKeySQL, TKeyXML, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TMap, TMVA::Results, TObjArray, TObjectTable, TOrdCollection, TProtoClass, TQCommand, TRefArray, TSystemDirectory, TSystemFile, TThread, TTree, TTreeViewer, TViewPubDataMembers, and TViewPubFunctions.
Definition at line 268 of file TObject.cxx.
|
overridevirtualinherited |
Remove TExec name from the list of Execs.
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in TQConnection.
Definition at line 197 of file TQObject.h.
|
protectedinherited |
|
staticinherited |
Disconnects "class signal".
The class is defined by class_name. See also Connect(class_name,signal,receiver,slot).
Definition at line 1004 of file TQObject.cxx.
|
inherited |
Disconnects signal of this object from slot of receiver.
Equivalent to Disconnect(this, signal, receiver, slot)
Definition at line 1023 of file TQObject.cxx.
|
staticinherited |
Disconnects signal in object sender from slot_method in object receiver.
For objects derived from TQObject signal-slot connection is removed when either of the objects involved are destroyed.
Disconnect() is typically used in three ways, as the following examples shows:
0 may be used as a wildcard in three of the four arguments, meaning "any signal", "any receiving object" or "any slot in the receiving object", respectively.
The sender has no default and may never be 0 (you cannot disconnect signals from more than one object).
If signal is 0, it disconnects receiver and slot_method from any signal. If not, only the specified signal is disconnected.
If receiver is 0, it disconnects anything connected to signal. If not, slots in objects other than receiver are not disconnected
If slot_method is 0, it disconnects anything that is connected to receiver. If not, only slots named slot_method will be disconnected, and all other slots are left alone. The slot_method must be 0 if receiver is left out, so you cannot disconnect a specifically-named slot on all objects.
Definition at line 956 of file TQObject.cxx.
|
inlinevirtualinherited |
Definition at line 195 of file TQObject.h.
|
inherited |
|
overridevirtualinherited |
Automatic pad generation by division.
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:
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:
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 or ymargin < 0, there is no space between pads. The current pad margins are recomputed to optimize the layout in order to have similar frames' areas. See the following example:
Implements TVirtualPad.
|
inherited |
Divide the canvas according to ratios.
The current canvas is divided in nx by ny according to the width and height ratios. If the ratios are not specified they are assumed to be equal.
Pads are automatically named canvasname_n where n is the division number starting from top left pad.
Top and left margins can be defined.
|
protectedvirtualinherited |
Interface to ErrorHandler (protected).
Reimplemented in TThread, and TTreeViewer.
Definition at line 1059 of file TObject.cxx.
|
overridevirtualinherited |
Draw Pad in Current pad (re-parent pad if necessary).
Implements TVirtualPad.
|
virtualinherited |
Draw class inheritance tree of the class to which this object belongs.
If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:
Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.
Definition at line 308 of file TObject.cxx.
|
overridevirtualinherited |
Draw class inheritance tree of the class to which obj belongs.
If a class B inherits from a class A, description of B is drawn on the right side of description of A.
Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function.
Implements TVirtualPad.
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
If pad was not selected - gPad will be used.
Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.
Definition at line 319 of file TObject.cxx.
|
inherited |
|
staticinherited |
|
virtualinherited |
Function called to draw a crosshair in the canvas.
Example:
When moving the mouse in the canvas, a crosshair is drawn
|
privateinherited |
|
overridevirtualinherited |
Draw an empty pad frame with X and Y axis.
| [in] | xmin | X axis lower limit |
| [in] | xmax | X axis upper limit |
| [in] | ymin | Y axis lower limit |
| [in] | ymax | Y axis upper limit |
| [in] | title | Pad title.If title is of the form "stringt;stringx;stringy" the pad title is set to stringt, the x axis title to stringx, the y axis title to stringy. |
End_Macro
Implements TVirtualPad.
|
virtualinherited |
Dump contents of object on stdout.
Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed
The following output is the Dump of a TArrow object:
Reimplemented in TClass, TCollection, TGFrame, TGPack, and TSystemFile.
Definition at line 367 of file TObject.cxx.
|
inlineinherited |
Activate signal without args.
Example: theButton->Emit("Clicked()");
Definition at line 174 of file TQObject.h.
|
inlineinherited |
Activate signal with single parameter.
Example:
If we call Emit with an array of the parameters, they should be converted to Longptr_t type. Example:
Definition at line 164 of file TQObject.h.
|
inlineinherited |
Emit a signal with a varying number of arguments.
Definition at line 100 of file TQObject.h.
|
virtualinherited |
Issue error message.
Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.
Reimplemented in TFitResult.
Definition at line 1098 of file TObject.cxx.
|
virtualinherited |
Execute method on this object with the given parameter string, e.g.
"3.14,1,\"text\"".
Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.
Definition at line 378 of file TObject.cxx.
|
virtualinherited |
Execute method on this object with parameters stored in the TObjArray.
The TObjArray should contain an argv vector like:
Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.
Definition at line 398 of file TObject.cxx.
Execute action corresponding to one event.
This member function is called when a TPad object is clicked.
If the mouse is clicked in one of the 4 corners of the pad (pA,pB,pC,pD) the pad is resized with the rubber rectangle.
If the mouse is clicked inside the pad, the pad is moved.
If the mouse is clicked on the 4 edges (pL,pR,pTop,pBot), the pad is scaled parallel to this edge.
Note that this function duplicates on purpose the functionality already implemented in TBox::ExecuteEvent. If somebody modifies this function, may be similar changes should also be applied to TBox::ExecuteEvent.
Reimplemented from TObject.
|
overridevirtualinherited |
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.
The axis range is set between the position where the mouse is pressed and the position where it is released.
If the mouse position is outside the current axis range when it is released the axis is unzoomed with the corresponding proportions.
Note that the mouse does not need to be in the pad or even canvas when it is released.
Implements TVirtualPad.
|
virtualinherited |
Issue fatal error message.
Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.
Definition at line 1126 of file TObject.cxx.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
Return the bounding Box of the Pad.
Implements TAttBBox2D.
|
overridevirtualinherited |
Return the center of the Pad as TPoint in pixels.
Reimplemented from TAttBBox2D.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
Get canvas implementation pointer if any.
Implements TVirtualPad.
|
inherited |
|
virtualinherited |
Get option used by the graphics system to draw this object.
Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.
Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.
Definition at line 445 of file TObject.cxx.
|
staticinherited |
Return destructor only flag.
Definition at line 1196 of file TObject.cxx.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inlinevirtualinherited |
Return the fill area color.
Reimplemented in TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, and TGX11.
Definition at line 32 of file TAttFill.h.
|
inlinevirtualinherited |
Return the fill area style.
Reimplemented in TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, and TGX11.
Definition at line 33 of file TAttFill.h.
|
overridevirtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Get height of pad along Y in Normalized Coordinates (NDC).
Implements TVirtualPad.
|
virtualinherited |
Returns mime type name of object.
Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.
Definition at line 472 of file TObject.cxx.
|
inlinevirtualinherited |
Return the line color.
Reimplemented in TGraphMultiErrors, and TGWin32VirtualXProxy.
Definition at line 36 of file TAttLine.h.
|
inlinevirtualinherited |
Return the line style.
Reimplemented in TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, and TGX11.
Definition at line 37 of file TAttLine.h.
|
inlinevirtualinherited |
Return the line width.
Reimplemented in TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, and TGX11.
Definition at line 38 of file TAttLine.h.
|
inherited |
Returns pointer to list of signals of this class.
Definition at line 431 of file TQObject.cxx.
|
inlineinherited |
Definition at line 89 of file TQObject.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineinherited |
Definition at line 88 of file TQObject.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
staticinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Returns name of object.
This default method returns the class name. Classes that give objects a name should override this method.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Returns string containing info about the object at position (px,py).
This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).
Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.
Definition at line 491 of file TObject.cxx.
|
staticinherited |
Get status of object stat flag.
Definition at line 1181 of file TObject.cxx.
|
inlinevirtualinherited |
Reimplemented in TArrow, TAxis3D, TFile, TGaxis, TGeoVolume, TH1, THelix, TLegendEntry, TMapFile, TNode, TPave, TPoints3DABC, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPSocket, TSelector, TSocket, and TUDPSocket.
|
overridevirtualinherited |
Get a pointer to subpadnumber of this pad.
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
Return lower and upper bounds of the pad in NDC coordinates.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
Return pad world coordinates range.
Implements TVirtualPad.
|
overridevirtualinherited |
Return pad axis coordinates range.
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from TQObject.
Definition at line 56 of file TVirtualPad.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TQObjSender.
Definition at line 58 of file TQObject.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Returns title of object.
This default method returns the class title (i.e. description). Classes that give objects a title should override this method.
Implements TVirtualPad.
|
virtualinherited |
Return the unique object id.
Definition at line 480 of file TObject.cxx.
|
inlineoverridevirtualinherited |
Returns the maximum x-coordinate value visible on the pad. If log axis the returned value is in decades.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Returns the minimum x-coordinate value visible on the pad. If log axis the returned value is in decades.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Returns the maximum y-coordinate value visible on the pad. If log axis the returned value is in decades.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Returns the minimum y-coordinate value visible on the pad. If log axis the returned value is in decades.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtual |
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Get width of pad along X in Normalized Coordinates (NDC).
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Definition at line 60 of file TAttBBox2D.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Definition at line 76 of file TAttBBox2D.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Execute action in response of a timer timing out.
This method must be overridden if an object has to react to timers.
Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.
Definition at line 516 of file TObject.cxx.
|
virtualinherited |
Return true if there is any object connected to this signal.
Only checks for object signals.
Definition at line 523 of file TQObject.cxx.
|
overridevirtualinherited |
Return kTRUE if the crosshair has been activated (via SetCrosshair).
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Return hash value for this object.
Note: If this routine is overloaded in a derived class, this derived class should also add
Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like
Reimplemented from TObject.
|
inlineinherited |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
missing call to RecursiveRemove in destructor).
Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
protectedvirtualinherited |
|
virtualinherited |
Definition at line 473 of file TQObject.cxx.
Convert a vertical distance [y1,y2] to pixel.
Implements TVirtualPad.
Increment (i==1) or set (i>1) the number of autocolor in the pad.
Implements TVirtualPad.
|
virtualinherited |
Issue info message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 1072 of file TObject.cxx.
|
virtualinherited |
Returns kTRUE if object inherits from class "classname".
Reimplemented in TClass.
Definition at line 549 of file TObject.cxx.
Returns kTRUE if object inherits from TClass cl.
Reimplemented in TClass.
Definition at line 557 of file TObject.cxx.
|
virtualinherited |
Dump contents of this object in a graphics canvas.
Same action as 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:
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.
Definition at line 570 of file TObject.cxx.
|
inlineoverridevirtualinherited |
|
inlineoverridevirtual |
Implements TVirtualPad.
|
inlineinherited |
Definition at line 164 of file TVirtualPad.h.
|
inlineinherited |
IsDestructed.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Default equal comparison (objects are equal if they have the same address in memory).
More complicated classes might want to override this function.
Reimplemented in TGObject, TObjString, TPair, and TQCommand.
Definition at line 589 of file TObject.cxx.
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in RooAbsArg, RooDouble, TCollection, TFileInfo, TGeoBranchArray, TGeoOverlap, TGFSFrameElement, TGLBFrameElement, TNamed, TObjString, TParameter< AParamType >, TParameter< Long64_t >, TPave, TStructNode, TStructNodeProperty, TUri, and TUrl.
|
inlinevirtualinherited |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 49 of file TAttFill.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
|
virtualinherited |
Definition at line 500 of file TQObject.cxx.
|
overridevirtualinherited |
|
inherited |
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).
Definition at line 1160 of file TObject.cxx.
|
inlinevirtualinherited |
Reimplemented in TTreeViewer.
Definition at line 201 of file TQObject.h.
|
overridevirtualinherited |
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
Implements TVirtualPad.
|
overridevirtualinherited |
Short cut to call Modified() and Update() in a single call.
On Mac with Cocoa, it performs an additional ProcessEvents().
Implements TVirtualPad.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
overridevirtualinherited |
Get the next autocolor in the pad.
Implements TVirtualPad.
|
virtualinherited |
This method must be overridden to handle object notification (the base implementation is no-op).
Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.
For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.
Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.
Definition at line 618 of file TObject.cxx.
|
virtualinherited |
Return number of connections for this object.
Definition at line 547 of file TQObject.cxx.
|
virtualinherited |
Return number of signals for this object.
Only checks for object signals.
Definition at line 537 of file TQObject.cxx.
|
inherited |
Use this method to declare a method obsolete.
Specify as of which version the method is obsolete and as from which version it will be removed.
Definition at line 1169 of file TObject.cxx.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inherited |
Operator delete for sized deallocation.
Definition at line 1234 of file TObject.cxx.
|
inherited |
Operator delete.
Definition at line 1212 of file TObject.cxx.
|
inherited |
Only called by placement new when throwing an exception.
Definition at line 1266 of file TObject.cxx.
|
inherited |
Operator delete [] for sized deallocation.
Definition at line 1245 of file TObject.cxx.
|
inherited |
Operator delete [].
Definition at line 1223 of file TObject.cxx.
|
inherited |
Only called by placement new[] when throwing an exception.
Definition at line 1274 of file TObject.cxx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticinherited |
Return the current pad for the current thread.
Definition at line 83 of file TVirtualPad.cxx.
|
virtualinherited |
Should always return false, unless you can highlight selected object in pad.
Definition at line 156 of file TVirtualPad.cxx.
|
virtualinherited |
Should always return false unless you have non-standard picking.
Definition at line 148 of file TVirtualPad.cxx.
|
overridevirtualinherited |
|
overrideprotectedvirtualinherited |
Paint a frame border with Postscript - no longer used.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint box in CurrentPad World coordinates.
Implements TVirtualPad.
|
protectedinherited |
|
overridevirtualinherited |
Paint fill area in CurrentPad World coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Implements TVirtualPad.
|
inherited |
This function paints hatched fill area according to the FillStyle value The convention for the Hatch is the following:
`FillStyle = 3ijk`
|
overridevirtualinherited |
Paint fill area in CurrentPad NDC coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint line in CurrentPad World coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint line in normalized coordinates.
Implements TVirtualPad.
Paint 3-D marker in the CurrentPad.
Implements TVirtualPad.
|
overridevirtualinherited |
Traverse pad hierarchy and (re)paint only modified pads.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint polyline in CurrentPad World coordinates.
If option[0] == 'C' no clipping
Implements TVirtualPad.
|
overridevirtualinherited |
Paint polyline in CurrentPad World coordinates.
Implements TVirtualPad.
Paint 3-D polyline in the CurrentPad.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint polyline in CurrentPad NDC coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint polymarker in CurrentPad World coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint polymarker in CurrentPad World coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint N individual segments Provided arrays should have 2*n elements IMPORTANT!
Provided arrays can be modified after function call!
Reimplemented from TVirtualPad.
Paint N individual segments in NDC coordinates Provided arrays should have 2*n elements IMPORTANT!
Provided arrays can be modified after function call!
Reimplemented from TVirtualPad.
Paint text in CurrentPad World coordinates.
Implements TVirtualPad.
Paint text in CurrentPad World coordinates.
Implements TVirtualPad.
Paint text in CurrentPad NDC coordinates.
Implements TVirtualPad.
Paint text in CurrentPad NDC coordinates.
Implements TVirtualPad.
|
overridevirtualinherited |
Paint text with URL in CurrentPad World coordinates.
Implements TVirtualPad.
Search for an object at pixel position px,py.
Check if point is in this pad.
If yes, check if it is in one of the sub-pads
If found in the pad, compute closest distance of approach to each primitive.
If one distance of approach is found to be within the limit Distancemaximum the corresponding primitive is selected and the routine returns.
Reimplemented in TCanvas.
|
overridevirtualinherited |
Place a box in NDC space.
| [in] | o | pointer to the box to be placed |
| [in] | w | box width to be placed |
| [in] | h | box height to be placed |
| [out] | xl | x position of the bottom left corner of the placed box |
| [out] | yb | y position of the bottom left corner of the placed box |
| [in] | option | l=left, r=right, t=top, b=bottom, w=within margins. Order determines priority for placement. Default is "lb" (prioritises horizontal over vertical) |
Implements TVirtualPad.
|
overridevirtualinherited |
|
virtualinherited |
Does nothing, unless you implement your own picking.
Remove top level selectable and all its' children.
Definition at line 206 of file TVirtualPad.cxx.
|
overridevirtualinherited |
Save Canvas contents in a file in one of various formats.
root: a ROOT binary file
filename = 0 - filename is defined by GetName and its extension is defined with the option
When Postscript output is selected (ps, eps), the canvas is saved to filename.ps or filename.eps. The aspect ratio of the canvas is preserved on the Postscript file. When the "ps" option is selected, the Postscript page will be landscape format if the canvas is in landscape format, otherwise portrait format is selected.
The physical size of the Postscript page is the one selected in the current style. This size can be modified via TStyle::SetPaperSize.
Examples:
where TStyle::kA4 and TStyle::kUSLetter are defined in the enum EPaperSize in TStyle.h
An alternative is to call:
The above numbers take into account some margins and are in centimeters.
The "Preview" option allows to generate a preview (in the TIFF format) within the Encapsulated Postscript file. This preview can be used by programs like MSWord to visualize the picture on screen. The "Preview" option relies on the "epstool" command.
Example:
The "EmbedFonts" option allows to embed the fonts used in a PDF file inside that file. This option relies on the "gs" command.
Example:
The "Standalone" option allows to generate a TeX file ready to be processed by tools like pdflatex.
Example:
Example:
In the previous example replacing "ps" by "pdf" will create a multi-pages PDF file.
Note that the following sequence writes the canvas to "c1.ps" and closes the ps file.:
The TCanvas::Print("file.ps(") mechanism is very useful, but it can be a little inconvenient to have the action of opening/closing a file being atomic with printing a page. Particularly if pages are being generated in some loop one needs to detect the special cases of first and last page and then munge the argument to Print() accordingly.
The "[" and "]" can be used instead of "(" and ")" to open / close without actual printing.
Example:
As before, the same macro is valid for PDF files.
It is possible to print a canvas into an animated GIF file by specifying the file name as "myfile.gif+" or "myfile.gif+NN", where NN*10ms is delay between the subimages' display. If NN is omitted the delay between subimages is zero. Each picture is added in the animation thanks to a loop similar to the following one:
The delay between each frame must be specified in each Print() statement. If the file "myfile.gif" already exists, the new frame are appended at the end of the file. To avoid this, delete it first with gSystem->Unlink(myfile.gif); If you want the gif file to repeat or loop forever, check TASImage::WriteImage documentation
Implements TVirtualPad.
|
overridevirtualinherited |
This method is equivalent to SaveAs("filename"). See TPad::SaveAs for details.
Implements TVirtualPad.
|
virtualinherited |
Does nothing, unless you implement your own picking.
"Complete" object, or part of complex object, which can be picked.
Definition at line 198 of file TVirtualPad.cxx.
|
virtualinherited |
Does nothing, unless you implement your own picking.
When complex object containing sub-objects (which can be picked) is painted in a pad, this "top-level" object is pushed into the selectables stack.
Definition at line 189 of file TVirtualPad.cxx.
Set world coordinate system for the pad.
Emits signal "RangeChanged()", in the slot get the range via GetRange().
Implements TVirtualPad.
|
overridevirtualinherited |
Set axis coordinate system for the pad.
The axis coordinate system is a subset of the world coordinate system xmin,ymin is the origin of the current coordinate system, xmax is the end of the X axis, ymax is the end of the Y axis. By default a margin of 10 per cent is left on all sides of the pad Emits signal "RangeAxisChanged()", in the slot get the axis range via GetRangeAxis().
Implements TVirtualPad.
|
inlinevirtualinherited |
Definition at line 211 of file TVirtualPad.h.
|
virtualinherited |
Read contents of object with specified name from the current directory.
First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().
Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.
Definition at line 673 of file TObject.cxx.
|
virtualinherited |
|
virtualinherited |
|
overridevirtualinherited |
Recursively remove object from a pad and its sub-pads.
Implements TVirtualPad.
|
overridevirtualinherited |
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.
By default, if the pad has the options gridx or/and gridy activated, the grid is not drawn by this function.
If option="g" is specified, this will force the drawing of the grid on top of the picture
To redraw the axis tick marks do:
To redraw the axis grid do:
To redraw the axis tick marks and the axis grid do:
If option="f" is specified, this will force the drawing of the frame around the plot.
Implements TVirtualPad.
|
overridevirtualinherited |
Release current (external) viewer.
Implements TVirtualPad.
Remove object from list of primitives When.
Implements TVirtualPad.
|
virtualinherited |
Reimplemented in TGWin32VirtualXProxy.
|
virtualinherited |
Reimplemented in TGWin32VirtualXProxy.
|
virtualinherited |
Reset pad attributes.
Definition at line 74 of file TAttPad.cxx.
|
overridevirtualinherited |
Reset tool tip, i.e.
within time specified in CreateToolTip the tool tip will pop up.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
Compute pad conversion coefficients.
\[\frac{x-xmin}{xrange} = \frac{px-pxlow}{pxrange}\]
with:
\[ xrange = xmax-xmin \]
\[ pxrange = pxmax-pxmin \]
\[\Rightarrow px = \frac{pxrange(x-xmin)}{xrange} + pxlow = fXtoPixelk + fXtoPixel \times x \]
\[\Rightarrow fXtoPixelk = pxlow - pxrange \frac{xmin}{xrange} \]
\[fXtoPixel = \frac{pxrange}{xrange} \]
where:
\[pxlow = fAbsXlowNDC \times fCw \]
\[pxrange = fAbsWNDC \times fCw \]
\[\frac{y-ymin}{yrange} = \frac{py-pylow}{pyrange}\]
with:
\[ yrange = ymax-ymin \]
\[ pyrange = pymax-pymin \]
\[\Rightarrow py = \frac{pyrange(y-xmin)}{yrange} + pylow = fYtoPixelk + fYtoPixel \times y \]
\[\Rightarrow fYtoPixelk = pylow - pyrange \frac{ymin}{yrange} \]
\[fYtoPixel = \frac{pyrange}{yrange} \]
where:
\[pylow = fAbsYlowNDC \times fCh \]
\[pyrange = fAbsHNDC \times fCh \]
\[\Rightarrow x = \frac{xrange(px-pxlow)}{pxrange}+ xmin = fPixeltoXk + fPixeltoX \times px \]
\[\Rightarrow fPixeltoXk = xmin - pxlow \times\frac{xrange}{pxrange} \]
\[fPixeltoX = \frac{xrange}{pxrange} \]
\[\Rightarrow y = \frac{yrange(py-pylow)}{pyrange}+ ymin = fPixeltoYk + fPixeltoY \times py \]
\[\Rightarrow fPixeltoYk = ymin - pylow \times\frac{yrange}{pyrange} \]
\[fPixeltoY = \frac{yrange}{pyrange} \]
\[ u = \frac{Log(x) - Log(xmin)}{Log(xmax) - Log(xmin)} = \frac{Log(x/xmin)}{Log(xmax/xmin)} = \frac{px - pxlow}{pxrange} \]
\[ \Rightarrow Log(\frac{x}{xmin}) = u \times Log(\frac{xmax}{xmin}) \]
\[ x = xmin \times e^{(u \times Log(\frac{xmax}{xmin})} \]
Let:
\[ alfa = \frac{Log(\frac{xmax}{xmin})}{fAbsWNDC} \]
\[ x = xmin \times e^{(-alfa \times pxlow)} + e^{(alfa \times px)} \]
\[ x = fPixeltoXk \times e^{(fPixeltoX \times px)} \]
\[ ==> fPixeltoXk = xmin \times e^{(-alfa*pxlow)} \]
\[ fPixeltoX = alfa \]
\[ v = \frac{Log(y) - Log(ymin)}{Log(ymax) - Log(ymin)} = \frac{Log(y/ymin)}{Log(ymax/ymin)} = \frac{py - pylow}{pyrange} \]
Let:
\[ beta = Log(\frac{ymax}{ymin}) \]
\[ Log(\frac{y}{ymin}) = beta \times pylow - beta \times py \]
\[ \frac{y}{ymin} = e^{(beta \times pylow - beta \times py)} \]
\[ y = ymin \times e^{(beta \times pylow)} \times e^{(-beta \times py)}\]
\[ \Rightarrow y = fPixeltoYk \times e^{(fPixeltoY \times py)} \]
\[ fPixeltoYk = ymin \times e^{(beta \times pylow)} \]
\[ fPixeltoY = -beta \]
\[ px = pxlow + u*pxrange \]
\[ = pxlow + Log(x/xmin)/alfa \]
\[ = pxlow -Log(xmin)/alfa + Log(x)/alfa \]
\[ = fXtoPixelk + fXtoPixel*Log(x) \]
\[ \Rightarrow fXtoPixelk = pxlow -Log(xmin)/alfa \]
\[ \Rightarrow fXtoPixel = 1/alfa \]
\[ py = pylow - Log(y/ymin)/beta \]
\[ = fYtoPixelk + fYtoPixel*Log(y) \]
\[ \Rightarrow fYtoPixelk = pylow - Log(ymin)/beta \]
\[ fYtoPixel = 1/beta \]
Implements TVirtualPad.
|
overridevirtualinherited |
Save the pad content in a file.
The file's format used to save the pad is determined by the filename extension:
Implements TVirtualPad.
|
virtualinherited |
|
virtualinherited |
|
overrideprotectedvirtualinherited |
|
staticprotectedinherited |
Save object constructor in the output stream "out".
Can be used as first statement when implementing SavePrimitive() method for the object
Definition at line 777 of file TObject.cxx.
|
staticprotectedinherited |
Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
Definition at line 845 of file TObject.cxx.
|
staticprotectedinherited |
Save array in the output stream "out" as vector.
Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()
Definition at line 796 of file TObject.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Set postscript fill area attributes.
DEPRECATED!!! No longer used by ROOT, kept only for backward compatibility
Implements TVirtualPad.
Set postscript line attributes.
DEPRECATED!!! No longer used by ROOT, kept only for backward compatibility
Implements TVirtualPad.
Set postscript marker attributes.
DEPRECATED!!! No longer used by ROOT, kept only for backward compatibility
Implements TVirtualPad.
|
overridevirtualinherited |
Set postscript text attributes.
DEPRECATED!!! No longer used by ROOT, kept only for backward compatibility
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
Set X coordinate of the center of the Pad.
Implements TAttBBox2D.
|
overridevirtualinherited |
Set Y coordinate of the center of the Pad.
Implements TAttBBox2D.
|
overridevirtualinherited |
Set lefthandside of BoundingBox to a value (resize in x direction on left).
Implements TAttBBox2D.
|
overridevirtualinherited |
Set right hand side of BoundingBox to a value (resize in x direction on right).
Implements TAttBBox2D.
|
overridevirtualinherited |
Set top of BoundingBox to a value (resize in y direction on top).
Implements TAttBBox2D.
|
overridevirtualinherited |
Set bottom of BoundingBox to a value (resize in y direction on bottom).
Implements TAttBBox2D.
Set or unset the user status bits as specified in f.
Definition at line 888 of file TObject.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
virtualinherited |
Set Pad bottom margin in fraction of the pad height.
Definition at line 98 of file TAttPad.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
Set crosshair active/inactive.
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Set drawing option for object.
This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().
Reimplemented from TObject.
|
staticinherited |
Set destructor only flag.
Definition at line 1204 of file TObject.cxx.
Set pad editable yes/no If a pad is not editable:
Implements TVirtualPad.
|
virtualinherited |
Reimplemented in TGWin32VirtualXProxy.
|
inlinevirtualinherited |
Set the fill area color.
Reimplemented in TGQuartz, TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, TGX11, TPDF, TPostScript, TSpider, TSVG, TTeXDump, and TVirtualX.
Definition at line 40 of file TAttFill.h.
|
inherited |
Reimplemented in TGraphMultiErrors.
|
overridevirtualinherited |
Fix pad aspect ratio to current value if fixed is true.
Implements TVirtualPad.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
virtualinherited |
Set Pad left margin in fraction of the pad width.
Definition at line 108 of file TAttPad.cxx.
|
virtualinherited |
Reimplemented in TGWin32VirtualXProxy.
|
inlinevirtualinherited |
Set the line color.
Reimplemented in ROOT::Experimental::REveLine, ROOT::Experimental::REveStraightLineSet, ROOT::Experimental::REveTrackList, TEveLine, TEveStraightLineSet, TEveTrackList, TGeoVolume, TGeoVolumeMulti, TGQuartz, TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, TGX11, TParallelCoordRange, TPDF, TPostScript, TSpider, TSVG, TTeXDump, and TVirtualX.
Definition at line 44 of file TAttLine.h.
|
inherited |
Reimplemented in TGraphMultiErrors.
|
inlinevirtualinherited |
Set the line style.
Reimplemented in ROOT::Experimental::REveLine, ROOT::Experimental::REveTrackList, TEveLine, TEveTrackList, TGeoVolume, TGeoVolumeMulti, TGQuartz, TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, TGX11, TPDF, TPostScript, TSpider, TSVG, TTeXDump, and TVirtualX.
Definition at line 46 of file TAttLine.h.
|
inlinevirtualinherited |
Set the line width.
Reimplemented in ROOT::Experimental::REveLine, ROOT::Experimental::REveTrackList, TEveLine, TEveTrackList, TGeoVolume, TGeoVolumeMulti, TGQuartz, TGraphMultiErrors, TGWin32, TGWin32VirtualXProxy, TGX11, TPaletteAxis, TParallelCoordRange, TPDF, TPostScript, TSpider, TSVG, TTeXDump, and TVirtualX.
Definition at line 47 of file TAttLine.h.
|
overridevirtualinherited |
Set Lin/Log scale for X.
Implements TVirtualPad.
|
overridevirtualinherited |
Set Lin/Log scale for Y.
Implements TVirtualPad.
|
overridevirtualinherited |
|
virtualinherited |
Set all margins.
Definition at line 138 of file TAttPad.cxx.
|
staticinherited |
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.
Setting a smaller value will make picking more precise but also more difficult
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlinevirtualinherited |
|
staticinherited |
Turn on/off tracking of objects in the TObjectTable.
Definition at line 1188 of file TObject.cxx.
|
overridevirtualinherited |
Set canvas range for pad and resize the pad.
If the aspect ratio was fixed before the call it will be un-fixed.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
virtualinherited |
Set Pad right margin in fraction of the pad width.
Definition at line 118 of file TAttPad.cxx.
|
overridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Implements TVirtualPad.
|
overridevirtualinherited |
Set tool tip text associated with this pad.
The delay is in milliseconds (minimum 250). To remove tool tip call method with text = 0.
Implements TVirtualPad.
|
virtualinherited |
Set Pad top margin in fraction of the pad height.
Definition at line 128 of file TAttPad.cxx.
|
virtualinherited |
Set the unique object id.
Definition at line 899 of file TObject.cxx.
Set pad vertical (default) or horizontal.
Implements TVirtualPad.
|
overridevirtualinherited |
Set the current TView. Delete previous view if view=0.
Implements TVirtualPad.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPad.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
overridevirtualinherited |
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.
modes: t (Top), b (bottom), l (left), r (right), i (inside) in resize modes (t,b,l,r) only size arrows are sticky
in mode, the function gets the point on the element that is clicked to move (i) or resize (all others). The expected values are:
Implements TVirtualPad.
|
overridevirtualinherited |
|
inlineinherited |
|
virtualinherited |
Issue system error message.
Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.
Definition at line 1112 of file TObject.cxx.
|
inlinevirtualinherited |
Definition at line 99 of file TVirtualPad.h.
|
inlineoverridevirtual |
Implements TVirtualPad.
|
overridevirtualinherited |
Asynchronous pad update.
In case of web-based canvas triggers update of the canvas on the client side, but does not wait that real update is completed. Avoids blocking of caller thread. Have to be used if called from other web-based widget to avoid logical dead-locks. In case of normal canvas just canvas->Update() is performed.
Implements TVirtualPad.
|
overridevirtualinherited |
|
overridevirtualinherited |
Loop and sleep until a primitive with name=pname is found in the pad.
If emode is given, the editor is automatically set to emode, ie it is not required to have the editor control bar.
The possible values for emode are:
If emode is specified and it is not valid, "PolyLine" is assumed. If emode is not specified or ="", an attempt is to use pname[1...]
for example if pname="TArc", emode="Arc" will be assumed. When this function is called within a macro, the macro execution is suspended until a primitive corresponding to the arguments is found in the pad.
If CRTL/C is typed in the pad, the function returns 0.
While this function is executing, one can use the mouse, interact with the graphics pads, use the Inspector, Browser, TreeViewer, etc.
Examples:
The following macro waits for 10 primitives of any type to be created.
If ROOT runs in batch mode a call to this method does nothing.
Implements TVirtualPad.
|
virtualinherited |
Issue warning message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 1084 of file TObject.cxx.
|
virtualinherited |
Write this object to the current directory.
For more see the const version of this method.
Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.
Definition at line 989 of file TObject.cxx.
|
virtualinherited |
Write this object to the current directory.
The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".
Writing an object to a file involves the following steps:
Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.
If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().
The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.
An object is read from the file into memory via TKey::Read() or via TObject::Read().
The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.
Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.
Definition at line 964 of file TObject.cxx.
Convert a horizontal distance [x1,x2] to pixel.
Implements TVirtualPad.
|
virtualinherited |
Deprecated: use TPad::GetViewer3D() instead.
Reimplemented in TButton, TDialogCanvas, and TInspectCanvas.
Convert X coordinate to absolute pixel.
Implements TVirtualPad.
|
overridevirtualinherited |
Convert X/Y into absolute pixel coordinates - doble Introduced to avoid pixel rounding problems.
Implements TVirtualPad.
|
overridevirtualinherited |
Convert X/Y into absolute pixel coordinates - integer.
Implements TVirtualPad.
|
overridevirtualinherited |
Convert X/Y into pixel coordinates - double.
Implements TVirtualPad.
|
overridevirtualinherited |
Convert X/Y into pixel coordinates - integer.
Implements TVirtualPad.
Convert Y coordinate to absolute pixel.
Implements TVirtualPad.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
privateinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Fill area color.
Definition at line 24 of file TAttFill.h.
|
protectedinherited |
Fill area style.
Definition at line 25 of file TAttFill.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 55 of file TQObject.h.
|
staticprivateinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Line color.
Definition at line 24 of file TAttLine.h.
|
protectedinherited |
Line style.
Definition at line 25 of file TAttLine.h.
|
protectedinherited |
Line width.
Definition at line 26 of file TAttLine.h.
|
protectedinherited |
! list of connections to this object
Definition at line 52 of file TQObject.h.
|
protectedinherited |
! list of signals from this object
Definition at line 51 of file TQObject.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
!true when resizing the pad
Definition at line 54 of file TVirtualPad.h.
|
protectedinherited |
|
protectedinherited |
! flag used for suppression of signals
Definition at line 53 of file TQObject.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
privateinherited |
|
privateinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |