#include <TPieSlice.h>
Inheritance diagram for TPieSlice:
Public Member Functions | |
TPieSlice () | |
TPieSlice (const char *, const char *, TPie *, Double_t val=0) | |
virtual | ~TPieSlice () |
virtual Int_t | DistancetoPrimitive (Int_t, Int_t) |
Double_t | GetRadiusOffset () |
Double_t | GetValue () |
void | SavePrimitive (ostream &out, Option_t *opts="") |
void | SetIsActive (Bool_t is) |
void | SetRadiusOffset (Double_t) |
void | SetValue (Double_t) |
TPieSlice () | |
TPieSlice (const char *, const char *, TPie *, Double_t val=0) | |
virtual | ~TPieSlice () |
virtual Int_t | DistancetoPrimitive (Int_t, Int_t) |
Double_t | GetRadiusOffset () |
Double_t | GetValue () |
void | SavePrimitive (ostream &out, Option_t *opts="") |
void | SetIsActive (Bool_t is) |
void | SetRadiusOffset (Double_t) |
void | SetValue (Double_t) |
Protected Attributes | |
TPie * | fPie |
True if is the slice under the mouse pointer. | |
Double_t | fValue |
Double_t | fRadiusOffset |
TPie * | fPie |
True if is the slice under the mouse pointer. | |
Private Attributes | |
Bool_t | fIsActive |
Friends | |
class | TPie |
Definition at line 30 of file TPieSlice.h.
TPieSlice::TPieSlice | ( | ) |
Definition at line 46 of file TPieSlice.cxx.
References fIsActive, fPie, fRadiusOffset, fValue, and kFALSE.
virtual TPieSlice::~TPieSlice | ( | ) | [inline, virtual] |
Definition at line 43 of file TPieSlice.h.
TPieSlice::TPieSlice | ( | ) |
virtual TPieSlice::~TPieSlice | ( | ) | [inline, virtual] |
Definition at line 43 of file TPieSlice.h.
Reimplemented from TObject.
Definition at line 60 of file TPieSlice.cxx.
References ROOT::Math::gv_detail::dist(), fIsActive, gPad, kFALSE, and kHand.
Double_t TPieSlice::GetRadiusOffset | ( | ) |
Definition at line 77 of file TPieSlice.cxx.
References fRadiusOffset.
Referenced by TPie::DistancetoSlice(), TPie::DrawGhost(), TPie::ExecuteEvent(), TPie::GetEntryRadiusOffset(), TPie::Paint(), TPie::SavePrimitive(), and TPieSliceEditor::SetModel().
Double_t TPieSlice::GetValue | ( | ) |
Definition at line 86 of file TPieSlice.cxx.
References fValue.
Referenced by TPie::GetEntryVal(), TPie::MakeSlices(), TPie::Paint(), TPie::SavePrimitive(), TPieSliceEditor::SetModel(), and TPie::SortSlices().
void TPieSlice::SavePrimitive | ( | ostream & | out, | |
Option_t * | opts = "" | |||
) | [virtual] |
void TPieSlice::SetIsActive | ( | Bool_t | is | ) | [inline] |
Definition at line 49 of file TPieSlice.h.
References fIsActive.
Referenced by TPie::DistancetoSlice().
void TPieSlice::SetRadiusOffset | ( | Double_t | ) |
Definition at line 102 of file TPieSlice.cxx.
References fRadiusOffset.
Referenced by TPieSliceEditor::DoOffset(), TPie::ExecuteEvent(), TPie::Init(), and TPie::SetEntryRadiusOffset().
void TPieSlice::SetValue | ( | Double_t | ) |
Definition at line 112 of file TPieSlice.cxx.
References fPie, fValue, kTRUE, TPie::MakeSlices(), and TObject::Warning().
Referenced by TPieSliceEditor::DoValue(), TPie::MakeSlices(), piechart(), and TPie::SetEntryVal().
Reimplemented from TObject.
Double_t TPieSlice::GetRadiusOffset | ( | ) |
Double_t TPieSlice::GetValue | ( | ) |
void TPieSlice::SavePrimitive | ( | ostream & | out, | |
Option_t * | opts = "" | |||
) | [virtual] |
Reimplemented from TObject.
void TPieSlice::SetIsActive | ( | Bool_t | is | ) | [inline] |
void TPieSlice::SetRadiusOffset | ( | Double_t | ) |
void TPieSlice::SetValue | ( | Double_t | ) |
TPie [friend] |
Definition at line 53 of file TPieSlice.h.
Bool_t TPieSlice::fIsActive [private] |
Definition at line 33 of file TPieSlice.h.
Referenced by DistancetoPrimitive(), SetIsActive(), and TPieSlice().
TPie* TPieSlice::fPie [protected] |
True if is the slice under the mouse pointer.
Definition at line 36 of file TPieSlice.h.
Referenced by SetValue(), and TPieSlice().
Double_t TPieSlice::fValue [protected] |
Double_t TPieSlice::fRadiusOffset [protected] |
Definition at line 38 of file TPieSlice.h.
Referenced by GetRadiusOffset(), SetRadiusOffset(), and TPieSlice().
TPie* TPieSlice::fPie [protected] |