TArrow Class Reference

#include <TArrow.h>

Inheritance diagram for TArrow:

TLine TAttFill TLine TAttFill TAttLine TObject TAttLine TObject TAttLine TObject TAttLine TObject List of all members.

Public Member Functions

 TArrow ()
 TArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0.05, Option_t *option=">")
 TArrow (const TArrow &arrow)
virtual ~TArrow ()
void Copy (TObject &arrow) const
virtual void Draw (Option_t *option="")
virtual void DrawArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0, Option_t *option="")
Float_t GetAngle () const
Float_t GetArrowSize () const
Option_tGetOption () const
virtual void Paint (Option_t *option="")
virtual void PaintArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0.05, Option_t *option=">")
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetAngle (Float_t angle=60)
virtual void SetArrowSize (Float_t arrowsize=0.05)
virtual void SetOption (Option_t *option=">")
 TArrow ()
 TArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0.05, Option_t *option=">")
 TArrow (const TArrow &arrow)
virtual ~TArrow ()
void Copy (TObject &arrow) const
virtual void Draw (Option_t *option="")
virtual void DrawArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0, Option_t *option="")
Float_t GetAngle () const
Float_t GetArrowSize () const
Option_tGetOption () const
virtual void Paint (Option_t *option="")
virtual void PaintArrow (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0.05, Option_t *option=">")
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetAngle (Float_t angle=60)
virtual void SetArrowSize (Float_t arrowsize=0.05)
virtual void SetOption (Option_t *option=">")

Static Public Member Functions

static void SetDefaultAngle (Float_t Angle)
static void SetDefaultArrowSize (Float_t ArrowSize)
static void SetDefaultOption (Option_t *Option)
static Float_t GetDefaultAngle ()
static Float_t GetDefaultArrowSize ()
static Option_tGetDefaultOption ()
static void SetDefaultAngle (Float_t Angle)
static void SetDefaultArrowSize (Float_t ArrowSize)
static void SetDefaultOption (Option_t *Option)
static Float_t GetDefaultAngle ()
static Float_t GetDefaultArrowSize ()
static Option_tGetDefaultOption ()

Protected Attributes

Float_t fAngle
Float_t fArrowSize
TString fOption

Static Protected Attributes

static Float_t fgDefaultAngle
static Float_t fgDefaultArrowSize
static TString fgDefaultOption

Detailed Description

Definition at line 35 of file TArrow.h.


Constructor & Destructor Documentation

TArrow::TArrow (  ) 

Referenced by DrawArrow().

TArrow::TArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0.05,
Option_t option = ">" 
)

Definition at line 50 of file TArrow.cxx.

References fAngle, fArrowSize, fgDefaultAngle, fOption, and TAttFill::SetFillColor().

TArrow::TArrow ( const TArrow arrow  ) 

Definition at line 88 of file TArrow.cxx.

References arrow(), fAngle, fArrowSize, and fgDefaultAngle.

TArrow::~TArrow (  )  [virtual]

Definition at line 82 of file TArrow.cxx.

TArrow::TArrow (  ) 

TArrow::TArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0.05,
Option_t option = ">" 
)

TArrow::TArrow ( const TArrow arrow  ) 

virtual TArrow::~TArrow (  )  [virtual]


Member Function Documentation

void TArrow::Copy ( TObject arrow  )  const [virtual]

Reimplemented from TLine.

Definition at line 98 of file TArrow.cxx.

References TAttFill::Copy(), TLine::Copy(), fAngle, fArrowSize, and fOption.

void TArrow::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 110 of file TArrow.cxx.

References TObject::AppendPad(), and GetOption().

void TArrow::DrawArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0,
Option_t option = "" 
) [virtual]

Definition at line 123 of file TArrow.cxx.

References TObject::AppendPad(), TAttFill::Copy(), TAttLine::Copy(), TString::Data(), fAngle, fArrowSize, fOption, TObject::kCanDelete, SetAngle(), TObject::SetBit(), size, and TArrow().

Float_t TArrow::GetAngle (  )  const [inline]

Definition at line 57 of file TArrow.h.

References fAngle.

Referenced by SavePrimitive(), and TArrowEditor::SetModel().

Float_t TArrow::GetArrowSize (  )  const [inline]

Definition at line 58 of file TArrow.h.

References fArrowSize.

Referenced by TArrowEditor::SetModel().

Option_t* TArrow::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 59 of file TArrow.h.

References TString::Data(), and fOption.

Referenced by Draw(), and Paint().

void TArrow::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TLine.

Definition at line 146 of file TArrow.cxx.

References fArrowSize, TLine::fX1, TLine::fX2, TLine::fY1, TLine::fY2, GetOption(), gPad, and PaintArrow().

Referenced by TArrowEditor::DoAngle(), TArrowEditor::DoOption(), and TArrowEditor::DoSize().

void TArrow::PaintArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0.05,
Option_t option = ">" 
) [virtual]

Definition at line 158 of file TArrow.cxx.

References TString::BeginsWith(), TString::Contains(), TString::EndsWith(), fAngle, TAttFill::GetFillColor(), gPad, i, TString::Length(), length, TMath::Min(), TAttFill::Modify(), TAttLine::Modify(), TMath::Pi(), TMath::Sqrt(), TMath::Tan(), and TString::ToLower().

Referenced by Paint().

void TArrow::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TLine.

Definition at line 348 of file TArrow.cxx.

