#include <TGraphEdge.h>
Inheritance diagram for TGraphEdge:

Public Member Functions | |
| TGraphEdge () | |
| TGraphEdge (TGraphNode *n1, TGraphNode *n2) | |
| virtual | ~TGraphEdge () |
| void | CreateGVEdge (Agraph_t *gv) |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| void | SetGVEdge (Agedge_t *gve) |
| Agedge_t * | GetGVEdge () |
| TGraphNode * | GetNode1 () |
| TGraphNode * | GetNode2 () |
| void | Layout () |
| virtual void | Paint (Option_t *option="") |
| virtual void | SavePrimitive (ostream &, Option_t *) |
| void | SaveAttributes (ostream &, const char *) |
Protected Attributes | |
| TGraphNode * | fNode1 |
| TGraphNode * | fNode2 |
| Agedge_t * | fGVEdge |
| Double_t * | fX |
| Double_t * | fY |
| Int_t * | fN |
| Double_t | fArrX |
| Double_t | fArrY |
Definition at line 36 of file TGraphEdge.h.
| TGraphEdge::TGraphEdge | ( | ) |
| TGraphEdge::TGraphEdge | ( | TGraphNode * | n1, | |
| TGraphNode * | n2 | |||
| ) |
| TGraphEdge::~TGraphEdge | ( | ) | [virtual] |
| void TGraphEdge::CreateGVEdge | ( | Agraph_t * | gv | ) |
Definition at line 77 of file TGraphEdge.cxx.
References TObject::Error(), fGVEdge, fNode1, fNode2, and TGraphNode::GetGVNode().
Referenced by TGraphStruct::Layout().
Reimplemented from TObject.
Definition at line 92 of file TGraphEdge.cxx.
References a, ROOT::Math::gv_detail::dist(), TPolyLine::DistancetoPrimitive(), fN, fX, fY, i, and n.
Reimplemented from TObject.
Definition at line 113 of file TGraphEdge.cxx.
References a, TPolyLine::ExecuteEvent(), fN, fX, fY, i, and n.
| void TGraphEdge::SetGVEdge | ( | Agedge_t * | gve | ) | [inline] |
| Agedge_t* TGraphEdge::GetGVEdge | ( | ) | [inline] |
| TGraphNode* TGraphEdge::GetNode1 | ( | ) | [inline] |
Definition at line 62 of file TGraphEdge.h.
References fNode1.
Referenced by TGraphStruct::SavePrimitive().
| TGraphNode* TGraphEdge::GetNode2 | ( | ) | [inline] |
Definition at line 63 of file TGraphEdge.h.
References fNode2.
Referenced by TGraphStruct::SavePrimitive().
| void TGraphEdge::Layout | ( | ) |
| void TGraphEdge::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 176 of file TGraphEdge.cxx.
References a, arrow(), fArrX, fArrY, fN, fX, fY, TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), graph(), i, and n.
| void TGraphEdge::SavePrimitive | ( | ostream & | , | |
| Option_t * | ||||
| ) | [virtual] |
| void TGraphEdge::SaveAttributes | ( | ostream & | , | |
| const char * | ||||
| ) |
Definition at line 215 of file TGraphEdge.cxx.
References TAttLine::SaveLineAttributes().
Referenced by TGraphStruct::SavePrimitive().
TGraphNode* TGraphEdge::fNode1 [protected] |
Definition at line 40 of file TGraphEdge.h.
Referenced by CreateGVEdge(), GetNode1(), TGraphEdge(), and ~TGraphEdge().
TGraphNode* TGraphEdge::fNode2 [protected] |
Definition at line 41 of file TGraphEdge.h.
Referenced by CreateGVEdge(), GetNode2(), TGraphEdge(), and ~TGraphEdge().
Agedge_t* TGraphEdge::fGVEdge [protected] |
Definition at line 42 of file TGraphEdge.h.
Referenced by CreateGVEdge(), GetGVEdge(), Layout(), SetGVEdge(), and TGraphEdge().
Double_t* TGraphEdge::fX [protected] |
Definition at line 43 of file TGraphEdge.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), TGraphEdge(), and ~TGraphEdge().
Double_t* TGraphEdge::fY [protected] |
Definition at line 44 of file TGraphEdge.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), TGraphEdge(), and ~TGraphEdge().
Int_t* TGraphEdge::fN [protected] |
Definition at line 45 of file TGraphEdge.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), TGraphEdge(), and ~TGraphEdge().
Double_t TGraphEdge::fArrX [protected] |
Double_t TGraphEdge::fArrY [protected] |
1.5.1