TVirtualPad


class description - source file - inheritance tree

class TVirtualPad : public TObject, public TAttLine, public TAttFill, public TAttPad


    public:
virtual void ~TVirtualPad() virtual void AbsCoordinates(Bool_t set) virtual Float_t AbsPixeltoX(Int_t px) virtual Float_t AbsPixeltoY(Int_t py) virtual void cd(Int_t subpadnumber = 0) TClass* Class() virtual void Clear(Option_t* option) virtual void Close(Option_t* option) virtual void CloseToolTip(TObject* tip) virtual void CopyPixmap() virtual void CopyPixmaps() virtual TObject* CreateToolTip(const TBox* b, const char* text, Long_t delayms) virtual void DeleteToolTip(TObject* tip) virtual void Divide(Int_t nx = 1, Int_t ny = 1, Float_t xmargin = 0.01, Float_t ymargin = 0.01, Int_t color = 0) virtual void Draw(Option_t* option) virtual void DrawClassObject(TObject* obj, Option_t* option) virtual TH1F* DrawFrame(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax, const Text_t* title) virtual void DrawLine(Float_t x1, Float_t y1, Float_t x2, Float_t y2) virtual void DrawLineNDC(Float_t u1, Float_t v1, Float_t u2, Float_t v2) virtual void DrawText(Float_t x, Float_t y, const Text_t* text) virtual void DrawTextNDC(Float_t u, Float_t v, const Text_t* text) virtual Float_t GetAbsHNDC() virtual Float_t GetAbsWNDC() virtual Float_t GetAbsXlowNDC() virtual Float_t GetAbsYlowNDC() virtual Short_t GetBorderMode() virtual Short_t GetBorderSize() virtual TCanvas* GetCanvas() virtual Int_t GetCanvasID() const virtual Int_t GetEvent() const virtual Int_t GetEventX() const virtual Int_t GetEventY() const virtual TFrame* GetFrame() virtual Bool_t GetGridx() virtual Bool_t GetGridy() virtual Color_t GetHighLightColor() const virtual Float_t GetHNDC() virtual TList* GetListOfPrimitives() virtual Int_t GetLogx() virtual Int_t GetLogy() virtual Int_t GetLogz() virtual TVirtualPad* GetMother() virtual const Text_t* GetName() const virtual Int_t GetPadPaint() virtual void GetPadPar(Float_t& xlow, Float_t& ylow, Float_t& xup, Float_t& yup) virtual TObject* GetPadPointer() virtual TVirtualPad* GetPadSave() const virtual Float_t GetPhi() virtual Int_t GetPixmapID() virtual TObject* GetPrimitive(const Text_t* name) virtual void GetRange(Float_t& x1, Float_t& y1, Float_t& x2, Float_t& y2) virtual void GetRangeAxis(Axis_t& xmin, Axis_t& ymin, Axis_t& xmax, Axis_t& ymax) virtual TObject* GetSelected() virtual TVirtualPad* GetSelectedPad() const virtual Float_t GetTheta() virtual Int_t GetTickx() virtual Int_t GetTicky() virtual const Text_t* GetTitle() const virtual Float_t GetUxmax() virtual Float_t GetUxmin() virtual Float_t GetUymax() virtual Float_t GetUymin() virtual TView* GetView() virtual TPadView3D* GetView3D() virtual TVirtualPad* GetVirtCanvas() virtual UInt_t GetWh() virtual Float_t GetWNDC() virtual UInt_t GetWw() virtual Float_t GetX1() const virtual Float_t GetX2() const virtual Float_t GetXlowNDC() virtual Float_t GetY1() const virtual Float_t GetY2() const virtual Float_t GetYlowNDC() virtual void HighLight(Color_t col = kRed, Bool_t set = kTRUE) virtual void InspectObject(TObject* obj) virtual TClass* IsA() const virtual Bool_t IsBatch() Bool_t IsBeingResized() const virtual Bool_t IsEditable() virtual Bool_t IsModified() virtual Bool_t IsRetained() virtual void ls(Option_t* option) virtual void Modified(Bool_t flag = 1) virtual Bool_t OpaqueMoving() const virtual Bool_t OpaqueResizing() const virtual Float_t PadtoX(Axis_t x) const virtual Float_t PadtoY(Axis_t y) const virtual void Paint(Option_t* option) virtual void PaintBorderPS(Float_t xl, Float_t yl, Float_t xt, Float_t yt, Int_t bmode, Int_t bsize, Int_t dark, Int_t light) virtual void PaintBox(Float_t x1, Float_t y1, Float_t x2, Float_t y2, Option_t* option) virtual void PaintFillArea(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintLine(Float_t x1, Float_t y1, Float_t x2, Float_t y2) virtual void PaintLine3D(Float_t* p1, Float_t* p2) virtual void PaintLineNDC(Coord_t u1, Coord_t v1, Coord_t u2, Coord_t v2) virtual void PaintModified() virtual void PaintPadFrame(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax) virtual void PaintPolyLine(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintPolyLine3D(Int_t n, Float_t* p) virtual void PaintPolyLineNDC(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintPolyMarker(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintText(Float_t x, Float_t y, const Text_t* text) virtual void PaintTextNDC(Float_t u, Float_t v, const Text_t* text) virtual Float_t PixeltoX(Int_t px) virtual Float_t PixeltoY(Int_t py) virtual void Pop() virtual void Print(const Text_t* filename) virtual void Print(const Text_t* filename, Option_t* option) virtual void Range(Float_t x1, Float_t y1, Float_t x2, Float_t y2) virtual void RangeAxis(Axis_t xmin, Axis_t ymin, Axis_t xmax, Axis_t ymax) virtual void RecursiveRemove(TObject* obj) virtual void RedrawAxis(Option_t* option) virtual void ResetToolTip(TObject* tip) virtual void ResetView3D(TPadView3D* view = 0) virtual void ResizePad(Option_t* option) virtual void SaveAs(const Text_t* filename) virtual void SetAttFillPS(Color_t color, Style_t style) virtual void SetAttLinePS(Color_t color, Style_t style, Width_t lwidth) virtual void SetAttMarkerPS(Color_t color, Style_t style, Size_t msize) virtual void SetAttTextPS(Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) virtual void SetBatch(Bool_t batch = kTRUE) virtual void SetBorderMode(Short_t bordermode) virtual void SetBorderSize(Short_t bordersize) virtual void SetCanvasSize(UInt_t ww, UInt_t wh) virtual void SetCursor(ECursor cursor) virtual void SetDoubleBuffer(Int_t mode = 1) virtual void SetEditable(Bool_t mode = kTRUE) virtual void SetGrid(Int_t valuex = 1, Int_t valuey = 1) virtual void SetGridx(Int_t value = 1) virtual void SetGridy(Int_t value = 1) virtual void SetLogx(Int_t value = 1) virtual void SetLogy(Int_t value = 1) virtual void SetLogz(Int_t value = 1) virtual void SetName(const Text_t* name) virtual void SetPad(Float_t xlow, Float_t ylow, Float_t xup, Float_t yup) virtual void SetPad(const Text_t* name, const Text_t* title, Float_t xlow, Float_t ylow, Float_t xup, Float_t yup, Color_t color = 35, Short_t bordersize = 5, Short_t bordermode = -1) virtual void SetPhi(Float_t phi = 30) virtual void SetSelected(TObject* obj) virtual void SetTheta(Float_t theta = 30) virtual void SetTicks(Int_t valuex = 1, Int_t valuey = 1) virtual void SetTickx(Int_t value = 1) virtual void SetTicky(Int_t value = 1) virtual void SetTitle(const Text_t* title) virtual void SetToolTipText(const char* text, Long_t delayms = 1000) virtual void SetView(TView* view) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) virtual void Update() virtual Int_t UtoAbsPixel(Float_t u) const virtual Int_t UtoPixel(Float_t u) const virtual Int_t VtoAbsPixel(Float_t v) const virtual Int_t VtoPixel(Float_t v) const virtual void x3d(Option_t* option) virtual Int_t XtoAbsPixel(Axis_t x) const virtual Float_t XtoPad(Axis_t x) const virtual Int_t XtoPixel(Axis_t x) const virtual Int_t YtoAbsPixel(Axis_t y) const virtual Float_t YtoPad(Axis_t y) const virtual Int_t YtoPixel(Axis_t y) const

Data Members

protected:
Bool_t fResizing !true when resizing the pad


See also

TPad

Class Description

  TVirtualPad is an abstract base class for the Pad and Canvas classes.


~TVirtualPad()
 VirtualPad destructor



Inline Functions


                 void AbsCoordinates(Bool_t set)
              Float_t AbsPixeltoX(Int_t px)
              Float_t AbsPixeltoY(Int_t py)
                 void cd(Int_t subpadnumber = 0)
                 void Clear(Option_t* option)
                 void Close(Option_t* option)
                 void CopyPixmap()
                 void CopyPixmaps()
                 void Divide(Int_t nx = 1, Int_t ny = 1, Float_t xmargin = 0.01, Float_t ymargin = 0.01, Int_t color = 0)
                 void Draw(Option_t* option)
                 void DrawClassObject(TObject* obj, Option_t* option)
                TH1F* DrawFrame(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax, const Text_t* title)
                 void DrawLine(Float_t x1, Float_t y1, Float_t x2, Float_t y2)
                 void DrawLineNDC(Float_t u1, Float_t v1, Float_t u2, Float_t v2)
                 void DrawText(Float_t x, Float_t y, const Text_t* text)
                 void DrawTextNDC(Float_t u, Float_t v, const Text_t* text)
              Short_t GetBorderMode()
              Short_t GetBorderSize()
                Int_t GetCanvasID() const
             TCanvas* GetCanvas()
         TVirtualPad* GetVirtCanvas()
                Int_t GetEvent() const
                Int_t GetEventX() const
                Int_t GetEventY() const
              TFrame* GetFrame()
              Color_t GetHighLightColor() const
                 void GetRange(Float_t& x1, Float_t& y1, Float_t& x2, Float_t& y2)
                 void GetRangeAxis(Axis_t& xmin, Axis_t& ymin, Axis_t& xmax, Axis_t& ymax)
                 void GetPadPar(Float_t& xlow, Float_t& ylow, Float_t& xup, Float_t& yup)
              Float_t GetXlowNDC()
              Float_t GetYlowNDC()
              Float_t GetWNDC()
              Float_t GetHNDC()
               UInt_t GetWw()
               UInt_t GetWh()
              Float_t GetAbsXlowNDC()
              Float_t GetAbsYlowNDC()
              Float_t GetAbsWNDC()
              Float_t GetAbsHNDC()
              Float_t GetPhi()
              Float_t GetTheta()
              Float_t GetUxmin()
              Float_t GetUymin()
              Float_t GetUxmax()
              Float_t GetUymax()
               Bool_t GetGridx()
               Bool_t GetGridy()
                Int_t GetTickx()
                Int_t GetTicky()
              Float_t GetX1() const
              Float_t GetX2() const
              Float_t GetY1() const
              Float_t GetY2() const
               TList* GetListOfPrimitives()
             TObject* GetPrimitive(const Text_t* name)
             TObject* GetSelected()
             TObject* GetPadPointer()
         TVirtualPad* GetPadSave() const
         TVirtualPad* GetSelectedPad() const
               TView* GetView()
                Int_t GetLogx()
                Int_t GetLogy()
                Int_t GetLogz()
         TVirtualPad* GetMother()
        const Text_t* GetName() const
        const Text_t* GetTitle() const
                Int_t GetPadPaint()
                Int_t GetPixmapID()
          TPadView3D* GetView3D()
                 void HighLight(Color_t col = kRed, Bool_t set = kTRUE)
                 void InspectObject(TObject* obj)
               Bool_t IsBatch()
               Bool_t IsBeingResized() const
               Bool_t IsEditable()
               Bool_t IsModified()
               Bool_t IsRetained()
                 void ls(Option_t* option)
                 void Modified(Bool_t flag = 1)
               Bool_t OpaqueMoving() const
               Bool_t OpaqueResizing() const
              Float_t PadtoX(Axis_t x) const
              Float_t PadtoY(Axis_t y) const
                 void Paint(Option_t* option)
                 void PaintBorderPS(Float_t xl, Float_t yl, Float_t xt, Float_t yt, Int_t bmode, Int_t bsize, Int_t dark, Int_t light)
                 void PaintBox(Float_t x1, Float_t y1, Float_t x2, Float_t y2, Option_t* option)
                 void PaintFillArea(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintPadFrame(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax)
                 void PaintLine(Float_t x1, Float_t y1, Float_t x2, Float_t y2)
                 void PaintLineNDC(Coord_t u1, Coord_t v1, Coord_t u2, Coord_t v2)
                 void PaintLine3D(Float_t* p1, Float_t* p2)
                 void PaintPolyLine(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintPolyLine3D(Int_t n, Float_t* p)
                 void PaintPolyLineNDC(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintPolyMarker(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintModified()
                 void PaintText(Float_t x, Float_t y, const Text_t* text)
                 void PaintTextNDC(Float_t u, Float_t v, const Text_t* text)
              Float_t PixeltoX(Int_t px)
              Float_t PixeltoY(Int_t py)
                 void Pop()
                 void Print(const Text_t* filename)
                 void Print(const Text_t* filename, Option_t* option)
                 void Range(Float_t x1, Float_t y1, Float_t x2, Float_t y2)
                 void RangeAxis(Axis_t xmin, Axis_t ymin, Axis_t xmax, Axis_t ymax)
                 void RecursiveRemove(TObject* obj)
                 void RedrawAxis(Option_t* option)
                 void ResetView3D(TPadView3D* view = 0)
                 void ResizePad(Option_t* option)
                 void SaveAs(const Text_t* filename)
                 void SetBatch(Bool_t batch = kTRUE)
                 void SetBorderMode(Short_t bordermode)
                 void SetBorderSize(Short_t bordersize)
                 void SetCanvasSize(UInt_t ww, UInt_t wh)
                 void SetCursor(ECursor cursor)
                 void SetDoubleBuffer(Int_t mode = 1)
                 void SetEditable(Bool_t mode = kTRUE)
                 void SetGrid(Int_t valuex = 1, Int_t valuey = 1)
                 void SetGridx(Int_t value = 1)
                 void SetGridy(Int_t value = 1)
                 void SetLogx(Int_t value = 1)
                 void SetLogy(Int_t value = 1)
                 void SetLogz(Int_t value = 1)
                 void SetPad(const Text_t* name, const Text_t* title, Float_t xlow, Float_t ylow, Float_t xup, Float_t yup, Color_t color = 35, Short_t bordersize = 5, Short_t bordermode = -1)
                 void SetPad(Float_t xlow, Float_t ylow, Float_t xup, Float_t yup)
                 void SetAttFillPS(Color_t color, Style_t style)
                 void SetAttLinePS(Color_t color, Style_t style, Width_t lwidth)
                 void SetAttMarkerPS(Color_t color, Style_t style, Size_t msize)
                 void SetAttTextPS(Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize)
                 void SetName(const Text_t* name)
                 void SetSelected(TObject* obj)
                 void SetTicks(Int_t valuex = 1, Int_t valuey = 1)
                 void SetTickx(Int_t value = 1)
                 void SetTicky(Int_t value = 1)
                 void SetTitle(const Text_t* title)
                 void SetTheta(Float_t theta = 30)
                 void SetPhi(Float_t phi = 30)
                 void SetToolTipText(const char* text, Long_t delayms = 1000)
                 void SetView(TView* view)
                 void Update()
                Int_t UtoAbsPixel(Float_t u) const
                Int_t VtoAbsPixel(Float_t v) const
                Int_t UtoPixel(Float_t u) const
                Int_t VtoPixel(Float_t v) const
                Int_t XtoAbsPixel(Axis_t x) const
                Int_t YtoAbsPixel(Axis_t y) const
              Float_t XtoPad(Axis_t x) const
              Float_t YtoPad(Axis_t y) const
                Int_t XtoPixel(Axis_t x) const
                Int_t YtoPixel(Axis_t y) const
             TObject* CreateToolTip(const TBox* b, const char* text, Long_t delayms)
                 void DeleteToolTip(TObject* tip)
                 void ResetToolTip(TObject* tip)
                 void CloseToolTip(TObject* tip)
                 void x3d(Option_t* option)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)


Author: Rene Brun 05/12/95
Last update: 2.23/04 10/10/99 10.45.29 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.