library: libCore
#include "TVirtualPad.h"

TVirtualPad


class description - source file - inheritance tree (.pdf)

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

Inheritance Chart:
TObject
TAttLine
TAttFill
TAttPad
TQObject
<-
TVirtualPad
<-
TPad
<-
TButton
<-
TGroupButton
TCanvas
<-
TDialogCanvas
<-
TAttFillCanvas
TAttLineCanvas
TAttMarkerCanvas
TAttTextCanvas
TDrawPanelHist
 [more...]
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
virtual void* GetSender() public:
virtual ~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 TVirtualPad* 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(const TObject* obj, Option_t* option = "") virtual TH1F* DrawFrame(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char* title = "") virtual Double_t GetAbsHNDC() const virtual Double_t GetAbsWNDC() const virtual Double_t GetAbsXlowNDC() const virtual Double_t GetAbsYlowNDC() const virtual Double_t GetAspectRatio() const virtual Short_t GetBorderMode() const virtual Short_t GetBorderSize() const virtual TCanvas* GetCanvas() const 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() const virtual Bool_t GetGridy() const virtual Color_t GetHighLightColor() const virtual Double_t GetHNDC() const virtual TList* GetListOfExecs() const virtual TList* GetListOfPrimitives() const virtual Int_t GetLogx() const virtual Int_t GetLogy() const virtual Int_t GetLogz() const virtual TVirtualPad* GetMother() const virtual const char* GetName() const virtual Int_t GetNumber() const virtual TVirtualPad* GetPad(Int_t subpadnumber) const virtual Int_t GetPadPaint() const virtual void GetPadPar(Double_t& xlow, Double_t& ylow, Double_t& xup, Double_t& yup) virtual TObject* GetPadPointer() const virtual TVirtualPad* GetPadSave() const virtual Double_t GetPhi() const virtual Int_t GetPixmapID() const virtual TObject* GetPrimitive(const char* name) const 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() const virtual TVirtualPad* GetSelectedPad() const virtual Double_t GetTheta() const virtual Int_t GetTickx() const virtual Int_t GetTicky() const virtual const char* GetTitle() const virtual Double_t GetUxmax() const virtual Double_t GetUxmin() const virtual Double_t GetUymax() const virtual Double_t GetUymin() const virtual TView* GetView() const virtual TPadView3D* GetView3D() const virtual TVirtualViewer3D* GetViewer3D(Option_t* type = "") virtual TVirtualPad* GetVirtCanvas() const virtual UInt_t GetWh() const virtual Double_t GetWNDC() const virtual UInt_t GetWw() const virtual Double_t GetX1() const virtual Double_t GetX2() const virtual Double_t GetXlowNDC() const virtual Double_t GetY1() const virtual Double_t GetY2() const virtual Double_t GetYlowNDC() const virtual Bool_t HasCrosshair() const virtual Bool_t HasFixedAspectRatio() const virtual void HighLight(Color_t col = kRed, Bool_t set = kTRUE) virtual TClass* IsA() const virtual Bool_t IsBatch() const Bool_t IsBeingResized() const virtual Bool_t IsEditable() const virtual Bool_t IsModified() const virtual Bool_t IsRetained() const virtual Bool_t IsVertical() const virtual void ls(Option_t* option = "") const virtual void Modified(Bool_t flag = 1) virtual Bool_t OpaqueMoving() const virtual Bool_t OpaqueResizing() const TVirtualPad& operator=(const TVirtualPad&) 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 = "") const 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 ReleaseViewer3D(Option_t* type = "") 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 SetCanvas(TCanvas* c) 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 SetFixedAspectRatio(Bool_t fixed = 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 SetVertical(Bool_t vert = kTRUE) 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 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

Class Description


TVirtualPad*& Pad()

~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)
             TVirtualPad* 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(const TObject* obj, Option_t* option = "")
                    TH1F* DrawFrame(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char* title = "")
                  Short_t GetBorderMode() const
                  Short_t GetBorderSize() const
                    Int_t GetCanvasID() const
                 TCanvas* GetCanvas() const
             TVirtualPad* GetVirtCanvas() const
                    Int_t GetEvent() const
                    Int_t GetEventX() const
                    Int_t GetEventY() const
                  TFrame* GetFrame()
                  Color_t GetHighLightColor() const
                    Int_t GetNumber() 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() const
                 Double_t GetYlowNDC() const
                 Double_t GetWNDC() const
                 Double_t GetHNDC() const
                   UInt_t GetWw() const
                   UInt_t GetWh() const
                 Double_t GetAbsXlowNDC() const
                 Double_t GetAbsYlowNDC() const
                 Double_t GetAbsWNDC() const
                 Double_t GetAbsHNDC() const
                 Double_t GetAspectRatio() const
                 Double_t GetPhi() const
                 Double_t GetTheta() const
                 Double_t GetUxmin() const
                 Double_t GetUymin() const
                 Double_t GetUxmax() const
                 Double_t GetUymax() const
                   Bool_t GetGridx() const
                   Bool_t GetGridy() const
                    Int_t GetTickx() const
                    Int_t GetTicky() const
                 Double_t GetX1() const
                 Double_t GetX2() const
                 Double_t GetY1() const
                 Double_t GetY2() const
                   TList* GetListOfPrimitives() const
                   TList* GetListOfExecs() const
                 TObject* GetPrimitive(const char* name) const
                 TObject* GetSelected() const
             TVirtualPad* GetPad(Int_t subpadnumber) const
                 TObject* GetPadPointer() const
             TVirtualPad* GetPadSave() const
             TVirtualPad* GetSelectedPad() const
                   TView* GetView() const
                    Int_t GetLogx() const
                    Int_t GetLogy() const
                    Int_t GetLogz() const
             TVirtualPad* GetMother() const
              const char* GetName() const
              const char* GetTitle() const
                    Int_t GetPadPaint() const
                    Int_t GetPixmapID() const
              TPadView3D* GetView3D() const
                   Bool_t HasCrosshair() const
                     void HighLight(Color_t col = kRed, Bool_t set = kTRUE)
                   Bool_t HasFixedAspectRatio() const
                   Bool_t IsBatch() const
                   Bool_t IsBeingResized() const
                   Bool_t IsEditable() const
                   Bool_t IsModified() const
                   Bool_t IsRetained() const
                   Bool_t IsVertical() const
                     void ls(Option_t* option = "") const
                     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 = "") const
                     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 SetCanvas(TCanvas* c)
                     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 SetFixedAspectRatio(Bool_t fixed = 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 SetVertical(Bool_t vert = kTRUE)
                     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)
        TVirtualViewer3D* GetViewer3D(Option_t* type = "")
                     void ReleaseViewer3D(Option_t* type = "")
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void StreamerNVirtual(TBuffer& b)
             TVirtualPad& operator=(const TVirtualPad&)


Author: Rene Brun 05/12/95
Last update: root/base:$Name: $:$Id: TVirtualPad.cxx,v 1.5 2003/04/14 13:53:49 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.