Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4Picture Class Reference

#include <TGo4Picture.h>

List of all members.

Public Types

enum  Indexes { UndefIndex = -2, PictureIndex = -1 }

Public Methods

 TGo4Picture ()
 TGo4Picture (const char *name, const char *title, Int_t ndivy=1, Int_t ndivx=1)
virtual ~TGo4Picture ()
void SetDrawHeader (Bool_t draw=kTRUE)
Bool_t IsDrawHeader ()
void SetDivision (Int_t ndivy, Int_t ndivx)
Int_t GetDivX ()
Int_t GetDivY ()
Bool_t IsDivided ()
TGo4Picture & operator() (int posy, int posx)
TGo4Picture * Pic (Int_t posy, Int_t posx)
TGo4Picture * FindPic (Int_t posy, Int_t posx)
void SetLinesDivision (Int_t numlines, const Int_t *numbers)
void SetLinesDivision (Int_t numlines, Int_t n0=1, Int_t n1=1, Int_t n2=1, Int_t n3=1, Int_t n4=1, Int_t n5=1, Int_t n6=1, Int_t n7=1, Int_t n8=1, Int_t n9=1)
TGo4Picture * LPic (Int_t nline, Int_t ncol)
void AddH1 (TH1 *histo, Option_t *DrawOption=0)
void AddH1 (Int_t posy, Int_t posx, TH1 *histo, Option_t *DrawOption=0)
void AddHStack (THStack *st, Option_t *DrawOption=0)
void AddHStack (Int_t posy, Int_t posx, THStack *st, Option_t *DrawOption=0)
void AddGraph (TGraph *gr, Option_t *DrawOption=0)
void AddGraph (Int_t posy, Int_t posx, TGraph *gr, Option_t *DrawOption=0)
void AddCondition (TNamed *cond=0)
void AddCondition (Int_t posy, Int_t posx, TNamed *cond=0)
void ClearObjNames (Bool_t recursive=kFALSE)
void SetRangeX (Double_t min, Double_t max)
Bool_t GetRangeX (Double_t &min, Double_t &max)
void ClearRangeX ()
void SetRangeY (Double_t min, Double_t max)
Bool_t GetRangeY (Double_t &min, Double_t &max)
void ClearRangeY ()
void SetLogScale (Int_t nscale=0, Int_t zn=1)
Int_t GetLogScale (Int_t nscale=0)
void GetLogScales (TVirtualPad *pad)
void ClearLogScales ()
void SetSelectedIndex (Int_t index=PictureIndex)
void SetLineAtt (Color_t color, Style_t style, Width_t width, Int_t index=UndefIndex)
void SetLineAtt (TAttLine *line, Int_t index=UndefIndex)
void GetLineAtt (TAttLine *line, Int_t index=UndefIndex)
void ClearLineAtt (Int_t index=UndefIndex)
void SetFillAtt (Color_t color, Style_t style, Int_t index=UndefIndex)
void SetFillAtt (TAttFill *fill, Int_t index=UndefIndex)
void GetFillAtt (TAttFill *fill, Int_t index=UndefIndex)
void ClearFillAtt (Int_t index=UndefIndex)
void SetMarkerAtt (Color_t color, Size_t size, Style_t style, Int_t index=UndefIndex)
void SetMarkerAtt (TAttMarker *marker, Int_t index=UndefIndex)
void GetMarkerAtt (TAttMarker *marker, Int_t index=UndefIndex)
void ClearMarkerAtt (Int_t index=UndefIndex)
void SetDrawOption (Option_t *option, Int_t index=UndefIndex)
Option_t * GetDrawOption (Int_t index=UndefIndex)
void SetHistDrawStyle (Int_t zn, Int_t index=UndefIndex)
void SetHistErrorStyle (Int_t zn, Int_t index=UndefIndex)
void SetHistCoordStyle (Int_t zn, Int_t index=UndefIndex)
Int_t GetHistDrawStyle (Int_t index=UndefIndex)
Int_t GetHistErrorStyle (Int_t index=UndefIndex)
Int_t GetHistCoordStyle (Int_t index=UndefIndex)
void ClearHistStyles (Int_t index=UndefIndex)
virtual void Draw (Option_t *option="")
virtual void Clear (Option_t *option="")
virtual void Print (Option_t *option="") const
void AddObjName (const char *name, Option_t *DrawOption=0)
void AddObjName (Int_t posy, Int_t posx, const char *name, Option_t *DrawOption=0)
void AddObject (TObject *obj, Option_t *DrawOption=0)
void AddObject (Int_t posy, Int_t posx, TObject *obj, Option_t *DrawOption=0)
void Reset ()
TVirtualPad * DrawHeader (TVirtualPad *pad)
void UpdateFrom (TGo4Picture *source, TClass *selectedobjclass=0)
void UpdateObjectsContentFrom (TGo4Picture *source, TVirtualPad *pad=0)
void LocateObjectsFrom (TFolder *folder)
void CapturePadData (TVirtualPad *pad, bool takeprop=false)
Int_t GetNumObjNames ()
const char * GetObjName (Int_t n)
Bool_t IsObjNames ()
void AddObjectDirectly (TObject *obj, Option_t *DrawOption=0)
void AddObjectDirectly (Int_t posy, Int_t posx, TObject *obj, Option_t *DrawOption=0)
void ClearObjects (Bool_t recursive=kFALSE)
Int_t GetNumObjects ()
TObject * GetObject (Int_t n)
TObject * FindObject (const char *name)
void SetStyle (TStyle *style, Int_t index=UndefIndex)
TStyle * FindStyle (Int_t index=UndefIndex)
TStyle * GetStyle (Int_t index=UndefIndex)
void SetObjectsOwnership (Bool_t ownership)
Bool_t AppendHistStylesToString (TString *str, Int_t index=UndefIndex)

