TVirtualPad


class description - source file - inheritance tree

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


    protected:
virtual void* GetSender() public:
virtual void ~TVirtualPad() virtual void AbsCoordinates(Bool_t set) virtual Double_t AbsPixeltoX(Int_t px) virtual Double_t AbsPixeltoY(Int_t py) virtual void AddExec(const char* name, const char* command) virtual void cd(Int_t subpadnumber = 0) static 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 DeleteExec(const char* name) 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(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char* title) virtual void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) virtual void DrawText(Double_t x, Double_t y, const char* text) virtual void DrawTextNDC(Double_t u, Double_t v, const char* text) virtual Double_t GetAbsHNDC() virtual Double_t GetAbsWNDC() virtual Double_t GetAbsXlowNDC() virtual Double_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 Double_t GetHNDC() virtual TList* GetListOfExecs() virtual TList* GetListOfPrimitives() virtual Int_t GetLogx() virtual Int_t GetLogy() virtual Int_t GetLogz() virtual TVirtualPad* GetMother() virtual const char* GetName() const virtual Int_t GetPadPaint() virtual void GetPadPar(Double_t& xlow, Double_t& ylow, Double_t& xup, Double_t& yup) virtual TObject* GetPadPointer() virtual TVirtualPad* GetPadSave() const virtual Double_t GetPhi() virtual Int_t GetPixmapID() virtual TObject* GetPrimitive(const char* name) virtual void GetRange(Double_t& x1, Double_t& y1, Double_t& x2, Double_t& y2) virtual void GetRangeAxis(Double_t& xmin, Double_t& ymin, Double_t& xmax, Double_t& ymax) virtual TObject* GetSelected() virtual TVirtualPad* GetSelectedPad() const virtual Double_t GetTheta() virtual Int_t GetTickx() virtual Int_t GetTicky() virtual const char* GetTitle() const virtual Double_t GetUxmax() virtual Double_t GetUxmin() virtual Double_t GetUymax() virtual Double_t GetUymin() virtual TView* GetView() virtual TPadView3D* GetView3D() virtual TVirtualPad* GetVirtCanvas() virtual UInt_t GetWh() virtual Double_t GetWNDC() virtual UInt_t GetWw() virtual Double_t GetX1() const virtual Double_t GetX2() const virtual Double_t GetXlowNDC() virtual Double_t GetY1() const virtual Double_t GetY2() const virtual Double_t GetYlowNDC() virtual Bool_t HasCrosshair() const virtual void HighLight(Color_t col = kRed, Bool_t set = kTRUE) 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 static TVirtualPad*& Pad() virtual Double_t PadtoX(Double_t x) const virtual Double_t PadtoY(Double_t y) const virtual void Paint(Option_t* option) virtual void PaintBorderPS(Double_t xl, Double_t yl, Double_t xt, Double_t yt, Int_t bmode, Int_t bsize, Int_t dark, Int_t light) virtual void PaintBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t* option) virtual void PaintFillArea(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintFillArea(Int_t n, Double_t* x, Double_t* y, Option_t* option) virtual void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void PaintLine3D(Float_t* p1, Float_t* p2) virtual void PaintLine3D(Double_t* p1, Double_t* p2) virtual void PaintLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) virtual void PaintModified() virtual void PaintPadFrame(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) virtual void PaintPolyLine(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintPolyLine(Int_t n, Double_t* x, Double_t* y, Option_t* option) virtual void PaintPolyLine3D(Int_t n, Double_t* p) virtual void PaintPolyLineNDC(Int_t n, Double_t* x, Double_t* y, Option_t* option) virtual void PaintPolyMarker(Int_t n, Float_t* x, Float_t* y, Option_t* option) virtual void PaintPolyMarker(Int_t n, Double_t* x, Double_t* y, Option_t* option) virtual void PaintText(Double_t x, Double_t y, const char* text) virtual void PaintTextNDC(Double_t u, Double_t v, const char* text) virtual Double_t PixeltoX(Int_t px) virtual Double_t PixeltoY(Int_t py) virtual void Pop() virtual void Print(const char* filename) virtual void Print(const char* filename, Option_t* option) virtual void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void RangeAxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_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 char* 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 SetCrosshair(Int_t crhair = 1) 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 char* name) virtual void SetPad(const char* name, const char* title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color = 35, Short_t bordersize = 5, Short_t bordermode = -1) virtual void SetPad(Double_t xlow, Double_t ylow, Double_t xup, Double_t yup) virtual void SetPhi(Double_t phi = 30) virtual void SetSelected(TObject* obj) virtual void SetTheta(Double_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 char* 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) void StreamerNVirtual(TBuffer& b) virtual void Update() virtual Int_t UtoAbsPixel(Double_t u) const virtual Int_t UtoPixel(Double_t u) const virtual Int_t VtoAbsPixel(Double_t v) const virtual Int_t VtoPixel(Double_t v) const virtual TObject* WaitPrimitive(const char* pname, const char* emode) virtual void x3d(Option_t* option) virtual Int_t XtoAbsPixel(Double_t x) const virtual Double_t XtoPad(Double_t x) const virtual Int_t XtoPixel(Double_t x) const virtual Int_t YtoAbsPixel(Double_t y) const virtual Double_t YtoPad(Double_t y) const virtual Int_t YtoPixel(Double_t y) const

