TVirtualPad


class description - source file - inheritance tree

class TVirtualPad : public TWbox, 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(TGToolTip* tip) virtual void CopyPixmap() virtual void CopyPixmaps() virtual TGToolTip* CreateToolTip(TBox* b, char* text, Long_t delayms) virtual void DeleteToolTip(TGToolTip* 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, 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, Text_t* text) virtual void DrawTextNDC(Float_t u, Float_t v, Text_t* text) virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) virtual Float_t GetAbsHNDC() virtual Float_t GetAbsWNDC() virtual Float_t GetAbsXlowNDC() virtual Float_t GetAbsYlowNDC() virtual TCanvas* GetCanvas() virtual Int_t GetCanvasID() virtual Int_t GetEvent() virtual Int_t GetEventX() virtual Int_t GetEventY() virtual TFrame* GetFrame() virtual Bool_t GetGridx() virtual Bool_t GetGridy() virtual Color_t GetHighLightColor() 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() 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() virtual Float_t GetPhi() virtual Int_t GetPixmapID() virtual TObject* GetPrimitive(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() virtual Float_t GetTheta() virtual Int_t GetTickx() virtual Int_t GetTicky() virtual const Text_t* GetTitle() 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 GetXlowNDC() virtual Float_t GetYlowNDC() virtual void HighLight(Color_t col = kRed, Bool_t set = kTRUE) virtual void InspectObject(TObject* obj) virtual TClass* IsA() virtual Bool_t IsBatch() 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() virtual Bool_t OpaqueResizing() virtual Float_t PadtoX(Axis_t x) virtual Float_t PadtoY(Axis_t y) virtual void Paint(Option_t* option) 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, Text_t* text) virtual void PaintTextNDC(Float_t u, Float_t v, Text_t* text) virtual Float_t PixeltoX(Int_t px) virtual Float_t PixeltoY(Int_t py) virtual void Pop() virtual void Print(Text_t* filename) virtual void Print(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() virtual void ResetToolTip(TGToolTip* tip) virtual void ResetView3D(TPadView3D* view = 0) virtual void ResizePad(Option_t* option) virtual void SaveAs(Text_t* filename) 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 SetFillStyle(Style_t fstyle) 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(Text_t* name) virtual void SetPad(Text_t* name, 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 SetPad(Float_t xlow, Float_t ylow, Float_t xup, Float_t yup) 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(Text_t* title) 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) virtual Int_t UtoPixel(Float_t u) virtual Int_t VtoAbsPixel(Float_t v) virtual Int_t VtoPixel(Float_t v) virtual void x3d(Option_t* option) virtual Int_t XtoAbsPixel(Axis_t x) virtual Float_t XtoPad(Axis_t x) virtual Int_t XtoPixel(Axis_t x) virtual Int_t YtoAbsPixel(Axis_t y) virtual Float_t YtoPad(Axis_t y) virtual Int_t YtoPixel(Axis_t y)

Data Members



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, 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, Text_t* text)
                 void DrawTextNDC(Float_t u, Float_t v, Text_t* text)
                 void ExecuteEvent(Int_t event, Int_t px, Int_t py)
                Int_t GetCanvasID()
             TCanvas* GetCanvas()
         TVirtualPad* GetVirtCanvas()
                Int_t GetEvent()
                Int_t GetEventX()
                Int_t GetEventY()
              TFrame* GetFrame()
              Color_t GetHighLightColor()
                 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()
               TList* GetListOfPrimitives()
             TObject* GetPrimitive(Text_t* name)
             TObject* GetSelected()
             TObject* GetPadPointer()
         TVirtualPad* GetPadSave()
         TVirtualPad* GetSelectedPad()
               TView* GetView()
                Int_t GetLogx()
                Int_t GetLogy()
                Int_t GetLogz()
         TVirtualPad* GetMother()
        const Text_t* GetName()
        const Text_t* GetTitle()
                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 IsModified()
               Bool_t IsRetained()
                 void ls(Option_t* option)
                 void Modified(Bool_t flag = 1)
               Bool_t OpaqueMoving()
               Bool_t OpaqueResizing()
              Float_t PadtoX(Axis_t x)
              Float_t PadtoY(Axis_t y)
                 void Paint(Option_t* option)
                 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, Text_t* text)
                 void PaintTextNDC(Float_t u, Float_t v, Text_t* text)
              Float_t PixeltoX(Int_t px)
              Float_t PixeltoY(Int_t py)
                 void Pop()
                 void Print(Text_t* filename)
                 void Print(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()
                 void ResetView3D(TPadView3D* view = 0)
                 void ResizePad(Option_t* option)
                 void SaveAs(Text_t* filename)
                 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 SetGrid(Int_t valuex = 1, Int_t valuey = 1)
                 void SetGridx(Int_t value = 1)
                 void SetGridy(Int_t value = 1)
                 void SetFillStyle(Style_t fstyle)
                 void SetLogx(Int_t value = 1)
                 void SetLogy(Int_t value = 1)
                 void SetLogz(Int_t value = 1)
                 void SetPad(Text_t* name, 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 SetName(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(Text_t* title)
                 void SetTheta(Float_t theta = 30)
                 void SetPhi(Float_t phi = 30)
                 void SetView(TView* view)
                 void Update()
                Int_t UtoAbsPixel(Float_t u)
                Int_t VtoAbsPixel(Float_t v)
                Int_t UtoPixel(Float_t u)
                Int_t VtoPixel(Float_t v)
                Int_t XtoAbsPixel(Axis_t x)
                Int_t YtoAbsPixel(Axis_t y)
              Float_t XtoPad(Axis_t x)
              Float_t YtoPad(Axis_t y)
                Int_t XtoPixel(Axis_t x)
                Int_t YtoPixel(Axis_t y)
           TGToolTip* CreateToolTip(TBox* b, char* text, Long_t delayms)
                 void DeleteToolTip(TGToolTip* tip)
                 void ResetToolTip(TGToolTip* tip)
                 void CloseToolTip(TGToolTip* tip)
                 void x3d(Option_t* option)
              TClass* Class()
              TClass* IsA()
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)


Author: Rene Brun 05/12/95
Last update: 2.22/06 21/06/99 18.02.51 by Rene Brun
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.