Protected Methods

 TGo4Picture (TGo4Picture &picture)
void AddSubPicture (TGo4Picture *pic)
Int_t GetObjAttIndex (TObject *obj)
void DrawPictureObjects (TVirtualPad *pad)
void SetPosition (Int_t posy, Int_t posx)
Bool_t CheckPosition (Int_t posy, Int_t posx)
Int_t FindOptPos (Short_t index, Short_t typ)
Int_t ExtendOptPos (Short_t index, Short_t typ)
void SetOption (Short_t index, Short_t typ, Long_t value)
Bool_t GetOption (Short_t index, Short_t typ, Long_t &value)
void SetOptionF (Short_t index, Short_t typ, Float_t value)
Bool_t GetOptionF (Short_t index, Short_t typ, Float_t &value)
void SetOptionD (Short_t index, Short_t typ, Double_t value)
Bool_t GetOptionD (Short_t index, Short_t typ, Double_t &value)
void SetObjOption (Short_t index, Short_t typ, TObject *obj)
TObject * GetObjOption (Short_t index, Short_t typ)
void SetStrOption (Short_t index, Short_t typ, const char *value)
const char * GetStrOption (Short_t index, Short_t typ)
void ClearOption (Short_t index, Short_t typ)
void ClearOption (Int_t pos)
void ClearAllOptions (Short_t index=UndefIndex)
TAxis * FindAxis (TVirtualPad *pad, Int_t num)
void CheckIndex (Int_t &index)
void DrawPic (TVirtualPad *pad)
void PrintPic (int shift)

Private Attributes

Int_t fiNDivX
Int_t fiNDivY
Int_t fiPosX
Int_t fiPosY
TObjArray * fxNames
TObjArray * fxObjects
TObjArray * fxSubPictures
Int_t fiOptSize
TArrayL fxOptIndex
TArrayL fxOptValue
TObjArray * fxOptObjects
Int_t fiLastIndex


Member Enumeration Documentation

enum TGo4Picture::Indexes
 

Enumeration values:
UndefIndex 
PictureIndex 

Definition at line 43 of file TGo4Picture.h.


Constructor & Destructor Documentation

TGo4Picture::TGo4Picture (    ) 
 

Definition at line 75 of file TGo4Picture.cxx.

Referenced by CapturePadData(), and Pic().

TGo4Picture::TGo4Picture (  const char *    name,
const char *    title,
Int_t    ndivy = 1,
Int_t    ndivx = 1
) 
 

Definition at line 82 of file TGo4Picture.cxx.

References SetDivision().

TGo4Picture::~TGo4Picture (    )  [virtual]
 

Definition at line 98 of file TGo4Picture.cxx.

References fxNames, fxObjects, fxOptObjects, and fxSubPictures.

TGo4Picture::TGo4Picture (  TGo4Picture &    picture )  [protected]
 

Definition at line 90 of file TGo4Picture.cxx.

References UpdateFrom().


Member Function Documentation

void TGo4Picture::SetDrawHeader (  Bool_t    draw = kTRUE ) 
 

Definition at line 106 of file TGo4Picture.cxx.

References op_PicHeader, PictureIndex, and SetOption().

Bool_t TGo4Picture::IsDrawHeader (    ) 
 

Definition at line 110 of file TGo4Picture.cxx.

References GetOption(), op_PicHeader, and PictureIndex.

Referenced by DrawHeader().

void TGo4Picture::SetDivision (  Int_t    ndivy,
Int_t    ndivx
) 
 

Definition at line 117 of file TGo4Picture.cxx.

References fiNDivX, and fiNDivY.

Referenced by SetLinesDivision(), and TGo4Picture().

Int_t TGo4Picture::GetDivX (    )  [inline]
 

Definition at line 58 of file TGo4Picture.h.

References fiNDivX.