Data Members

protected:
Bool_t fResizing !true when resizing the pad


See also

TPad

Class Description


~TVirtualPad()
 VirtualPad destructor

void Streamer(TBuffer &R__b)
 Stream an object of class TVirtualPad.



Inline Functions


                void* GetSender()
                 void AbsCoordinates(Bool_t set)
             Double_t AbsPixeltoX(Int_t px)
             Double_t AbsPixeltoY(Int_t py)
                 void AddExec(const char* name, const char* command)
                 void cd(Int_t subpadnumber = 0)
                 void Clear(Option_t* option)
                 void Close(Option_t* option)
                 void CopyPixmap()
                 void CopyPixmaps()
                 void DeleteExec(const char* name)
                 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(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char* title)
                 void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
                 void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
                 void DrawText(Double_t x, Double_t y, const char* text)
                 void DrawTextNDC(Double_t u, Double_t v, const char* 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(Double_t& x1, Double_t& y1, Double_t& x2, Double_t& y2)
                 void GetRangeAxis(Double_t& xmin, Double_t& ymin, Double_t& xmax, Double_t& ymax)
                 void GetPadPar(Double_t& xlow, Double_t& ylow, Double_t& xup, Double_t& yup)
             Double_t GetXlowNDC()
             Double_t GetYlowNDC()
             Double_t GetWNDC()
             Double_t GetHNDC()
               UInt_t GetWw()
               UInt_t GetWh()
             Double_t GetAbsXlowNDC()
             Double_t GetAbsYlowNDC()
             Double_t GetAbsWNDC()
             Double_t GetAbsHNDC()
             Double_t GetPhi()
             Double_t GetTheta()
             Double_t GetUxmin()
             Double_t GetUymin()
             Double_t GetUxmax()
             Double_t GetUymax()
               Bool_t GetGridx()
               Bool_t GetGridy()
                Int_t GetTickx()
                Int_t GetTicky()
             Double_t GetX1() const
             Double_t GetX2() const
             Double_t GetY1() const
             Double_t GetY2() const
               TList* GetListOfPrimitives()
               TList* GetListOfExecs()
             TObject* GetPrimitive(const char* 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 char* GetName() const
          const char* GetTitle() const
                Int_t GetPadPaint()
                Int_t GetPixmapID()
          TPadView3D* GetView3D()
               Bool_t HasCrosshair() const
                 void HighLight(Color_t col = kRed, Bool_t set = kTRUE)
               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
             Double_t PadtoX(Double_t x) const
             Double_t PadtoY(Double_t y) const
                 void Paint(Option_t* option)
                 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)
                 void PaintBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t* option)
                 void PaintFillArea(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintFillArea(Int_t n, Double_t* x, Double_t* y, Option_t* option)
                 void PaintPadFrame(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
                 void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
                 void PaintLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
                 void PaintLine3D(Float_t* p1, Float_t* p2)
                 void PaintLine3D(Double_t* p1, Double_t* p2)
                 void PaintPolyLine(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintPolyLine(Int_t n, Double_t* x, Double_t* y, Option_t* option)
                 void PaintPolyLine3D(Int_t n, Double_t* p)
                 void PaintPolyLineNDC(Int_t n, Double_t* x, Double_t* y, Option_t* option)
                 void PaintPolyMarker(Int_t n, Float_t* x, Float_t* y, Option_t* option)
                 void PaintPolyMarker(Int_t n, Double_t* x, Double_t* y, Option_t* option)
                 void PaintModified()
                 void PaintText(Double_t x, Double_t y, const char* text)
                 void PaintTextNDC(Double_t u, Double_t v, const char* text)
             Double_t PixeltoX(Int_t px)
             Double_t PixeltoY(Int_t py)
                 void Pop()
                 void Print(const char* filename)
                 void Print(const char* filename, Option_t* option)
                 void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
                 void RangeAxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax)
                 void RecursiveRemove(TObject* obj)
                 void RedrawAxis(Option_t* option)
                 void ResetView3D(TPadView3D* view = 0)
                 void ResizePad(Option_t* option)
                 void SaveAs(const char* 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 SetCrosshair(Int_t crhair = 1)
                 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 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)
                 void SetPad(Double_t xlow, Double_t ylow, Double_t xup, Double_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 char* 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 char* title)
                 void SetTheta(Double_t theta = 30)
                 void SetPhi(Double_t phi = 30)
                 void SetToolTipText(const char* text, Long_t delayms = 1000)
                 void SetView(TView* view)
             TObject* WaitPrimitive(const char* pname, const char* emode)
                 void Update()
                Int_t UtoAbsPixel(Double_t u) const
                Int_t VtoAbsPixel(Double_t v) const
                Int_t UtoPixel(Double_t u) const
                Int_t VtoPixel(Double_t v) const
                Int_t XtoAbsPixel(Double_t x) const
                Int_t YtoAbsPixel(Double_t y) const
             Double_t XtoPad(Double_t x) const
             Double_t YtoPad(Double_t y) const
                Int_t XtoPixel(Double_t x) const
                Int_t YtoPixel(Double_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)
        TVirtualPad*& Pad()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 05/12/95
Last update: root/base:$Name: $:$Id: TVirtualPad.cxx,v 1.3 2000/11/21 16:39:33 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.