References xmlio::Class, TROOT::ClassSaved(), fAngle, fArrowSize, TLine::fX1, TLine::fX2, TLine::fY1, TLine::fY2, GetAngle(), TObject::GetDrawOption(), gROOT, TAttFill::SaveFillAttributes(), and TAttLine::SaveLineAttributes().

virtual void TArrow::SetAngle ( Float_t  angle = 60  )  [inline, virtual]

Definition at line 64 of file TArrow.h.

References fAngle.

Referenced by TArrowEditor::DoAngle(), and DrawArrow().

virtual void TArrow::SetArrowSize ( Float_t  arrowsize = 0.05  )  [inline, virtual]

Definition at line 65 of file TArrow.h.

References fArrowSize.

Referenced by TArrowEditor::DoSize().

virtual void TArrow::SetOption ( Option_t option = ">"  )  [inline, virtual]

Definition at line 66 of file TArrow.h.

References fOption, and option.

void TArrow::SetDefaultAngle ( Float_t  Angle  )  [static]

Definition at line 373 of file TArrow.cxx.

References fgDefaultAngle.

Referenced by G__G__Graf_118_0_16(), and G__setup_memfuncTArrow().

void TArrow::SetDefaultArrowSize ( Float_t  ArrowSize  )  [static]

Definition at line 382 of file TArrow.cxx.

References fgDefaultArrowSize.

Referenced by G__G__Graf_118_0_17(), and G__setup_memfuncTArrow().

void TArrow::SetDefaultOption ( Option_t Option  )  [static]

Definition at line 391 of file TArrow.cxx.

References fgDefaultOption.

Referenced by G__G__Graf_118_0_18(), and G__setup_memfuncTArrow().

Float_t TArrow::GetDefaultAngle (  )  [static]

Definition at line 400 of file TArrow.cxx.

References fgDefaultAngle.

Referenced by G__G__Graf_118_0_19(), and G__setup_memfuncTArrow().

Float_t TArrow::GetDefaultArrowSize (  )  [static]

Definition at line 409 of file TArrow.cxx.

References fgDefaultArrowSize.

Referenced by G__G__Graf_118_0_20(), G__setup_memfuncTArrow(), and TCreatePrimitives::Line().

Option_t * TArrow::GetDefaultOption (  )  [static]

Definition at line 418 of file TArrow.cxx.

References TString::Data(), and fgDefaultOption.

Referenced by G__G__Graf_118_0_21(), G__setup_memfuncTArrow(), and TCreatePrimitives::Line().

void TArrow::Copy ( TObject arrow  )  const [virtual]

Reimplemented from TLine.

virtual void TArrow::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

virtual void TArrow::DrawArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0,
Option_t option = "" 
) [virtual]

Float_t TArrow::GetAngle (  )  const [inline]

Definition at line 57 of file TArrow.h.

References fAngle.

Float_t TArrow::GetArrowSize (  )  const [inline]

Definition at line 58 of file TArrow.h.

References fArrowSize.

Option_t* TArrow::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 59 of file TArrow.h.

References TString::Data(), and fOption.

virtual void TArrow::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TLine.

virtual void TArrow::PaintArrow ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Float_t  arrowsize = 0.05,
Option_t option = ">" 
) [virtual]

virtual void TArrow::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TLine.

virtual void TArrow::SetAngle ( Float_t  angle = 60  )  [inline, virtual]

Definition at line 64 of file TArrow.h.

References fAngle.

virtual void TArrow::SetArrowSize ( Float_t  arrowsize = 0.05  )  [inline, virtual]

Definition at line 65 of file TArrow.h.

References fArrowSize.

virtual void TArrow::SetOption ( Option_t option = ">"  )  [inline, virtual]

Definition at line 66 of file TArrow.h.

References fOption, and option.

static void TArrow::SetDefaultAngle ( Float_t  Angle  )  [static]

static void TArrow::SetDefaultArrowSize ( Float_t  ArrowSize  )  [static]

static void TArrow::SetDefaultOption ( Option_t Option  )  [static]

static Float_t TArrow::GetDefaultAngle (  )  [static]

static Float_t TArrow::GetDefaultArrowSize (  )  [static]

static Option_t* TArrow::GetDefaultOption (  )  [static]


Member Data Documentation

Float_t TArrow::fAngle [protected]

Definition at line 37 of file TArrow.h.

Referenced by Copy(), DrawArrow(), GetAngle(), PaintArrow(), SavePrimitive(), SetAngle(), and TArrow().

Float_t TArrow::fArrowSize [protected]

Definition at line 38 of file TArrow.h.

Referenced by Copy(), DrawArrow(), GetArrowSize(), Paint(), SavePrimitive(), SetArrowSize(), and TArrow().

TString TArrow::fOption [protected]

Definition at line 39 of file TArrow.h.

Referenced by Copy(), DrawArrow(), GetOption(), SetOption(), and TArrow().

static Float_t TArrow::fgDefaultAngle [static, protected]

Definition at line 41 of file TArrow.h.

Referenced by GetDefaultAngle(), SetDefaultAngle(), and TArrow().

static Float_t TArrow::fgDefaultArrowSize [static, protected]

Definition at line 42 of file TArrow.h.

Referenced by GetDefaultArrowSize(), and SetDefaultArrowSize().

static TString TArrow::fgDefaultOption [static, protected]

Definition at line 43 of file TArrow.h.

Referenced by GetDefaultOption(), and SetDefaultOption().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:33 2011 for ROOT_528-00b_version by  doxygen 1.5.1