Referenced by DrawPic(), TGo4QPicItem::DrawSubPic(), FindPic(), IsDivided(), Pic(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateObjectsContentFrom().

Int_t TGo4Picture::GetDivY (    )  [inline]
 

Definition at line 59 of file TGo4Picture.h.

References fiNDivY.

Referenced by DrawPic(), TGo4QPicItem::DrawSubPic(), FindPic(), IsDivided(), Pic(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateObjectsContentFrom().

Bool_t TGo4Picture::IsDivided (    )  [inline]
 

Definition at line 60 of file TGo4Picture.h.

References GetDivX(), and GetDivY().

Referenced by DrawPic(), DrawPictureObjects(), TGo4QPicItem::DrawSubPic(), LPic(), Pic(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateObjectsContentFrom().

TGo4Picture& TGo4Picture::operator() (  int    posy,
int    posx
)  [inline]
 

Definition at line 62 of file TGo4Picture.h.

References Pic().

TGo4Picture * TGo4Picture::Pic (  Int_t    posy,
Int_t    posx
) 
 

Definition at line 133 of file TGo4Picture.cxx.

References FindPic(), fxSubPictures, GetDivX(), GetDivY(), IsDivided(), SetPosition(), and TGo4Picture().

Referenced by AddObjectDirectly(), AddObjName(), LPic(), operator()(), and SetLinesDivision().

TGo4Picture * TGo4Picture::FindPic (  Int_t    posy,
Int_t    posx
) 
 

Definition at line 122 of file TGo4Picture.cxx.

References CheckPosition(), fxSubPictures, GetDivX(), GetDivY(), and n.

Referenced by DrawPic(), TGo4QPicItem::DrawSubPic(), Pic(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateObjectsContentFrom().

void TGo4Picture::SetLinesDivision (  Int_t    numlines,
const Int_t *    numbers
) 
 

Definition at line 149 of file TGo4Picture.cxx.

References n, Pic(), and SetDivision().

Referenced by SetLinesDivision(), TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::SetLinesDivision (  Int_t    numlines,
Int_t    n0 = 1,
Int_t    n1 = 1,
Int_t    n2 = 1,
Int_t    n3 = 1,
Int_t    n4 = 1,
Int_t    n5 = 1,
Int_t    n6 = 1,
Int_t    n7 = 1,
Int_t    n8 = 1,
Int_t    n9 = 1
) 
 

Definition at line 155 of file TGo4Picture.cxx.

References SetLinesDivision().

TGo4Picture * TGo4Picture::LPic (  Int_t    nline,
Int_t    ncol
) 
 

Definition at line 162 of file TGo4Picture.cxx.

References IsDivided(), and Pic().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::AddH1 (  TH1 *    histo,
Option_t *    DrawOption = 0
) 
 

Definition at line 178 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddH1 (  Int_t    posy,
Int_t    posx,
TH1 *    histo,
Option_t *    DrawOption = 0
) 
 

Definition at line 182 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddHStack (  THStack *    st,
Option_t *    DrawOption = 0
) 
 

Definition at line 186 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddHStack (  Int_t    posy,
Int_t    posx,
THStack *    st,
Option_t *    DrawOption = 0
) 
 

Definition at line 190 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddGraph (  TGraph *    gr,
Option_t *    DrawOption = 0
) 
 

Definition at line 196 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddGraph (  Int_t    posy,
Int_t    posx,
TGraph *    gr,
Option_t *    DrawOption = 0
) 
 

Definition at line 200 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::AddCondition (  TNamed *    cond = 0 ) 
 

Definition at line 204 of file TGo4Picture.cxx.

References AddObject().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::AddCondition (  Int_t    posy,
Int_t    posx,
TNamed *    cond = 0
) 
 

Definition at line 208 of file TGo4Picture.cxx.

References AddObject().

void TGo4Picture::ClearObjNames (  Bool_t    recursive = kFALSE ) 
 

Definition at line 228 of file TGo4Picture.cxx.

References fiLastIndex, fxNames, fxSubPictures, and n.

void TGo4Picture::SetRangeX (  Double_t    min,
Double_t    max
) 
 

Definition at line 328 of file TGo4Picture.cxx.

References op_RangeXMax, op_RangeXMin, PictureIndex, and SetOptionD().

Bool_t TGo4Picture::GetRangeX (  Double_t &    min,
Double_t &    max
) 
 

Definition at line 333 of file TGo4Picture.cxx.

References GetOptionD(), op_RangeXMax, op_RangeXMin, and PictureIndex.

Referenced by DrawPictureObjects(), and TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearRangeX (    ) 
 

Definition at line 338 of file TGo4Picture.cxx.

References ClearOption(), op_RangeXMax, op_RangeXMin, and PictureIndex.

void TGo4Picture::SetRangeY (  Double_t    min,
Double_t    max
) 
 

Definition at line 343 of file TGo4Picture.cxx.

References op_RangeYMax, op_RangeYMin, PictureIndex, and SetOptionD().

Bool_t TGo4Picture::GetRangeY (  Double_t &    min,
Double_t &    max
) 
 

Definition at line 348 of file TGo4Picture.cxx.

References GetOptionD(), op_RangeYMax, op_RangeYMin, and PictureIndex.

Referenced by DrawPictureObjects(), and TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearRangeY (    ) 
 

Definition at line 353 of file TGo4Picture.cxx.

References ClearOption(), op_RangeYMax, op_RangeYMin, and PictureIndex.

void TGo4Picture::SetLogScale (  Int_t    nscale = 0,
Int_t    zn = 1
) 
 

Definition at line 358 of file TGo4Picture.cxx.

References op_LogScaleX, op_LogScaleY, op_LogScaleZ, PictureIndex, and SetOption().

Int_t TGo4Picture::GetLogScale (  Int_t    nscale = 0 ) 
 

Definition at line 368 of file TGo4Picture.cxx.

References GetOption(), op_LogScaleX, op_LogScaleY, op_LogScaleZ, and PictureIndex.

Referenced by TGo4QPicItem::DrawSubPic().

void TGo4Picture::GetLogScales (  TVirtualPad *    pad ) 
 

Definition at line 380 of file TGo4Picture.cxx.

References GetOption(), op_LogScaleX, op_LogScaleY, op_LogScaleZ, and PictureIndex.

Referenced by DrawPictureObjects().

void TGo4Picture::ClearLogScales (    ) 
 

Definition at line 388 of file TGo4Picture.cxx.

References ClearOption(), op_LogScaleX, op_LogScaleY, op_LogScaleZ, and PictureIndex.

void TGo4Picture::SetSelectedIndex (  Int_t    index = PictureIndex )  [inline]
 

Definition at line 107 of file TGo4Picture.h.

References fiLastIndex, and PictureIndex.

void TGo4Picture::SetLineAtt (  Color_t    color,
Style_t    style,
Width_t    width,
Int_t    index = UndefIndex
) 
 

Definition at line 394 of file TGo4Picture.cxx.

References CheckIndex(), op_LineColor, op_LineStyle, op_LineWidth, and SetOption().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::SetLineAtt (  TAttLine *    line,
Int_t    index = UndefIndex
) 
 

Definition at line 401 of file TGo4Picture.cxx.

References CheckIndex(), op_LineColor, op_LineStyle, op_LineWidth, and SetOption().

void TGo4Picture::GetLineAtt (  TAttLine *    line,
Int_t    index = UndefIndex
) 
 

Definition at line 409 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), op_LineColor, op_LineStyle, and op_LineWidth.

Referenced by DrawPictureObjects(), and TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearLineAtt (  Int_t    index = UndefIndex ) 
 

Definition at line 418 of file TGo4Picture.cxx.

References CheckIndex(), ClearOption(), op_LineColor, op_LineStyle, and op_LineWidth.

void TGo4Picture::SetFillAtt (  Color_t    color,
Style_t    style,
Int_t    index = UndefIndex
) 
 

Definition at line 425 of file TGo4Picture.cxx.

References CheckIndex(), op_FillColor, op_FillStyle, and SetOption().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::SetFillAtt (  TAttFill *    fill,
Int_t    index = UndefIndex
) 
 

Definition at line 431 of file TGo4Picture.cxx.

References CheckIndex(), op_FillColor, op_FillStyle, and SetOption().

void TGo4Picture::GetFillAtt (  TAttFill *    fill,
Int_t    index = UndefIndex
) 
 

Definition at line 438 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), op_FillColor, and op_FillStyle.

Referenced by DrawPictureObjects(), and TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearFillAtt (  Int_t    index = UndefIndex ) 
 

Definition at line 446 of file TGo4Picture.cxx.

References CheckIndex(), ClearOption(), op_FillColor, and op_FillStyle.

void TGo4Picture::SetMarkerAtt (  Color_t    color,
Size_t    size,
Style_t    style,
Int_t    index = UndefIndex
) 
 

Definition at line 452 of file TGo4Picture.cxx.

References CheckIndex(), op_MarkerColor, op_MarkerSize, op_MarkerStyle, and SetOption().

void TGo4Picture::SetMarkerAtt (  TAttMarker *    marker,
Int_t    index = UndefIndex
) 
 

Definition at line 459 of file TGo4Picture.cxx.

References CheckIndex(), op_MarkerColor, op_MarkerSize, op_MarkerStyle, and SetOption().

void TGo4Picture::GetMarkerAtt (  TAttMarker *    marker,
Int_t    index = UndefIndex
) 
 

Definition at line 467 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), op_MarkerColor, op_MarkerSize, and op_MarkerStyle.

Referenced by DrawPictureObjects(), and TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearMarkerAtt (  Int_t    index = UndefIndex ) 
 

Definition at line 476 of file TGo4Picture.cxx.

References CheckIndex(), ClearOption(), op_MarkerColor, op_MarkerSize, and op_MarkerStyle.

void TGo4Picture::SetDrawOption (  Option_t *    option,
Int_t    index = UndefIndex
) 
 

Definition at line 854 of file TGo4Picture.cxx.

References CheckIndex(), ClearOption(), op_Draw, and SetStrOption().

Referenced by AddObjectDirectly(), AddObjName(), TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

Option_t * TGo4Picture::GetDrawOption (  Int_t    index = UndefIndex ) 
 

Definition at line 860 of file TGo4Picture.cxx.

References CheckIndex(), GetStrOption(), and op_Draw.

Referenced by DrawPictureObjects(), TGo4QPicItem::DrawSubPic(), and PrintPic().

void TGo4Picture::SetHistDrawStyle (  Int_t    zn,
Int_t    index = UndefIndex
) 
 

Definition at line 483 of file TGo4Picture.cxx.

References CheckIndex(), op_HistDraw, and SetOption().

void TGo4Picture::SetHistErrorStyle (  Int_t    zn,
Int_t    index = UndefIndex
) 
 

Definition at line 488 of file TGo4Picture.cxx.

References CheckIndex(), op_HistError, and SetOption().

void TGo4Picture::SetHistCoordStyle (  Int_t    zn,
Int_t    index = UndefIndex
) 
 

Definition at line 493 of file TGo4Picture.cxx.

References CheckIndex(), op_HistCoord, and SetOption().

Int_t TGo4Picture::GetHistDrawStyle (  Int_t    index = UndefIndex ) 
 

Definition at line 498 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), and op_HistDraw.

