KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
A TBox representing a nucleus in a KVNuclearChart.
Created by KVClassFactory on Sat Nov 24 11:07:04 2012 Author: gruyer,,,
Definition at line 18 of file KVNucleusBox.h.
Public Member Functions | |
KVNucleusBox (const KVNucleusBox &) | |
KVNucleusBox (Int_t Z, Int_t N, Double_t size=0.4, Int_t colStable=kBlack, Int_t colRadio=kGray+1) | |
Constructor with Z,N of a Nucleus. More... | |
KVNucleusBox (KVNucleus *nuc, Double_t size=0.4, Bool_t owner=kTRUE) | |
Constructor with Z,N of a Nucleus. More... | |
virtual | ~KVNucleusBox () |
Destructor. More... | |
void | Copy (TObject &) const |
virtual void | Delete (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
void | EnableToolTip () |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Int_t | GetShowSymbol () |
virtual void | Inspect () const |
void | Paint (Option_t *option="") |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
void | SetDrawMode (Bool_t DrawSame) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetFillAttributes () |
virtual void | SetLineAttributes () |
void | SetNuclearChart (KVNuclearChart *nuclearchart) |
void | SetShowSymbol (Bool_t value=kTRUE) |
void | SetSymbolSize (Float_t size=0.02) |
Public Member Functions inherited from TBox | |
TBox () | |
TBox (const TBox &box) | |
TBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2) | |
virtual | ~TBox () |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual TBox * | DrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual Rectangle_t | GetBBox () |
virtual TPoint | GetBBoxCenter () |
Double_t | GetX1 () const |
Double_t | GetX2 () const |
Double_t | GetY1 () const |
Double_t | GetY2 () const |
virtual void | HideToolTip (Int_t event) |
Bool_t | IsBeingResized () const |
virtual Int_t | IsInside (Double_t x, Double_t y) const |
virtual void | ls (Option_t *option="") const |
TBox & | operator= (const TBox &) |
virtual void | PaintBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="") |
virtual void | Print (Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
virtual void | SetBBoxCenter (const TPoint &p) |
virtual void | SetBBoxCenterX (const Int_t x) |
virtual void | SetBBoxCenterY (const Int_t y) |
virtual void | SetBBoxX1 (const Int_t x) |
virtual void | SetBBoxX2 (const Int_t x) |
virtual void | SetBBoxY1 (const Int_t y) |
virtual void | SetBBoxY2 (const Int_t y) |
virtual void | SetToolTipText (const char *text, Long_t delayms=1000) |
virtual void | SetX1 (Double_t x1) |
virtual void | SetX2 (Double_t x2) |
virtual void | SetY1 (Double_t y1) |
virtual void | SetY2 (Double_t y2) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
virtual void | Browse (TBrowser *b) |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
virtual Int_t | Compare (const TObject *obj) const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual const char * | GetName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
virtual ULong_t | Hash () const |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
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) |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetUniqueID (UInt_t uid) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Public Member Functions inherited from TAttLine | |
TAttLine () | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
virtual | ~TAttLine () |
void | Copy (TAttLine &attline) const |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
virtual void | ResetAttLine (Option_t *option="") |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
virtual void | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
Public Member Functions inherited from TAttFill | |
TAttFill () | |
TAttFill (Color_t fcolor, Style_t fstyle) | |
virtual | ~TAttFill () |
void | Copy (TAttFill &attfill) const |
virtual Color_t | GetFillColor () const |
virtual Style_t | GetFillStyle () const |
virtual Bool_t | IsTransparent () const |
virtual void | Modify () |
virtual void | ResetAttFill (Option_t *option="") |
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
virtual void | SetFillColor (Color_t fcolor) |
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
virtual void | SetFillStyle (Style_t fstyle) |
Public Member Functions inherited from TAttBBox2D | |
virtual | ~TAttBBox2D () |
Protected Attributes | |
Int_t | fA |
Bool_t | fDrawSame |
Int_t | fN |
KVNuclearChart * | fNuclearChart |
KVNucleus * | fNucleus |
Bool_t | fOwnNucleus |
Bool_t | fShowSymbol |
TLatex | fSymbol |
Int_t | fZ |
Protected Attributes inherited from TBox | |
Bool_t | fResizing |
Double_t | fX1 |
Double_t | fX2 |
Double_t | fY1 |
Double_t | fY2 |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
Protected Attributes inherited from TAttLine | |
Color_t | fLineColor |
Style_t | fLineStyle |
Width_t | fLineWidth |
Protected Attributes inherited from TAttFill | |
Color_t | fFillColor |
Style_t | fFillStyle |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from TObject | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TBox | |
kCannotMove | |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
#include <KVNucleusBox.h>
KVNucleusBox::KVNucleusBox | ( | Int_t | Z, |
Int_t | N, | ||
Double_t | size = 0.4 , |
||
Int_t | colStable = kBlack , |
||
Int_t | colRadio = kGray + 1 |
||
) |
Constructor with Z,N of a Nucleus.
Definition at line 19 of file KVNucleusBox.cpp.
Constructor with Z,N of a Nucleus.
Definition at line 69 of file KVNucleusBox.cpp.
KVNucleusBox::KVNucleusBox | ( | const KVNucleusBox & | obj | ) |
Copy constructor This ctor is used to make a copy of an existing object (for example when a method returns an object), and it is always a good idea to implement it. If your class allocates memory in its constructor(s) then it is ESSENTIAL :-)
Definition at line 124 of file KVNucleusBox.cpp.
|
virtual |
Destructor.
Definition at line 140 of file KVNucleusBox.cpp.
This method copies the current state of 'this' object into 'obj' You should add here any member variables, for example: (supposing a member variable KVNucleusBox::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );
Reimplemented from TBox.
Definition at line 157 of file KVNucleusBox.cpp.
Reimplemented from TObject.
Definition at line 54 of file KVNucleusBox.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 58 of file KVNucleusBox.h.
Reimplemented from TObject.
Definition at line 62 of file KVNucleusBox.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 66 of file KVNucleusBox.h.
void KVNucleusBox::EnableToolTip | ( | ) |
Definition at line 57 of file KVNucleusBox.cpp.
Reimplemented from TBox.
Definition at line 174 of file KVNucleusBox.cpp.
|
inline |
Definition at line 44 of file KVNucleusBox.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 71 of file KVNucleusBox.h.
Reimplemented from TBox.
Definition at line 201 of file KVNucleusBox.cpp.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 75 of file KVNucleusBox.h.
Definition at line 106 of file KVNucleusBox.cpp.
Reimplemented from TObject.
Definition at line 79 of file KVNucleusBox.h.
|
inlinevirtual |
Reimplemented from TAttFill.
Definition at line 88 of file KVNucleusBox.h.
|
inlinevirtual |
Reimplemented from TAttLine.
Definition at line 84 of file KVNucleusBox.h.
|
inline |
Definition at line 38 of file KVNucleusBox.h.
Definition at line 192 of file KVNucleusBox.cpp.
Definition at line 49 of file KVNucleusBox.h.
|
protected |
Definition at line 20 of file KVNucleusBox.h.
|
protected |
Definition at line 21 of file KVNucleusBox.h.
|
protected |
Definition at line 20 of file KVNucleusBox.h.
|
protected |
Definition at line 25 of file KVNucleusBox.h.
|
protected |
Definition at line 24 of file KVNucleusBox.h.
|
protected |
Definition at line 22 of file KVNucleusBox.h.
|
protected |
Definition at line 23 of file KVNucleusBox.h.
|
protected |
Definition at line 26 of file KVNucleusBox.h.
|
protected |
Definition at line 20 of file KVNucleusBox.h.