TPolyMarker3D Class Reference

#include <TPolyMarker3D.h>

Inheritance diagram for TPolyMarker3D:

TObject TAttMarker TAtt3D TObject TAttMarker TAtt3D TPointSet3D TPointSet3D TEvePointSet TEvePointSet TEvePointSet TEvePointSet TEveLine TEveLine TEvePointSetProjected TEvePointSetProjected TEveLine TEveLine TEvePointSetProjected TEvePointSetProjected TEveLine TEveLine TEvePointSetProjected TEvePointSetProjected TEveLine TEveLine TEvePointSetProjected TEvePointSetProjected List of all members.

Public Member Functions

 TPolyMarker3D ()
 TPolyMarker3D (Int_t n, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (Int_t n, Float_t *p, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (Int_t n, Double_t *p, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (const TPolyMarker3D &p)
virtual ~TPolyMarker3D ()
virtual void Copy (TObject &polymarker) const
Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Int_t GetLastPoint () const
virtual const char * GetName () const
virtual Int_t GetN () const
virtual Float_tGetP () const
virtual void GetPoint (Int_t n, Float_t &x, Float_t &y, Float_t &z) const
virtual void GetPoint (Int_t n, Double_t &x, Double_t &y, Double_t &z) 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 void SetName (const char *name)
void SetPoint (Int_t n, Double_t x, Double_t y, Double_t z)
virtual void SetPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
virtual void SetPolyMarker (Int_t n, Double_t *p, Marker_t marker, Option_t *option="")
virtual Int_t SetNextPoint (Double_t x, Double_t y, Double_t z)
virtual Int_t Size () const
 ClassDef (TPolyMarker3D, 2)
 TPolyMarker3D ()
 TPolyMarker3D (Int_t n, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (Int_t n, Float_t *p, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (Int_t n, Double_t *p, Marker_t marker=1, Option_t *option="")
 TPolyMarker3D (const TPolyMarker3D &p)
virtual ~TPolyMarker3D ()
virtual void Copy (TObject &polymarker) const
Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Int_t GetLastPoint () const
virtual const char * GetName () const
virtual Int_t GetN () const
virtual Float_tGetP () const
virtual void GetPoint (Int_t n, Float_t &x, Float_t &y, Float_t &z) const
virtual void GetPoint (Int_t n, Double_t &x, Double_t &y, Double_t &z) 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 void SetName (const char *name)
void SetPoint (Int_t n, Double_t x, Double_t y, Double_t z)
virtual void SetPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
virtual void SetPolyMarker (Int_t n, Double_t *p, Marker_t marker, Option_t *option="")
virtual Int_t SetNextPoint (Double_t x, Double_t y, Double_t z)
virtual Int_t Size () const
 ClassDef (TPolyMarker3D, 2)

Static Public Member Functions

static void PaintH3 (TH1 *h, Option_t *option)
static void PaintH3 (TH1 *h, Option_t *option)

Protected Member Functions

TPolyMarker3Doperator= (const TPolyMarker3D &)
TPolyMarker3Doperator= (const TPolyMarker3D &)

Protected Attributes

Int_t fN
Float_tfP
TString fOption
Int_t fLastPoint
TString fName
Float_tfP

Detailed Description

Definition at line 40 of file TPolyMarker3D.h.


Constructor & Destructor Documentation

TPolyMarker3D::TPolyMarker3D (  ) 

Definition at line 65 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fName, and fP.

Referenced by DrawPolyMarker(), and PaintH3().

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Marker_t  marker = 1,
Option_t option = "" 
)

Definition at line 76 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fName, fOption, fP, i, TObject::kCanDelete, kDimension, TObject::SetBit(), and TAttMarker::SetMarkerStyle().

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Float_t p,
Marker_t  marker = 1,
Option_t option = "" 
)

Definition at line 97 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fName, fOption, fP, i, TObject::kCanDelete, kDimension, TObject::SetBit(), and TAttMarker::SetMarkerStyle().

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Double_t p,
Marker_t  marker = 1,
Option_t option = "" 
)

Definition at line 124 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fName, fOption, fP, i, TObject::kCanDelete, kDimension, TObject::SetBit(), and TAttMarker::SetMarkerStyle().

TPolyMarker3D::TPolyMarker3D ( const TPolyMarker3D p  ) 

Definition at line 179 of file TPolyMarker3D.cxx.

References fP, and p.

TPolyMarker3D::~TPolyMarker3D (  )  [virtual]

Definition at line 169 of file TPolyMarker3D.cxx.

References fLastPoint, fN, and fP.

TPolyMarker3D::TPolyMarker3D (  ) 

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Marker_t  marker = 1,
Option_t option = "" 
)

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Float_t p,
Marker_t  marker = 1,
Option_t option = "" 
)