Referenced by TGo4QPicItem::DrawSubPic().

Int_t TGo4Picture::GetHistErrorStyle (  Int_t    index = UndefIndex ) 
 

Definition at line 505 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), and op_HistError.

Referenced by TGo4QPicItem::DrawSubPic().

Int_t TGo4Picture::GetHistCoordStyle (  Int_t    index = UndefIndex ) 
 

Definition at line 512 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), and op_HistCoord.

Referenced by TGo4QPicItem::DrawSubPic().

void TGo4Picture::ClearHistStyles (  Int_t    index = UndefIndex ) 
 

Definition at line 577 of file TGo4Picture.cxx.

References CheckIndex(), ClearOption(), op_HistCoord, op_HistDraw, and op_HistError.

void TGo4Picture::Draw (  Option_t *    option = "" )  [virtual]
 

Definition at line 1091 of file TGo4Picture.cxx.

References DrawHeader(), and DrawPic().

void TGo4Picture::Clear (  Option_t *    option = "" )  [virtual]
 

Definition at line 732 of file TGo4Picture.cxx.

References fiLastIndex, fiNDivX, fiNDivY, fiOptSize, fiPosX, fiPosY, fxNames, fxObjects, fxOptIndex, fxOptObjects, fxOptValue, and fxSubPictures.

