Internal class implementing mouse click/move/relase editing Used for many classes like line, arrow, arc, pad, paves, ...
Definition at line 55 of file TCreatePrimitives.cxx.
Public Member Functions | |
| TTwoPointInteractive (Int_t mode, Double_t x0, Double_t y0, Int_t px0, Int_t py0) | |
| TObject * | GetObject () const |
| template<typename T , typename... Rest> | |
| T * | Make (TPad &parent, Rest &&... rest) |
| template<class T > | |
| void | SetCoord (T *obj, Double_t x, Double_t y) |
| void | SetObject (TObject *obj) |
Public Attributes | |
| Int_t | fMode = 0 |
| edit mode when interactive action started | |
| TObject * | fObject = nullptr |
| object created by interactive action, owned by pad | |
| Int_t | fPX0 = 0 |
| Int_t | fPY0 = 0 |
| initial mouse pointer position in pixel coordiantes | |
| Double_t | fX0 = 0 |
| Double_t | fY0 = 0 |
| initial mouse pointer position in user coordiantes | |
|
inline |
Definition at line 58 of file TCreatePrimitives.cxx.
|
inlineinherited |
Definition at line 79 of file TVirtualPad.h.
|
inline |
Definition at line 68 of file TCreatePrimitives.cxx.
Definition at line 86 of file TCreatePrimitives.cxx.
|
inlineinherited |
Definition at line 78 of file TVirtualPad.h.
| Int_t TTwoPointInteractive::fMode = 0 |
edit mode when interactive action started
Definition at line 94 of file TCreatePrimitives.cxx.
| TObject* TTwoPointInteractive::fObject = nullptr |
object created by interactive action, owned by pad
Definition at line 97 of file TCreatePrimitives.cxx.
| Int_t TTwoPointInteractive::fPX0 = 0 |
Definition at line 96 of file TCreatePrimitives.cxx.
| Int_t TTwoPointInteractive::fPY0 = 0 |
initial mouse pointer position in pixel coordiantes
Definition at line 96 of file TCreatePrimitives.cxx.
| Double_t TTwoPointInteractive::fX0 = 0 |
Definition at line 95 of file TCreatePrimitives.cxx.
| Double_t TTwoPointInteractive::fY0 = 0 |
initial mouse pointer position in user coordiantes
Definition at line 95 of file TCreatePrimitives.cxx.