12#ifndef ROOT_TGraphTime
13#define ROOT_TGraphTime
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
TGraphTime is used to draw a set of objects evolving with nsteps in time between tmin and tmax.
void Animate(Bool_t enable=kTRUE)
Start animation of TGraphTime.
virtual Int_t Add(const TObject *obj, Int_t slot, Option_t *option="")
Add one object to a time slot.
Double_t fXmin
Minimum for X axis.
void Paint(Option_t *chopt="") override
Paint all objects added to each time step.
Int_t fSleepTime
Time (msec) to wait between time steps.
virtual void SetSleepTime(Int_t stime=0)
Int_t fAnimateCnt
! counter used in Animate() method
~TGraphTime() override
GraphTime default destructor.
TH1 * fFrame
TH1 object used for the pad range.
Double_t fYmin
Minimum for Y axis.
TObjArray * GetSteps() const
virtual void SaveAnimatedGif(const char *filename="") const
Save this object to filename as an animated gif file if filename is specified it must be of the form ...
Double_t fXmax
Maximum for X axis.
TTimer * fAnimateTimer
! timer to implement animation
Bool_t DrawStep(Int_t nstep) const
Draw single step.
TGraphTime()
default constructor.
Double_t fYmax
Maximum for Y axis.
TObjArray * fSteps
Array of TLists for each time step.
Bool_t HandleTimer(TTimer *) override
Method used for implementing animation of TGraphTime.
Int_t fNsteps
Number of time steps.
TH1 is the base class of all histogram classes in ROOT.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
Handles synchronous and a-synchronous timer events.