Referenced by CapturePadData(), and UpdateFrom().

void TGo4Picture::Print (  Option_t *    option = "" )  const [virtual]
 

Definition at line 1128 of file TGo4Picture.cxx.

void TGo4Picture::AddObjName (  const char *    name,
Option_t *    DrawOption = 0
) 
 

Definition at line 212 of file TGo4Picture.cxx.

References fiLastIndex, fxNames, and SetDrawOption().

Referenced by AddObject(), AddObjName(), and UpdateFrom().

void TGo4Picture::AddObjName (  Int_t    posy,
Int_t    posx,
const char *    name,
Option_t *    DrawOption = 0
) 
 

Definition at line 223 of file TGo4Picture.cxx.

References AddObjName(), and Pic().

void TGo4Picture::AddObject (  TObject *    obj,
Option_t *    DrawOption = 0
) 
 

Definition at line 263 of file TGo4Picture.cxx.

References AddObjectDirectly(), and AddObjName().

Referenced by AddCondition(), AddGraph(), AddH1(), AddHStack(), CapturePadData(), TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4Picture::AddObject (  Int_t    posy,
Int_t    posx,
TObject *    obj,
Option_t *    DrawOption = 0
) 
 

Definition at line 270 of file TGo4Picture.cxx.

References AddObjectDirectly(), and AddObjName().

void TGo4Picture::Reset (    ) 
 

Definition at line 747 of file TGo4Picture.cxx.

References fxSubPictures, GetNumObjects(), GetObject(), and n.

Referenced by TGo4AnalysisObjectManager::ClearObject().

TVirtualPad * TGo4Picture::DrawHeader (  TVirtualPad *    pad ) 
 

Definition at line 1046 of file TGo4Picture.cxx.

References IsDrawHeader().

Referenced by Draw(), and TGo4QPicItem::DrawObj().

void TGo4Picture::UpdateFrom (  TGo4Picture *    source,
TClass *    selectedobjclass = 0
) 
 

Definition at line 674 of file TGo4Picture.cxx.

References AddObjectDirectly(), AddObjName(), AddSubPicture(), Clear(), fiNDivX, fiNDivY, fiOptSize, fiPosX, fiPosY, fxOptIndex, fxOptObjects, fxOptValue, fxSubPictures, GetNumObjects(), GetNumObjNames(), GetObject(), GetObjName(), and n.

Referenced by TGo4ComGetPicture::ExeCom(), TGo4AnalysisObjectManager::SetPicture(), TGo4Picture(), and TGo4QPicItem::UpdateOnline().

void TGo4Picture::UpdateObjectsContentFrom (  TGo4Picture *    source,
TVirtualPad *    pad = 0
) 
 

Definition at line 616 of file TGo4Picture.cxx.

References FindPic(), fxObjects, GetDivX(), GetDivY(), i, IsDivided(), and n.

void TGo4Picture::LocateObjectsFrom (  TFolder *    folder ) 
 

Definition at line 714 of file TGo4Picture.cxx.

References ClearObjects(), fxObjects, fxSubPictures, GetNumObjNames(), GetObjName(), and n.

Referenced by TGo4AnalysisObjectManager::AddPicture(), and TGo4AnalysisObjectManager::InitPictures().

void TGo4Picture::CapturePadData (  TVirtualPad *    pad,
bool    takeprop = false
) 
 

