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

Public Member Functions | |
| TGraphNode () | |
| TGraphNode (const char *name, const char *title="") | |
| virtual | ~TGraphNode () |
| void | CreateGVNode (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 | SetGVNode (Agnode_t *gvn) |
| virtual void | SetTextAngle (Float_t) |
| Agnode_t * | GetGVNode () |
| void | Layout () |
| virtual void | Paint (Option_t *option="") |
| virtual void | SavePrimitive (ostream &, Option_t *) |
| void | SaveAttributes (ostream &) |
Protected Attributes | |
| Agnode_t * | fGVNode |
| Double_t | fX |
| Double_t | fY |
| Double_t | fH |
| Double_t | fW |
Definition at line 44 of file TGraphNode.h.
| TGraphNode::TGraphNode | ( | ) |
| TGraphNode::TGraphNode | ( | const char * | name, | |
| const char * | title = "" | |||
| ) |
| TGraphNode::~TGraphNode | ( | ) | [virtual] |
Definition at line 55 of file TGraphNode.cxx.
| void TGraphNode::CreateGVNode | ( | Agraph_t * | gv | ) |
Definition at line 63 of file TGraphNode.cxx.
References TObject::Error(), fGVNode, and TNamed::GetName().
Referenced by TGraphStruct::Layout().
Reimplemented from TObject.
Definition at line 76 of file TGraphNode.cxx.
References ROOT::Math::gv_detail::dist(), TEllipse::DistancetoPrimitive(), fH, fW, fX, fY, and TAttFill::SetFillColor().
Reimplemented from TObject.
Definition at line 92 of file TGraphNode.cxx.
References TEllipse::ExecuteEvent(), fH, fW, fX, fY, TEllipse::GetR1(), TEllipse::GetR2(), TEllipse::GetX1(), and TEllipse::GetY1().
| void TGraphNode::SetGVNode | ( | Agnode_t * | gvn | ) | [inline] |
| virtual void TGraphNode::SetTextAngle | ( | Float_t | ) | [inline, virtual] |
| Agnode_t* TGraphNode::GetGVNode | ( | ) | [inline] |
Definition at line 65 of file TGraphNode.h.
References fGVNode.
Referenced by TGraphEdge::CreateGVEdge().
| void TGraphNode::Layout | ( | ) |
Definition at line 106 of file TGraphNode.cxx.
References fGVNode, fH, fW, fX, and fY.
Referenced by TGraphStruct::Layout().
| void TGraphNode::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 125 of file TGraphNode.cxx.
References fH, fW, fX, fY, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TNamed::GetTitle(), TEllipse::PaintEllipse(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and text().
| void TGraphNode::SavePrimitive | ( | ostream & | , | |
| Option_t * | ||||
| ) | [virtual] |
| void TGraphNode::SaveAttributes | ( | ostream & | ) |
Definition at line 157 of file TGraphNode.cxx.
References TNamed::GetName(), TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), and TAttText::SaveTextAttributes().
Referenced by TGraphStruct::SavePrimitive().
Agnode_t* TGraphNode::fGVNode [protected] |
Definition at line 48 of file TGraphNode.h.
Referenced by CreateGVNode(), GetGVNode(), Layout(), SetGVNode(), and TGraphNode().
Double_t TGraphNode::fX [protected] |
Definition at line 49 of file TGraphNode.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), and TGraphNode().
Double_t TGraphNode::fY [protected] |
Definition at line 50 of file TGraphNode.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), and TGraphNode().
Double_t TGraphNode::fH [protected] |
Definition at line 51 of file TGraphNode.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), and TGraphNode().
Double_t TGraphNode::fW [protected] |
Definition at line 52 of file TGraphNode.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Layout(), Paint(), and TGraphNode().
1.5.1