TInspectCanvas


class description - source file - inheritance tree

class TInspectCanvas : public TCanvas, public TAttText


    public:
TInspectCanvas TInspectCanvas() TInspectCanvas TInspectCanvas(UInt_t ww, UInt_t wh) virtual void ~TInspectCanvas() static TClass* Class() 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) TButton* GetBackward() TObject* GetCurObject() TButton* GetForward() TList* GetObjects() static void GoBackward() static void GoForward() virtual void InspectObject(TObject* obj) static void Inspector(TObject* obj) virtual TClass* IsA() const virtual void RecursiveRemove(TObject* obj) 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 SetTickx(Int_t value = 1) virtual void SetTicky(Int_t value = 1) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) virtual void x3d(Option_t* option)

Data Members

protected:
TButton* fBackward Pointer to the Backward button TButton* fForward Pointer to the Forward button TList* fObjects List of objects inspected TObject* fCurObject Pointer to object being inspected

Class Description

*-*   A InspectCanvas is a canvas specialized to inspect Root objects.


/*

*/



TInspectCanvas() : TCanvas()
*-*-*-*-*-*-*-*-*-*-*-*InspectCanvas default constructor*-*-*-*-*-*-*-*-*-*-*
*-*                    ================================

TInspectCanvas(UInt_t ww, UInt_t wh) : TCanvas("inspect","ROOT Object Inspector",ww,wh)
*-*-*-*-*-*-*-*-*-*-*-*InspectCanvas constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                    ========================

~TInspectCanvas()
*-*-*-*-*-*-*-*-*-*-*InspectCanvas default destructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ===============================

void InspectObject(TObject *obj)
 Dump contents of obj in a graphics canvas.
 Same action as TObject::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:

   /*
   
   */


void GoBackward()
 static function , inspect previous object

void GoForward()
 static function , inspect next object

void Inspector(TObject *obj)
 static function , interface to InspectObject.
 Create the InspectCanvas if it does not exist yet.


void RecursiveRemove(TObject *obj)
*-*-*-*-*-*-*-*Recursively remove object from the list of objects*-*-*-*-*
*-*            ==================================================



Inline Functions


           TButton* GetBackward()
           TButton* GetForward()
           TObject* GetCurObject()
             TList* GetObjects()
               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 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 SetTickx(Int_t value = 1)
               void SetTicky(Int_t value = 1)
               void x3d(Option_t* option)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)


Author: Rene Brun 08/01/2000
Last update: root/gpad:$Name: $:$Id: TInspectCanvas.cxx,v 1.4 2000/09/08 16:05:21 rdm 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.