Definition at line 585 of file TGo4Picture.cxx.

References AddObject(), AddSubPicture(), Clear(), op_Padxlow, op_Padxup, op_Padylow, op_Padyup, PictureIndex, SetOptionD(), and TGo4Picture().

Int_t TGo4Picture::GetNumObjNames (    ) 
 

Definition at line 241 of file TGo4Picture.cxx.

References fxNames.

Referenced by TGo4QPicItem::DrawSubPic(), GetObjAttIndex(), IsObjNames(), LocateObjectsFrom(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateFrom().

const char * TGo4Picture::GetObjName (  Int_t    n ) 
 

Definition at line 256 of file TGo4Picture.cxx.

References fxNames, and n.

Referenced by TGo4QPicItem::DrawSubPic(), GetObjAttIndex(), LocateObjectsFrom(), PrintPic(), TGo4QPicItem::ScanPictureForObjRef(), and UpdateFrom().

Bool_t TGo4Picture::IsObjNames (    ) 
 

Definition at line 245 of file TGo4Picture.cxx.

References fxSubPictures, GetNumObjNames(), and n.

void TGo4Picture::AddObjectDirectly (  TObject *    obj,
Option_t *    DrawOption = 0
) 
 

Definition at line 277 of file TGo4Picture.cxx.

References fiLastIndex, fxObjects, and SetDrawOption().

Referenced by AddObject(), AddObjectDirectly(), and UpdateFrom().

void TGo4Picture::AddObjectDirectly (  Int_t    posy,
Int_t    posx,
TObject *    obj,
Option_t *    DrawOption = 0
) 
 

Definition at line 285 of file TGo4Picture.cxx.

References AddObjectDirectly(), and Pic().

void TGo4Picture::ClearObjects (  Bool_t    recursive = kFALSE ) 
 

Definition at line 290 of file TGo4Picture.cxx.

References fiLastIndex, fxObjects, fxSubPictures, and n.

Referenced by LocateObjectsFrom().

Int_t TGo4Picture::GetNumObjects (    ) 
 

Definition at line 303 of file TGo4Picture.cxx.

References fxObjects.

Referenced by DrawPictureObjects(), FindObject(), Reset(), and UpdateFrom().

TObject * TGo4Picture::GetObject (  Int_t    n ) 
 

Definition at line 307 of file TGo4Picture.cxx.

References fxObjects, and n.

Referenced by DrawPictureObjects(), FindObject(), Reset(), and UpdateFrom().

TObject * TGo4Picture::FindObject (  const char *    name ) 
 

Definition at line 312 of file TGo4Picture.cxx.

References GetNumObjects(), GetObject(), and n.

Referenced by TGo4QPicItem::DrawSubPic(), PrintPic(), and TGo4QPicItem::ScanPictureForObjRef().

void TGo4Picture::SetStyle (  TStyle *    style,
Int_t    index = UndefIndex
) 
 

Definition at line 865 of file TGo4Picture.cxx.

References CheckIndex(), op_Style, and SetObjOption().

TStyle * TGo4Picture::FindStyle (  Int_t    index = UndefIndex ) 
 

Definition at line 871 of file TGo4Picture.cxx.

References CheckIndex(), FindOptPos(), GetObjOption(), and op_Style.

Referenced by DrawPictureObjects(), and GetStyle().

TStyle * TGo4Picture::GetStyle (  Int_t    index = UndefIndex ) 
 

Definition at line 878 of file TGo4Picture.cxx.

References CheckIndex(), FindStyle(), op_Style, and SetObjOption().

void TGo4Picture::SetObjectsOwnership (  Bool_t    ownership ) 
 

Definition at line 319 of file TGo4Picture.cxx.

References fxObjects, fxSubPictures, and n.

Referenced by TGo4ComGetPicture::ExeCom().

Bool_t TGo4Picture::AppendHistStylesToString (  TString *    str,
Int_t    index = UndefIndex
) 
 

Definition at line 519 of file TGo4Picture.cxx.

References CheckIndex(), GetOption(), op_HistCoord, op_HistDraw, and op_HistError.

Referenced by DrawPictureObjects().

void TGo4Picture::AddSubPicture (  TGo4Picture *    pic )  [protected]
 

Definition at line 1135 of file TGo4Picture.cxx.

References fxSubPictures.

Referenced by CapturePadData(), and UpdateFrom().

Int_t TGo4Picture::GetObjAttIndex (  TObject *    obj )  [protected]
 

Definition at line 964 of file TGo4Picture.cxx.

References GetNumObjNames(), GetObjName(), n, and UndefIndex.

Referenced by DrawPictureObjects().

void TGo4Picture::DrawPictureObjects (  TVirtualPad *    pad )  [protected]
 

Definition at line 971 of file TGo4Picture.cxx.

References AppendHistStylesToString(), FindAxis(), FindStyle(), fxSubPictures, GetDrawOption(), GetFillAtt(), GetLineAtt(), GetLogScales(), GetMarkerAtt(), GetNumObjects(), GetObjAttIndex(), GetObject(), GetOptionD(), GetRangeX(), GetRangeY(), IsDivided(), n, op_Padxlow, op_Padxup, op_Padylow, op_Padyup, and PictureIndex.

Referenced by DrawPic().

void TGo4Picture::SetPosition (  Int_t    posy,
Int_t    posx
)  [protected]
 

Definition at line 170 of file TGo4Picture.cxx.

References fiPosX, and fiPosY.

Referenced by Pic().

Bool_t TGo4Picture::CheckPosition (  Int_t    posy,
Int_t    posx
)  [protected]
 

Definition at line 174 of file TGo4Picture.cxx.

References fiPosX, and fiPosY.

Referenced by FindPic().

Int_t TGo4Picture::FindOptPos (  Short_t    index,
Short_t    typ
)  [protected]
 

Definition at line 761 of file TGo4Picture.cxx.

References fiOptSize, fxOptIndex, and i.

Referenced by ClearOption(), FindStyle(), GetObjOption(), GetOption(), SetObjOption(), and SetOption().

Int_t TGo4Picture::ExtendOptPos (  Short_t    index,
Short_t    typ
)  [protected]
 

Definition at line 768 of file TGo4Picture.cxx.

References fiOptSize, fxOptIndex, and fxOptValue.

Referenced by SetObjOption(), and SetOption().

void TGo4Picture::SetOption (  Short_t    index,
Short_t    typ,
Long_t    value
)  [protected]
 

Definition at line 779 of file TGo4Picture.cxx.

References ExtendOptPos(), FindOptPos(), fxOptValue, and op_ObjsBound.

Referenced by SetDrawHeader(), SetFillAtt(), SetHistCoordStyle(), SetHistDrawStyle(), SetHistErrorStyle(), SetLineAtt(), SetLogScale(), SetMarkerAtt(), SetOptionD(), and SetOptionF().

Bool_t TGo4Picture::GetOption (  Short_t    index,
Short_t    typ,
Long_t &    value
)  [protected]
 

Definition at line 786 of file TGo4Picture.cxx.

References FindOptPos(), fxOptValue, and op_ObjsBound.

Referenced by AppendHistStylesToString(), GetFillAtt(), GetHistCoordStyle(), GetHistDrawStyle(), GetHistErrorStyle(), GetLineAtt(), GetLogScale(), GetLogScales(), GetMarkerAtt(), GetOptionD(), GetOptionF(), and IsDrawHeader().

void TGo4Picture::SetOptionF (  Short_t    index,
Short_t    typ,
Float_t    value
)  [protected]
 

Definition at line 794 of file TGo4Picture.cxx.

References SetOption().

Bool_t TGo4Picture::GetOptionF (  Short_t    index,
Short_t    typ,
Float_t &    value
)  [protected]
 

Definition at line 798 of file TGo4Picture.cxx.

References GetOption().

void TGo4Picture::SetOptionD (  Short_t    index,
Short_t    typ,
Double_t    value
)  [protected]
 

Definition at line 805 of file TGo4Picture.cxx.

References SetOption().

Referenced by CapturePadData(), SetRangeX(), and SetRangeY().

Bool_t TGo4Picture::GetOptionD (  Short_t    index,
Short_t    typ,
Double_t &    value
)  [protected]
 

Definition at line 810 of file TGo4Picture.cxx.

References GetOption().

Referenced by DrawPictureObjects(), GetRangeX(), and GetRangeY().

void TGo4Picture::SetObjOption (  Short_t    index,
Short_t    typ,
TObject *    obj
)  [protected]
 

Definition at line 817 of file TGo4Picture.cxx.

References ExtendOptPos(), FindOptPos(), fxOptObjects, fxOptValue, and op_ObjsBound.

Referenced by GetStyle(), SetStrOption(), and SetStyle().

TObject * TGo4Picture::GetObjOption (  Short_t    index,
Short_t    typ
)  [protected]
 

Definition at line 836 of file TGo4Picture.cxx.

References FindOptPos(), fxOptObjects, fxOptValue, and op_ObjsBound.

Referenced by FindStyle(), and GetStrOption().

void TGo4Picture::SetStrOption (  Short_t    index,
Short_t    typ,
const char *    value
)  [protected]
 

Definition at line 843 of file TGo4Picture.cxx.

References SetObjOption().

Referenced by SetDrawOption().

const char * TGo4Picture::GetStrOption (  Short_t    index,
Short_t    typ
)  [protected]
 

Definition at line 848 of file TGo4Picture.cxx.

References GetObjOption().

Referenced by GetDrawOption().

void TGo4Picture::ClearOption (  Short_t    index,
Short_t    typ
)  [protected]
 

Definition at line 888 of file TGo4Picture.cxx.

References FindOptPos().

Referenced by ClearAllOptions(), ClearFillAtt(), ClearHistStyles(), ClearLineAtt(), ClearLogScales(), ClearMarkerAtt(), ClearRangeX(), ClearRangeY(), and SetDrawOption().

void TGo4Picture::ClearOption (  Int_t    pos )  [protected]
 

Definition at line 892 of file TGo4Picture.cxx.

References fiOptSize, fxOptIndex, fxOptObjects, fxOptValue, i, and op_ObjsBound.

void TGo4Picture::ClearAllOptions (  Short_t    index = UndefIndex )  [protected]
 

Definition at line 923 of file TGo4Picture.cxx.

References ClearOption(), fiOptSize, fxOptIndex, fxOptObjects, and fxOptValue.

TAxis * TGo4Picture::FindAxis (  TVirtualPad *    pad,
Int_t    num
)  [protected]
 

Definition at line 939 of file TGo4Picture.cxx.

Referenced by DrawPictureObjects().

void TGo4Picture::CheckIndex (  Int_t &    index )  [protected]
 

Definition at line 916 of file TGo4Picture.cxx.

References fiLastIndex, PictureIndex, and UndefIndex.

Referenced by AppendHistStylesToString(), ClearFillAtt(), ClearHistStyles(), ClearLineAtt(), ClearMarkerAtt(), FindStyle(), GetDrawOption(), GetFillAtt(), GetHistCoordStyle(), GetHistDrawStyle(), GetHistErrorStyle(), GetLineAtt(), GetMarkerAtt(), GetStyle(), SetDrawOption(), SetFillAtt(), SetHistCoordStyle(), SetHistDrawStyle(), SetHistErrorStyle(), SetLineAtt(), SetMarkerAtt(), and SetStyle().

void TGo4Picture::DrawPic (  TVirtualPad *    pad )  [protected]
 

Definition at line 1079 of file TGo4Picture.cxx.

References DrawPictureObjects(), FindPic(), GetDivX(), GetDivY(), and IsDivided().

Referenced by Draw().

void TGo4Picture::PrintPic (  int    shift )  [protected]
 

Definition at line 1100 of file TGo4Picture.cxx.

References FindObject(), FindPic(), GetDivX(), GetDivY(), GetDrawOption(), GetNumObjNames(), GetObjName(), IsDivided(), and n.


Member Data Documentation

Int_t TGo4Picture::fiNDivX [private]
 

Definition at line 243 of file TGo4Picture.h.

Referenced by Clear(), GetDivX(), SetDivision(), and UpdateFrom().

Int_t TGo4Picture::fiNDivY [private]
 

Definition at line 244 of file TGo4Picture.h.

Referenced by Clear(), GetDivY(), SetDivision(), and UpdateFrom().

Int_t TGo4Picture::fiPosX [private]
 

Definition at line 246 of file TGo4Picture.h.

Referenced by CheckPosition(), Clear(), SetPosition(), and UpdateFrom().

Int_t TGo4Picture::fiPosY [private]
 

Definition at line 247 of file TGo4Picture.h.

Referenced by CheckPosition(), Clear(), SetPosition(), and UpdateFrom().

TObjArray* TGo4Picture::fxNames [private]
 

Definition at line 249 of file TGo4Picture.h.

Referenced by AddObjName(), Clear(), ClearObjNames(), GetNumObjNames(), GetObjName(), and ~TGo4Picture().

TObjArray* TGo4Picture::fxObjects [private]
 

Definition at line 251 of file TGo4Picture.h.

Referenced by AddObjectDirectly(), Clear(), ClearObjects(), GetNumObjects(), GetObject(), LocateObjectsFrom(), SetObjectsOwnership(), UpdateObjectsContentFrom(), and ~TGo4Picture().

TObjArray* TGo4Picture::fxSubPictures [private]
 

Definition at line 253 of file TGo4Picture.h.

Referenced by AddSubPicture(), Clear(), ClearObjects(), ClearObjNames(), DrawPictureObjects(), FindPic(), IsObjNames(), LocateObjectsFrom(), Pic(), Reset(), SetObjectsOwnership(), UpdateFrom(), and ~TGo4Picture().

Int_t TGo4Picture::fiOptSize [private]
 

Definition at line 255 of file TGo4Picture.h.

Referenced by Clear(), ClearAllOptions(), ClearOption(), ExtendOptPos(), FindOptPos(), and UpdateFrom().

TArrayL TGo4Picture::fxOptIndex [private]
 

Definition at line 256 of file TGo4Picture.h.

Referenced by Clear(), ClearAllOptions(), ClearOption(), ExtendOptPos(), FindOptPos(), and UpdateFrom().

TArrayL TGo4Picture::fxOptValue [private]
 

Definition at line 257 of file TGo4Picture.h.

Referenced by Clear(), ClearAllOptions(), ClearOption(), ExtendOptPos(), GetObjOption(), GetOption(), SetObjOption(), SetOption(), and UpdateFrom().

TObjArray* TGo4Picture::fxOptObjects [private]
 

Definition at line 258 of file TGo4Picture.h.

Referenced by Clear(), ClearAllOptions(), ClearOption(), GetObjOption(), SetObjOption(), UpdateFrom(), and ~TGo4Picture().

Int_t TGo4Picture::fiLastIndex [private]
 

Definition at line 260 of file TGo4Picture.h.

Referenced by AddObjectDirectly(), AddObjName(), CheckIndex(), Clear(), ClearObjects(), ClearObjNames(), and SetSelectedIndex().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:49 2005 for Go4-v2.10-5 by doxygen1.2.15