TPolyLine3D Class Reference

#include <TPolyLine3D.h>

Inheritance diagram for TPolyLine3D:

TObject TAttLine TAtt3D TObject TAttLine TAtt3D THelix THelix List of all members.

Public Member Functions

 TPolyLine3D ()
 TPolyLine3D (Int_t n, Option_t *option="")
 TPolyLine3D (Int_t n, Float_t *p, Option_t *option="")
 TPolyLine3D (Int_t n, Double_t *p, Option_t *option="")
 TPolyLine3D (Int_t n, Float_t *x, Float_t *y, Float_t *z, Option_t *option="")
 TPolyLine3D (Int_t n, Double_t *x, Double_t *y, Double_t *z, Option_t *option="")
 TPolyLine3D (const TPolyLine3D &polylin)
TPolyLine3Doperator= (const TPolyLine3D &polylin)
virtual ~TPolyLine3D ()
virtual void Copy (TObject &polyline) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawPolyLine (Int_t n, Float_t *p, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Int_t GetLastPoint () const
Int_t GetN () const
Float_tGetP () const
Option_tGetOption () const
virtual void ls (Option_t *option="") const
virtual Int_t Merge (TCollection *list)
virtual void Paint (Option_t *option="")
virtual void Print (Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual Int_t SetNextPoint (Double_t x, Double_t y, Double_t z)
virtual void SetOption (Option_t *option="")
virtual void SetPoint (Int_t point, Double_t x, Double_t y, Double_t z)
virtual void SetPolyLine (Int_t n, Option_t *option="")
virtual void SetPolyLine (Int_t n, Float_t *p, Option_t *option="")
virtual void SetPolyLine (Int_t n, Double_t *p, Option_t *option="")
virtual Int_t Size () const
 TPolyLine3D ()
 TPolyLine3D (Int_t n, Option_t *option="")
 TPolyLine3D (Int_t n, Float_t *p, Option_t *option="")
 TPolyLine3D (Int_t n, Double_t *p, Option_t *option="")
 TPolyLine3D (Int_t n, Float_t *x, Float_t *y, Float_t *z, Option_t *option="")
 TPolyLine3D (Int_t n, Double_t *x, Double_t *y, Double_t *z, Option_t *option="")
 TPolyLine3D (const TPolyLine3D &polylin)
TPolyLine3Doperator= (const TPolyLine3D &polylin)
virtual ~TPolyLine3D ()
virtual void Copy (TObject &polyline) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawPolyLine (Int_t n, Float_t *p, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Int_t GetLastPoint () const
Int_t GetN () const
Float_tGetP () const
Option_tGetOption () const
virtual void ls (Option_t *option="") const
virtual Int_t Merge (TCollection *list)
virtual void Paint (Option_t *option="")
virtual void Print (Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual Int_t SetNextPoint (Double_t x, Double_t y, Double_t z)
virtual void SetOption (Option_t *option="")
virtual void SetPoint (Int_t point, Double_t x, Double_t y, Double_t z)
virtual void SetPolyLine (Int_t n, Option_t *option="")
virtual void SetPolyLine (Int_t n, Float_t *p, Option_t *option="")
virtual void SetPolyLine (Int_t n, Double_t *p, Option_t *option="")
virtual Int_t Size () const

Static Public Member Functions

static void DrawOutlineCube (TList *outline, Double_t *rmin, Double_t *rmax)
static void DrawOutlineCube (TList *outline, Double_t *rmin, Double_t *rmax)

Protected Attributes

Int_t fN
Float_tfP
TString fOption
Int_t fLastPoint
Float_tfP

Detailed Description

Definition at line 41 of file TPolyLine3D.h.


Constructor & Destructor Documentation

TPolyLine3D::TPolyLine3D (  ) 

Definition at line 77 of file TPolyLine3D.cxx.

References fLastPoint, fN, and fP.

Referenced by DrawOutlineCube(), and DrawPolyLine().

TPolyLine3D::TPolyLine3D ( Int_t  n,
Option_t option = "" 
)

Definition at line 88 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, i, TObject::kCanDelete, and TObject::SetBit().

TPolyLine3D::TPolyLine3D ( Int_t  n,
Float_t p,
Option_t option = "" 
)

Definition at line 109 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, i, TObject::kCanDelete, and TObject::SetBit().

TPolyLine3D::TPolyLine3D ( Int_t  n,
Double_t p,
Option_t option = "" 
)

Definition at line 133 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, i, TObject::kCanDelete, and TObject::SetBit().

TPolyLine3D::TPolyLine3D ( Int_t  n,
Float_t x,
Float_t y,
Float_t z,
Option_t option = "" 
)

Definition at line 157 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, i, j, TObject::kCanDelete, and TObject::SetBit().

TPolyLine3D::TPolyLine3D ( Int_t  n,
Double_t x,
Double_t y,
Double_t z,
Option_t option = "" 
)

Definition at line 185 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, i, j, TObject::kCanDelete, and TObject::SetBit().

TPolyLine3D::TPolyLine3D ( const TPolyLine3D polylin  ) 

Definition at line 238 of file TPolyLine3D.cxx.

References fLastPoint, fN, and fP.

TPolyLine3D::~TPolyLine3D (  )  [virtual]

Definition at line 229 of file TPolyLine3D.cxx.

References fP.

TPolyLine3D::TPolyLine3D (  ) 

TPolyLine3D::TPolyLine3D ( Int_t  n,
Option_t option = "" 
)

TPolyLine3D::TPolyLine3D ( Int_t  n,
Float_t p,
Option_t option = "" 
)

TPolyLine3D::TPolyLine3D ( Int_t  n,
Double_t p,
Option_t option = "" 
)

TPolyLine3D::TPolyLine3D ( Int_t  n,
Float_t x,
Float_t y,
Float_t z,
Option_t option = "" 
)

TPolyLine3D::TPolyLine3D ( Int_t  n,
Double_t x,
Double_t y,
Double_t z,
Option_t option = "" 
)

TPolyLine3D::TPolyLine3D ( const TPolyLine3D polylin  ) 

virtual TPolyLine3D::~TPolyLine3D (  )  [virtual]


Member Function Documentation

TPolyLine3D & TPolyLine3D::operator= ( const TPolyLine3D polylin  ) 

Definition at line 213 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, and TObject::operator=().

Referenced by THelix::operator=().

void TPolyLine3D::Copy ( TObject polyline  )  const [virtual]

Reimplemented from TObject.

Definition at line 250 of file TPolyLine3D.cxx.

References TAttLine::Copy(), TObject::Copy(), fLastPoint, fN, fOption, fP, and i.

Int_t TPolyLine3D::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 271 of file TPolyLine3D.cxx.

References ROOT::Math::gv_detail::dist(), TAttLine::DistancetoLine(), fP, gPad, i, Size(), TView::WCtoNDC(), x1, and x2.

Referenced by RootShower::DistancetoPrimitive().

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

Reimplemented from TObject.

Definition at line 314 of file TPolyLine3D.cxx.

References TObject::AppendPad().

Referenced by line3Dfit(), RootShower::OnOpenFile(), RootShower::OnShowerProduce(), and RootShower::OnShowSelected().

void TPolyLine3D::DrawPolyLine ( Int_t  n,
Float_t p,
Option_t option = "" 
) [virtual]

Definition at line 407 of file TPolyLine3D.cxx.

References TAttLine::Copy(), fLastPoint, fN, fOption, fP, i, TObject::kCanDelete, Size(), size, and TPolyLine3D().

void TPolyLine3D::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 427 of file TPolyLine3D.cxx.

References gPad.

Int_t TPolyLine3D::GetLastPoint (  )  const [inline]

Definition at line 65 of file TPolyLine3D.h.

References fLastPoint.

Int_t TPolyLine3D::GetN (  )  const [inline]

Definition at line 66 of file TPolyLine3D.h.

References fN.

Float_t* TPolyLine3D::GetP (  )  const [inline]

Definition at line 67 of file TPolyLine3D.h.

References fP.

Referenced by Merge().

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

Reimplemented from TObject.

Definition at line 68 of file TPolyLine3D.h.

References TString::Data(), and fOption.

void TPolyLine3D::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 437 of file TPolyLine3D.cxx.

References fN, and TROOT::IndentLevel().

Int_t TPolyLine3D::Merge ( TCollection list  )  [virtual]

Definition at line 447 of file TPolyLine3D.cxx.

References xmlio::Class, TObject::ClassName(), TObject::Error(), GetP(), i, TObject::InheritsFrom(), p, TIter::Reset(), SetPoint(), and Size().

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

Reimplemented from TObject.

Definition at line 483 of file TPolyLine3D.cxx.

References buffer, c, fP, TAttLine::GetLineColor(), gGeometry, gPad, i, j, TBuffer3D::kCore, kFALSE, TBuffer3DTypes::kLine, TBuffer3D::kNone, TBuffer3D::kRaw, TBuffer3D::kRawSizes, TGeometry::Local2Master(), TAttLine::Modify(), and Size().

Referenced by TParticle::Paint(), and TPrimary::Paint().

void TPolyLine3D::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 563 of file TPolyLine3D.cxx.

References TString::Contains(), fN, fP, i, Size(), and TString::ToLower().

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

Reimplemented from TObject.

Definition at line 579 of file TPolyLine3D.cxx.

References xmlio::Class, TROOT::ClassSaved(), fN, fOption, fP, gROOT, i, TAttLine::SaveLineAttributes(), Size(), and size.

Int_t TPolyLine3D::SetNextPoint ( Double_t  x,
Double_t  y,
Double_t  z 
) [virtual]

Definition at line 604 of file TPolyLine3D.cxx.

References fLastPoint, and SetPoint().

Referenced by MyParticle::SetNextPoint().

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

Definition at line 75 of file TPolyLine3D.h.

References fOption, and option.

void TPolyLine3D::SetPoint ( Int_t  point,
Double_t  x,
Double_t  y,
Double_t  z 
) [virtual]

Definition at line 616 of file TPolyLine3D.cxx.

References fLastPoint, fN, fP, and TMath::Max().

Referenced by MyParticle::AddTrack(), DrawOutlineCube(), line3Dfit(), Merge(), TParticle::Paint(), TPrimary::Paint(), TGeoChecker::RandomRays(), SetNextPoint(), and THelix::SetRange().

void TPolyLine3D::SetPolyLine ( Int_t  n,
Option_t option = "" 
) [virtual]

Definition at line 643 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, and fP.

Referenced by THelix::SetRange().

void TPolyLine3D::SetPolyLine ( Int_t  n,
Float_t p,
Option_t option = "" 
) [virtual]

Definition at line 665 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, and i.

void TPolyLine3D::SetPolyLine ( Int_t  n,
Double_t p,
Option_t option = "" 
) [virtual]

Definition at line 695 of file TPolyLine3D.cxx.

References fLastPoint, fN, fOption, fP, and i.

virtual Int_t TPolyLine3D::Size (  )  const [inline, virtual]

Definition at line 80 of file TPolyLine3D.h.

References fLastPoint.

Referenced by DistancetoPrimitive(), DrawPolyLine(), Merge(), Paint(), Print(), and SavePrimitive().

void TPolyLine3D::DrawOutlineCube ( TList outline,
Double_t rmin,
Double_t rmax 
) [static]

Definition at line 323 of file TPolyLine3D.cxx.

References TList::Add(), TList::After(), TList::First(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), gPad, p1(), p2(), p3(), p4(), SetPoint(), TPolyLine3D(), xmax, xmin, ymax, and ymin.

Referenced by TView3D::DrawOutlineCube(), G__G__G3D_152_0_30(), and G__setup_memfuncTPolyLine3D().

TPolyLine3D& TPolyLine3D::operator= ( const TPolyLine3D polylin  ) 

virtual void TPolyLine3D::Copy ( TObject polyline  )  const [virtual]

Reimplemented from TObject.

virtual Int_t TPolyLine3D::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

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

Reimplemented from TObject.

virtual void TPolyLine3D::DrawPolyLine ( Int_t  n,
Float_t p,
Option_t option = "" 
) [virtual]

virtual void TPolyLine3D::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Int_t TPolyLine3D::GetLastPoint (  )  const [inline]

Definition at line 65 of file TPolyLine3D.h.

References fLastPoint.

Int_t TPolyLine3D::GetN (  )  const [inline]

Definition at line 66 of file TPolyLine3D.h.

References fN.

Float_t* TPolyLine3D::GetP (  )  const [inline]

Definition at line 67 of file TPolyLine3D.h.

References fP.

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

Reimplemented from TObject.

Definition at line 68 of file TPolyLine3D.h.

References TString::Data(), and fOption.

virtual void TPolyLine3D::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

virtual Int_t TPolyLine3D::Merge ( TCollection list  )  [virtual]

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

Reimplemented from TObject.

virtual void TPolyLine3D::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

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

Reimplemented from TObject.

virtual Int_t TPolyLine3D::SetNextPoint ( Double_t  x,
Double_t  y,
Double_t  z 
) [virtual]

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

Definition at line 75 of file TPolyLine3D.h.

References fOption, and option.

virtual void TPolyLine3D::SetPoint ( Int_t  point,
Double_t  x,
Double_t  y,
Double_t  z 
) [virtual]

virtual void TPolyLine3D::SetPolyLine ( Int_t  n,
Option_t option = "" 
) [virtual]

virtual void TPolyLine3D::SetPolyLine ( Int_t  n,
Float_t p,
Option_t option = "" 
) [virtual]

virtual void TPolyLine3D::SetPolyLine ( Int_t  n,
Double_t p,
Option_t option = "" 
) [virtual]

virtual Int_t TPolyLine3D::Size (  )  const [inline, virtual]

Definition at line 80 of file TPolyLine3D.h.

References fLastPoint.

static void TPolyLine3D::DrawOutlineCube ( TList outline,
Double_t rmin,
Double_t rmax 
) [static]


Member Data Documentation

Int_t TPolyLine3D::fN [protected]

Definition at line 44 of file TPolyLine3D.h.

Referenced by Copy(), DrawPolyLine(), GetN(), ls(), operator=(), THelix::Print(), Print(), SavePrimitive(), SetPoint(), SetPolyLine(), and TPolyLine3D().

Float_t* TPolyLine3D::fP [protected]

Definition at line 45 of file TPolyLine3D.h.

Referenced by Copy(), DistancetoPrimitive(), DrawPolyLine(), GetP(), operator=(), Paint(), Print(), SavePrimitive(), SetPoint(), SetPolyLine(), TPolyLine3D(), and ~TPolyLine3D().

TString TPolyLine3D::fOption [protected]

Definition at line 46 of file TPolyLine3D.h.

Referenced by Copy(), THelix::Copy(), DrawPolyLine(), THelix::GetOption(), GetOption(), operator=(), SavePrimitive(), THelix::SavePrimitive(), THelix::SetOption(), SetOption(), SetPolyLine(), THelix::THelix(), and TPolyLine3D().

Int_t TPolyLine3D::fLastPoint [protected]

Definition at line 47 of file TPolyLine3D.h.

Referenced by Copy(), DrawPolyLine(), GetLastPoint(), operator=(), SetNextPoint(), SetPoint(), SetPolyLine(), Size(), and TPolyLine3D().

Float_t* TPolyLine3D::fP [protected]

Definition at line 45 of file TPolyLine3D.h.


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