|
| TPie () |
| Default constructor.
|
|
| TPie (const char *, const char *, Int_t) |
| This constructor creates a pie chart when only the number of the slices is known.
|
|
| TPie (const char *, const char *, Int_t, Double_t *, Int_t *cols=nullptr, const char *lbls[]=nullptr) |
| Normal constructor.
|
|
| TPie (const char *, const char *, Int_t, Float_t *, Int_t *cols=nullptr, const char *lbls[]=nullptr) |
| Normal constructor (Float_t).
|
|
| TPie (const TH1 *h) |
| Constructor from a TH1.
|
|
| TPie (const TPie &) |
| Copy constructor.
|
|
| ~TPie () override |
| Destructor.
|
|
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
| Evaluate the distance to the chart in gPad.
|
|
Int_t | DistancetoSlice (Int_t, Int_t) |
| Returns the slice number at the pixel position (px,py).
|
|
void | Draw (Option_t *option="l") override |
| Draw the pie chart.
|
|
void | ExecuteEvent (Int_t, Int_t, Int_t) override |
| Execute the mouse events.
|
|
Float_t | GetAngle3D () |
|
Double_t | GetAngularOffset () |
|
Int_t | GetEntries () |
|
Int_t | GetEntryFillColor (Int_t) |
| Return the color of the slice number "i".
|
|
Int_t | GetEntryFillStyle (Int_t) |
| Return the style use to fill the slice number "i".
|
|
const char * | GetEntryLabel (Int_t) |
| Returns the label of the entry number "i".
|
|
Int_t | GetEntryLineColor (Int_t) |
| Return the line color used to outline thi "i" slice.
|
|
Int_t | GetEntryLineStyle (Int_t) |
| Return the style used to outline thi "i" slice.
|
|
Int_t | GetEntryLineWidth (Int_t) |
| Return the line width used to outline thi "i" slice.
|
|
Double_t | GetEntryRadiusOffset (Int_t) |
| Return the radial offset's value for the slice number "i".
|
|
Double_t | GetEntryVal (Int_t) |
| Return the value associated with the slice number "i".
|
|
const char * | GetFractionFormat () |
|
Double_t | GetHeight () |
|
const char * | GetLabelFormat () |
|
Float_t | GetLabelsOffset () |
|
TLegend * | GetLegend () |
| If created before by Paint option or by MakeLegend method return the pointer to the legend, otherwise return 0;.
|
|
const char * | GetPercentFormat () |
|
Double_t | GetRadius () |
|
TPieSlice * | GetSlice (Int_t i) |
| Return the reference to the slice of index 'id'.
|
|
const char * | GetValueFormat () |
|
Double_t | GetX () |
|
Double_t | GetY () |
|
TClass * | IsA () const override |
|
TLegend * | MakeLegend (Double_t x1=.65, Double_t y1=.65, Double_t x2=.95, Double_t y2=.95, const char *leg_header="") |
| This method create a legend that explains the contents of the slice for this pie-chart.
|
|
void | MakeSlices (Bool_t force=kFALSE) |
| Make the slices.
|
|
void | Paint (Option_t *) override |
| Paint a Pie chart in a canvas.
|
|
void | SavePrimitive (std::ostream &out, Option_t *opts="") override |
| Save primitive as a C++ statement(s) on output stream out.
|
|
void | SetAngle3D (Float_t val=30.) |
| Set the value of for the pseudo 3D view angle, in degree.
|
|
void | SetAngularOffset (Double_t) |
| Set the global angular offset for slices in degree [0,360].
|
|
void | SetCircle (Double_t x=.5, Double_t y=.5, Double_t rad=.4) |
| Set the coordinates of the circle that describe the pie:
|
|
void | SetEntryFillColor (Int_t, Int_t) |
| Set the color for the slice "i".
|
|
void | SetEntryFillStyle (Int_t, Int_t) |
| Set the fill style for the "i" slice.
|
|
void | SetEntryLabel (Int_t, const char *text="Slice") |
| Set slice number "i" label.
|
|
void | SetEntryLineColor (Int_t, Int_t) |
| Set the color for the slice's outline. "i" is the slice number.
|
|
void | SetEntryLineStyle (Int_t, Int_t) |
| Set the style for the slice's outline. "i" is the slice number.
|
|
void | SetEntryLineWidth (Int_t, Int_t) |
| Set the width of the slice's outline. "i" is the slice number.
|
|
void | SetEntryRadiusOffset (Int_t, Double_t) |
| Set the distance, in the direction of the radius of the slice.
|
|
void | SetEntryVal (Int_t, Double_t) |
| Set the value of a slice.
|
|
void | SetFillColors (Int_t *) |
| Set the fill colors for all the TPie's slices.
|
|
void | SetFractionFormat (const char *) |
| Set numeric format in the label, is used if the label format there is the modifier frac, in this case the value is printed using this format.
|
|
void | SetHeight (Double_t val=.08) |
| Set the height, in pixel, for the piechart if is drawn using the pseudo-3d mode.
|
|
void | SetLabelFormat (const char *) |
| This method is used to customize the label format.
|
|
void | SetLabels (const char *[]) |
| Set the labels for all the slices.
|
|
void | SetLabelsOffset (Float_t) |
| Set the distance between the label end the external line of the TPie.
|
|
void | SetPercentFormat (const char *) |
| Set the numeric format for the percent value of a slice, default: %3.1f.
|
|
void | SetRadius (Double_t) |
| Set the pie chart's radius' value.
|
|
void | SetValueFormat (const char *) |
| Set the numeric format the slices' values.
|
|
void | SetX (Double_t) |
| Set X value.
|
|
void | SetY (Double_t) |
| Set Y value.
|
|
void | SortSlices (Bool_t amode=kTRUE, Float_t merge_thresold=.0) |
| This method, mainly intended for internal use, ordered the slices according their values.
|
|
void | Streamer (TBuffer &) override |
| Stream an object of class TObject.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TNamed () |
|
| TNamed (const char *name, const char *title) |
|
| TNamed (const TNamed &named) |
| TNamed copy ctor.
|
|
| TNamed (const TString &name, const TString &title) |
|
virtual | ~TNamed () |
| TNamed destructor.
|
|
void | Clear (Option_t *option="") override |
| Set name and title to empty strings ("").
|
|
TObject * | Clone (const char *newname="") const override |
| Make a clone of an object using the Streamer facility.
|
|
Int_t | Compare (const TObject *obj) const override |
| Compare two TNamed objects.
|
|
void | Copy (TObject &named) const override |
| Copy this to obj.
|
|
virtual void | FillBuffer (char *&buffer) |
| Encode TNamed into output buffer.
|
|
const char * | GetName () const override |
| Returns name of object.
|
|
const char * | GetTitle () const override |
| Returns title of object.
|
|
ULong_t | Hash () const override |
| Return hash value for this object.
|
|
Bool_t | IsSortable () const override |
|
void | ls (Option_t *option="") const override |
| List TNamed name and title.
|
|
TNamed & | operator= (const TNamed &rhs) |
| TNamed assignment operator.
|
|
void | Print (Option_t *option="") const override |
| Print TNamed name and title.
|
|
virtual void | SetName (const char *name) |
| Set the name of the TNamed.
|
|
virtual void | SetNameTitle (const char *name, const char *title) |
| Set all the TNamed parameters (name and title).
|
|
virtual void | SetTitle (const char *title="") |
| Set the title of the TNamed.
|
|
virtual Int_t | Sizeof () const |
| Return size of the TNamed part of the TObject.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TObject () |
| TObject constructor.
|
|
| TObject (const TObject &object) |
| TObject copy ctor.
|
|
virtual | ~TObject () |
| TObject destructor.
|
|
void | AbstractMethod (const char *method) const |
| Use this method to implement an "abstract" method that you don't want to leave purely abstract.
|
|
virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad.
|
|
virtual void | Browse (TBrowser *b) |
| Browse object. May be overridden for another default action.
|
|
ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
|
|
virtual const char * | ClassName () const |
| Returns name of class to which the object belongs.
|
|
virtual void | Delete (Option_t *option="") |
| Delete this object.
|
|
virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs.
|
|
virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) .
|
|
virtual void | Dump () const |
| Dump contents of object on stdout.
|
|
virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message.
|
|
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g.
|
|
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray.
|
|
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message.
|
|
virtual TObject * | FindObject (const char *name) const |
| Must be redefined in derived classes.
|
|
virtual TObject * | FindObject (const TObject *obj) const |
| Must be redefined in derived classes.
|
|
virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object.
|
|
virtual const char * | GetIconName () const |
| Returns mime type name of object.
|
|
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| Returns string containing info about the object at position (px,py).
|
|
virtual Option_t * | GetOption () const |
|
virtual UInt_t | GetUniqueID () const |
| Return the unique object id.
|
|
virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out.
|
|
Bool_t | HasInconsistentHash () const |
| Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
|
|
virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message.
|
|
virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname".
|
|
virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl.
|
|
virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas.
|
|
void | InvertBit (UInt_t f) |
|
Bool_t | IsDestructed () const |
| IsDestructed.
|
|
virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory).
|
|
virtual Bool_t | IsFolder () const |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
|
|
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
|
R__ALWAYS_INLINE Bool_t | IsZombie () const |
|
void | MayNotUse (const char *method) const |
| Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
|
|
virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op).
|
|
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete.
|
|
void | operator delete (void *ptr) |
| Operator delete.
|
|
void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception.
|
|
void | operator delete[] (void *ptr) |
| Operator delete [].
|
|
void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception.
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *vp) |
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, void *vp) |
|
TObject & | operator= (const TObject &rhs) |
| TObject assignment operator.
|
|
virtual void | Pop () |
| Pop on object drawn in a pad to the top of the display list.
|
|
virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory.
|
|
virtual void | RecursiveRemove (TObject *obj) |
| Recursively remove this object from a list.
|
|
void | ResetBit (UInt_t f) |
|
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| Save this object in the file specified by filename.
|
|
void | SetBit (UInt_t f) |
|
void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f.
|
|
virtual void | SetDrawOption (Option_t *option="") |
| Set drawing option for object.
|
|
virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message.
|
|
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
|
Int_t | TestBits (UInt_t f) const |
|
virtual void | UseCurrentStyle () |
| Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
|
|
virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory.
|
|
| TAttText () |
| AttText default constructor.
|
|
| TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) |
| AttText normal constructor.
|
|
virtual | ~TAttText () |
| AttText destructor.
|
|
void | Copy (TAttText &atttext) const |
| Copy this text attributes to a new TAttText.
|
|
virtual Short_t | GetTextAlign () const |
| Return the text alignment.
|
|
virtual Float_t | GetTextAngle () const |
| Return the text angle.
|
|
virtual Color_t | GetTextColor () const |
| Return the text color.
|
|
virtual Font_t | GetTextFont () const |
| Return the text font.
|
|
virtual Float_t | GetTextSize () const |
| Return the text size.
|
|
virtual Float_t | GetTextSizePercent (Float_t size) |
| Return the text in percent of the pad size.
|
|
virtual void | Modify () |
| Change current text attributes if necessary.
|
|
virtual void | ResetAttText (Option_t *toption="") |
| Reset this text attributes to default values.
|
|
virtual void | SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1) |
| Save text attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetTextAlign (Short_t align=11) |
| Set the text alignment.
|
|
virtual void | SetTextAngle (Float_t tangle=0) |
| Set the text angle.
|
|
virtual void | SetTextAttributes () |
| Invoke the DialogCanvas Text attributes.
|
|
virtual void | SetTextColor (Color_t tcolor=1) |
| Set the text color.
|
|
virtual void | SetTextColorAlpha (Color_t tcolor, Float_t talpha) |
| Set a transparent text color.
|
|
virtual void | SetTextFont (Font_t tfont=62) |
| Set the text font.
|
|
virtual void | SetTextSize (Float_t tsize=1) |
| Set the text size.
|
|
virtual void | SetTextSizePixels (Int_t npixels) |
| Set the text size in pixel.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|