TPolyMarker3D::TPolyMarker3D ( Int_t  n,
Double_t p,
Marker_t  marker = 1,
Option_t option = "" 
)

TPolyMarker3D::TPolyMarker3D ( const TPolyMarker3D p  ) 

virtual TPolyMarker3D::~TPolyMarker3D (  )  [virtual]


Member Function Documentation

TPolyMarker3D & TPolyMarker3D::operator= ( const TPolyMarker3D  )  [protected]

Definition at line 152 of file TPolyMarker3D.cxx.

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

Referenced by TPointSet3D::operator=().

void TPolyMarker3D::Copy ( TObject polymarker  )  const [virtual]

Reimplemented from TObject.

Definition at line 189 of file TPolyMarker3D.cxx.

References TObject::Copy(), fLastPoint, fN, fName, fOption, fP, TAttMarker::GetMarkerStyle(), i, and kDimension.

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

Reimplemented from TObject.

Definition at line 208 of file TPolyMarker3D.cxx.

References ROOT::Math::gv_detail::dist(), fP, gPad, i, Size(), TMath::Sqrt(), u, TView::WCtoNDC(), and x1.

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

Reimplemented from TObject.

Definition at line 252 of file TPolyMarker3D.cxx.

References TObject::AppendPad().

Referenced by TGeoChecker::CheckBoundaryReference(), TGeoChecker::CheckGeometry(), TGeoChecker::CheckPoint(), TGeoPainter::DrawCurrentPoint(), TGeoPainter::DrawOverlap(), TTreePlayer::DrawSelect(), TTable::EntryLoop(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TProofDrawPolyMarker3D::Terminate(), and TGeoChecker::TestOverlaps().

void TPolyMarker3D::DrawPolyMarker ( Int_t  n,
Float_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

Definition at line 260 of file TPolyMarker3D.cxx.

References TObject::AppendPad(), fLastPoint, fN, fOption, fP, TAttMarker::GetMarkerStyle(), i, TObject::kCanDelete, kDimension, TObject::SetBit(), TAttMarker::SetMarkerStyle(), and TPolyMarker3D().

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

Reimplemented from TObject.

Definition at line 278 of file TPolyMarker3D.cxx.

References gPad.

virtual Int_t TPolyMarker3D::GetLastPoint (  )  const [inline, virtual]

Definition at line 64 of file TPolyMarker3D.h.

References fLastPoint.

Referenced by TEveTrackGL::RenderPathMarksAndFirstVertex(), TSelectorDraw::TakeAction(), and TProofDrawListOfPolyMarkers3D::Terminate().

virtual const char* TPolyMarker3D::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 65 of file TPolyMarker3D.h.

References TString::Data(), and fName.

Referenced by TEvePointSet::GetElementName(), TEveTrackProjected::PrintLineSegments(), TEveTrack::PrintPathMarks(), and SavePrimitive().

virtual Int_t TPolyMarker3D::GetN (  )  const [inline, virtual]

Definition at line 66 of file TPolyMarker3D.h.

References fN.

Referenced by TEvePointSet::AssertIntIdsSize(), TGeoChecker::CheckOverlapsBySampling(), TEvePointSet::InitFill(), and TGeoOverlap::Validate().

virtual Float_t* TPolyMarker3D::GetP (  )  const [inline, virtual]

Definition at line 67 of file TPolyMarker3D.h.

References fP.

Referenced by TEveTrackProjectedGL::DirectDraw(), TEveTrackProjected::MakeTrack(), Merge(), TEveLine::ReduceSegmentLengths(), TEveTrackGL::RenderPathMarksAndFirstVertex(), TEvePointSetProjected::SetDepthLocal(), TEveLineProjected::SetDepthLocal(), TEveTrackProjected::SetDepthLocal(), TEvePointSetProjected::UpdateProjection(), and TEveLineProjected::UpdateProjection().

void TPolyMarker3D::GetPoint ( Int_t  n,
Float_t x,
Float_t y,
Float_t z 
) const [virtual]

Definition at line 658 of file TPolyMarker3D.cxx.

References kDimension, and Size().

Referenced by TEveTrackProjectedGL::DirectDraw(), TEveTrackProjected::GetBreakPointIdx(), TEveLine::GetLineEnd(), TEveLine::GetLineStart(), TEveTrackProjected::MakeTrack(), TEveTrackProjected::PrintLineSegments(), TProofDrawPolyMarker3D::Terminate(), and TGeoOverlap::Validate().

void TPolyMarker3D::GetPoint ( Int_t  n,
Double_t x,
Double_t y,
Double_t z 
) const [virtual]

Definition at line 671 of file TPolyMarker3D.cxx.

References kDimension, and Size().

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

Reimplemented from TObject.

Definition at line 70 of file TPolyMarker3D.h.

References TString::Data(), and fOption.

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

Reimplemented from TObject.

Definition at line 287 of file TPolyMarker3D.cxx.

References TROOT::IndentLevel(), and Size().

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

Definition at line 296 of file TPolyMarker3D.cxx.

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

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

Reimplemented from TObject.

Definition at line 331 of file TPolyMarker3D.cxx.

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

Referenced by PaintH3().

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

Reimplemented from TObject.

Definition at line 478 of file TPolyMarker3D.cxx.

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

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

Reimplemented from TObject.

Definition at line 494 of file TPolyMarker3D.cxx.

References xmlio::Class, TROOT::ClassSaved(), fN, fOption, fP, TAttMarker::GetMarkerStyle(), GetName(), gROOT, i, TAttMarker::SaveMarkerAttributes(), and Size().

void TPolyMarker3D::SetName ( const char *  name  )  [virtual]

Definition at line 517 of file TPolyMarker3D.cxx.

References fName, gPad, TObject::kMustCleanup, and TObject::TestBit().

Referenced by TEvePointSetArray::InitBins(), TEvePointSet::TEvePointSet(), and TEveTrack::TEveTrack().

void TPolyMarker3D::SetPoint ( Int_t  n,
Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 540 of file TPolyMarker3D.cxx.

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

Referenced by TEvePointSet::GrowFor(), Merge(), PaintH3(), SetNextPoint(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), and TProofDrawListOfPolyMarkers3D::Terminate().

void TPolyMarker3D::SetPolyMarker ( Int_t  n,
Float_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

Definition at line 566 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fOption, fP, i, kDimension, and TAttMarker::SetMarkerStyle().

void TPolyMarker3D::SetPolyMarker ( Int_t  n,
Double_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

Definition at line 596 of file TPolyMarker3D.cxx.

References fLastPoint, fN, fOption, fP, i, kDimension, and TAttMarker::SetMarkerStyle().

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

Definition at line 529 of file TPolyMarker3D.cxx.

References fLastPoint, and SetPoint().

Referenced by TGeoChecker::CheckBoundaryReference(), TGeoChecker::CheckGeometry(), TGeoChecker::CheckPoint(), TProofDrawPolyMarker3D::DoFill(), TGeoPainter::DrawCurrentPoint(), TTable::EntryLoop(), TEvePointSetArray::Fill(), TEveTrackPropagator::FillPointSet(), TEveTrackProjected::MakeTrack(), pointset(), TEveLine::ReduceSegmentLengths(), TGeoOverlap::SetNextPoint(), and TGeoChecker::TestOverlaps().

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

Definition at line 81 of file TPolyMarker3D.h.

References fLastPoint.

Referenced by TPointSet3D::ComputeBBox(), TEveTrack::ComputeBBox(), TEveTrackProjectedGL::DirectDraw(), DistancetoPrimitive(), TEveTrackProjected::GetBreakPointIdx(), GetPoint(), TEvePointSet::GrowFor(), TVSDReader::LoadClusters(), ls(), TEveTrackProjected::MakeTrack(), Merge(), Paint(), Print(), TEveLine::ReduceSegmentLengths(), SavePrimitive(), TEvePointSetProjected::SetDepthLocal(), TEveLineProjected::SetDepthLocal(), TEveTrackProjected::SetDepthLocal(), TProofDrawPolyMarker3D::Terminate(), TEvePointSetProjected::UpdateProjection(), and TEveLineProjected::UpdateProjection().

void TPolyMarker3D::PaintH3 ( TH1 h,
Option_t option 
) [static]

Definition at line 400 of file TPolyMarker3D.cxx.

References TView::CreateView(), entry, TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TAxis::GetFirst(), TAxis::GetLast(), gPad, gRandom, h, kTRUE, TMath::Min(), TView::PadRange(), Paint(), TRandom::Rndm(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), SetPoint(), TView::SetRange(), TPolyMarker3D(), x, and y.

Referenced by G__G__G3D_169_0_30(), and G__setup_memfuncTPolyMarker3D().

TPolyMarker3D::ClassDef ( TPolyMarker3D  ,
 
)

TPolyMarker3D& TPolyMarker3D::operator= ( const TPolyMarker3D  )  [protected]

virtual void TPolyMarker3D::Copy ( TObject polymarker  )  const [virtual]

Reimplemented from TObject.

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

Reimplemented from TObject.

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

Reimplemented from TObject.

virtual void TPolyMarker3D::DrawPolyMarker ( Int_t  n,
Float_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

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

Reimplemented from TObject.

virtual Int_t TPolyMarker3D::GetLastPoint (  )  const [inline, virtual]

Definition at line 64 of file TPolyMarker3D.h.

References fLastPoint.

virtual const char* TPolyMarker3D::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 65 of file TPolyMarker3D.h.

References TString::Data(), and fName.

virtual Int_t TPolyMarker3D::GetN (  )  const [inline, virtual]

Definition at line 66 of file TPolyMarker3D.h.

References fN.

virtual Float_t* TPolyMarker3D::GetP (  )  const [inline, virtual]

Definition at line 67 of file TPolyMarker3D.h.

References fP.

virtual void TPolyMarker3D::GetPoint ( Int_t  n,
Float_t x,
Float_t y,
Float_t z 
) const [virtual]

virtual void TPolyMarker3D::GetPoint ( Int_t  n,
Double_t x,
Double_t y,
Double_t z 
) const [virtual]

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

Reimplemented from TObject.

Definition at line 70 of file TPolyMarker3D.h.

References TString::Data(), and fOption.

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

Reimplemented from TObject.

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

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

Reimplemented from TObject.

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

Reimplemented from TObject.

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

Reimplemented from TObject.

virtual void TPolyMarker3D::SetName ( const char *  name  )  [virtual]

void TPolyMarker3D::SetPoint ( Int_t  n,
Double_t  x,
Double_t  y,
Double_t  z 
)

virtual void TPolyMarker3D::SetPolyMarker ( Int_t  n,
Float_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

virtual void TPolyMarker3D::SetPolyMarker ( Int_t  n,
Double_t p,
Marker_t  marker,
Option_t option = "" 
) [virtual]

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

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

Definition at line 81 of file TPolyMarker3D.h.

References fLastPoint.

static void TPolyMarker3D::PaintH3 ( TH1 h,
Option_t option 
) [static]

TPolyMarker3D::ClassDef ( TPolyMarker3D  ,
 
)


Member Data Documentation

Int_t TPolyMarker3D::fN [protected]

Definition at line 43 of file TPolyMarker3D.h.

Referenced by TEvePointSet::ClonePoints(), Copy(), DrawPolyMarker(), GetN(), operator=(), Print(), TEvePointSet::Reset(), SavePrimitive(), SetPoint(), TPointSet3D::SetPointId(), SetPolyMarker(), TPolyMarker3D(), and ~TPolyMarker3D().

Float_t* TPolyMarker3D::fP [protected]

Definition at line 44 of file TPolyMarker3D.h.

Referenced by TEvePointSet::ClonePoints(), TPointSet3D::ComputeBBox(), TEveTrack::ComputeBBox(), Copy(), DistancetoPrimitive(), DrawPolyMarker(), GetP(), operator=(), Paint(), Print(), TEvePointSet::Reset(), SavePrimitive(), SetPoint(), SetPolyMarker(), TEvePointSet::TakeAction(), TPolyMarker3D(), and ~TPolyMarker3D().

TString TPolyMarker3D::fOption [protected]

Definition at line 45 of file TPolyMarker3D.h.

Referenced by Copy(), TEvePointSet::CopyVizParams(), DrawPolyMarker(), GetOption(), operator=(), SavePrimitive(), SetPolyMarker(), and TPolyMarker3D().

Int_t TPolyMarker3D::fLastPoint [protected]

Definition at line 46 of file TPolyMarker3D.h.

Referenced by TEvePointSet::ClonePoints(), Copy(), DrawPolyMarker(), TEveTrackProjected::GetBreakPointIdx(), GetLastPoint(), TEveLine::GetLineEnd(), TEveTrackProjected::MakeTrack(), operator=(), TEvePointSet::Reset(), SetNextPoint(), SetPoint(), TPointSet3D::SetPointId(), TEvePointSet::SetPointIntIds(), SetPolyMarker(), Size(), TPolyMarker3D(), TEvePointSetProjected::UpdateProjection(), TEveLineProjected::UpdateProjection(), and ~TPolyMarker3D().

TString TPolyMarker3D::fName [protected]

Definition at line 47 of file TPolyMarker3D.h.

Referenced by Copy(), GetName(), operator=(), TEvePointSet::SetElementName(), TEvePointSet::SetElementNameTitle(), SetName(), TPointSet3D::TPointSet3D(), and TPolyMarker3D().

Float_t* TPolyMarker3D::fP [protected]

Definition at line 44 of file TPolyMarker3D.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