TEvePointSet Class Reference

#include <TEvePointSet.h>

Inheritance diagram for TEvePointSet:

TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TEveLine TEveLine TEvePointSetProjected TEvePointSetProjected TEveLineProjected TEveLineProjected TEveTrack TEveTrack TEveLineProjected TEveLineProjected TEveTrack TEveTrack List of all members.

Public Member Functions

 TEvePointSet (Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEvePointSet (const char *name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEvePointSet (const TEvePointSet &e)
virtual ~TEvePointSet ()
virtual TObjectGetObject (const TEveException &) const
virtual TEvePointSetCloneElement () const
virtual void ClonePoints (const TEvePointSet &e)
void Reset (Int_t n_points=0, Int_t n_int_ids=0)
Int_t GrowFor (Int_t n_points)
virtual const char * GetTitle () const
virtual const char * GetElementName () const
virtual const char * GetElementTitle () const
virtual void SetElementName (const char *n)
virtual void SetTitle (const char *t)
virtual void SetElementTitle (const char *t)
virtual void SetElementNameTitle (const char *n, const char *t)
Int_t GetIntIdsPerPoint () const
Int_tGetPointIntIds (Int_t p) const
Int_t GetPointIntId (Int_t p, Int_t i) const
void SetPointIntIds (Int_t *ids)
void SetPointIntIds (Int_t n, Int_t *ids)
virtual void SetMarkerColor (Color_t col)
virtual void SetMarkerStyle (Style_t mstyle=1)
virtual void SetMarkerSize (Size_t msize=1)
virtual void Paint (Option_t *option="")
virtual void InitFill (Int_t subIdNum)
virtual void TakeAction (TEvePointSelector *)
virtual void PointSelected (Int_t id)
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
virtual void CopyVizParams (const TEveElement *el)
virtual void WriteVizParams (ostream &out, const TString &var)
virtual TClassProjectedClass (const TEveProjection *p) const
 ClassDef (TEvePointSet, 1)
 TEvePointSet (Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEvePointSet (const char *name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEvePointSet (const TEvePointSet &e)
virtual ~TEvePointSet ()
virtual TObjectGetObject (const TEveException &) const
virtual TEvePointSetCloneElement () const
virtual void ClonePoints (const TEvePointSet &e)
void Reset (Int_t n_points=0, Int_t n_int_ids=0)
Int_t GrowFor (Int_t n_points)
virtual const char * GetTitle () const
virtual const char * GetElementName () const
virtual const char * GetElementTitle () const
virtual void SetElementName (const char *n)
virtual void SetTitle (const char *t)
virtual void SetElementTitle (const char *t)
virtual void SetElementNameTitle (const char *n, const char *t)
Int_t GetIntIdsPerPoint () const
Int_tGetPointIntIds (Int_t p) const
Int_t GetPointIntId (Int_t p, Int_t i) const
void SetPointIntIds (Int_t *ids)
void SetPointIntIds (Int_t n, Int_t *ids)
virtual void SetMarkerColor (Color_t col)
virtual void SetMarkerStyle (Style_t mstyle=1)
virtual void SetMarkerSize (Size_t msize=1)
virtual void Paint (Option_t *option="")
virtual void InitFill (Int_t subIdNum)
virtual void TakeAction (TEvePointSelector *)
virtual void PointSelected (Int_t id)
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
virtual void CopyVizParams (const TEveElement *el)
virtual void WriteVizParams (ostream &out, const TString &var)
virtual TClassProjectedClass (const TEveProjection *p) const
 ClassDef (TEvePointSet, 1)

Protected Member Functions

void AssertIntIdsSize ()
void AssertIntIdsSize ()

Protected Attributes

TString fTitle
TArrayIfIntIds
Int_t fIntIdsPerPoint
TArrayIfIntIds

Private Member Functions

TEvePointSetoperator= (const TEvePointSet &)
TEvePointSetoperator= (const TEvePointSet &)

Friends

class TEvePointSetArray

Detailed Description

Definition at line 31 of file TEvePointSet.h.


Constructor & Destructor Documentation

TEvePointSet::TEvePointSet ( Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

Definition at line 49 of file TEvePointSet.cxx.

References TAttMarker::fMarkerStyle, TEveElement::fPickable, and kTRUE.

Referenced by CloneElement().

TEvePointSet::TEvePointSet ( const char *  name,
Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

Definition at line 69 of file TEvePointSet.cxx.

References TAttMarker::fMarkerStyle, TEveElement::fPickable, kTRUE, and TPolyMarker3D::SetName().

TEvePointSet::TEvePointSet ( const TEvePointSet e  ) 

Definition at line 90 of file TEvePointSet.cxx.

TEvePointSet::~TEvePointSet (  )  [virtual]

Definition at line 105 of file TEvePointSet.cxx.

References fIntIds.

TEvePointSet::TEvePointSet ( Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

TEvePointSet::TEvePointSet ( const char *  name,
Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

TEvePointSet::TEvePointSet ( const TEvePointSet e  ) 

virtual TEvePointSet::~TEvePointSet (  )  [virtual]


Member Function Documentation

TEvePointSet& TEvePointSet::operator= ( const TEvePointSet  )  [private]

void TEvePointSet::AssertIntIdsSize (  )  [inline, protected]

Definition at line 191 of file TEvePointSet.cxx.

References fIntIds, fIntIdsPerPoint, TPolyMarker3D::GetN(), TArray::GetSize(), and TArrayI::Set().

Referenced by SetPointIntIds().

virtual TObject* TEvePointSet::GetObject ( const TEveException  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 55 of file TEvePointSet.h.

virtual TEvePointSet* TEvePointSet::CloneElement (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 58 of file TEvePointSet.h.

References TEvePointSet().

void TEvePointSet::ClonePoints ( const TEvePointSet e  )  [virtual]

Definition at line 115 of file TEvePointSet.cxx.

References TPointSet3D::CopyIds(), fIntIds, fIntIdsPerPoint, TPolyMarker3D::fLastPoint, TPolyMarker3D::fN, TPolyMarker3D::fP, and i.

Referenced by TEveTrackProjected::MakeTrack(), and TEveTrack::TEveTrack().

void TEvePointSet::Reset ( Int_t  n_points = 0,
Int_t  n_int_ids = 0 
)

Definition at line 152 of file TEvePointSet.cxx.

References TPointSet3D::ClearIds(), fIntIds, fIntIdsPerPoint, TPolyMarker3D::fLastPoint, TPolyMarker3D::fN, TPolyMarker3D::fP, and TAttBBox::ResetBBox().

Referenced by TEveTrackPropagator::FillPointSet(), TVSDReader::LoadClusters(), TEveTrack::MakeTrack(), TEveTrackProjected::MakeTrack(), TEveLine::ReduceSegmentLengths(), TEvePointSetProjected::UpdateProjection(), and TEveLineProjected::UpdateProjection().

Int_t TEvePointSet::GrowFor ( Int_t  n_points  ) 

Definition at line 173 of file TEvePointSet.cxx.

References fIntIds, fIntIdsPerPoint, TArrayI::Set(), TPolyMarker3D::SetPoint(), and TPolyMarker3D::Size().

Referenced by TakeAction().

virtual const char* TEvePointSet::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 65 of file TEvePointSet.h.

References fTitle.

virtual const char* TEvePointSet::GetElementName (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 66 of file TEvePointSet.h.

References TPolyMarker3D::GetName().

virtual const char* TEvePointSet::GetElementTitle (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 67 of file TEvePointSet.h.

References fTitle.

virtual void TEvePointSet::SetElementName ( const char *  n  )  [inline, virtual]

Reimplemented from TEveElement.

Definition at line 68 of file TEvePointSet.h.

References TPolyMarker3D::fName, and TEveElement::NameTitleChanged().

virtual void TEvePointSet::SetTitle ( const char *  t  )  [inline, virtual]

Definition at line 69 of file TEvePointSet.h.

References fTitle, and TEveElement::NameTitleChanged().

Referenced by TVSDReader::LoadClusters(), and TEveTrack::SetStdTitle().

virtual void TEvePointSet::SetElementTitle ( const char *  t  )  [inline, virtual]

Reimplemented from TEveElement.

Definition at line 70 of file TEvePointSet.h.

References fTitle, and TEveElement::NameTitleChanged().

virtual void TEvePointSet::SetElementNameTitle ( const char *  n,
const char *  t 
) [inline, virtual]

Reimplemented from TEveElement.

Definition at line 71 of file TEvePointSet.h.

References TPolyMarker3D::fName, fTitle, and TEveElement::NameTitleChanged().

Int_t TEvePointSet::GetIntIdsPerPoint (  )  const [inline]

Definition at line 74 of file TEvePointSet.h.

References fIntIdsPerPoint.

Int_t * TEvePointSet::GetPointIntIds ( Int_t  p  )  const

Definition at line 202 of file TEvePointSet.cxx.

References fIntIds, fIntIdsPerPoint, and TArrayI::GetArray().

Int_t TEvePointSet::GetPointIntId ( Int_t  p,
Int_t  i 
) const

Definition at line 215 of file TEvePointSet.cxx.

References fIntIds, fIntIdsPerPoint, TArrayI::GetArray(), and kMinInt.

void TEvePointSet::SetPointIntIds ( Int_t ids  ) 

Definition at line 228 of file TEvePointSet.cxx.

References TPolyMarker3D::fLastPoint.

void TEvePointSet::SetPointIntIds ( Int_t  n,
Int_t ids 
)

Definition at line 237 of file TEvePointSet.cxx.

References AssertIntIdsSize(), fIntIds, fIntIdsPerPoint, TArrayI::GetArray(), i, and x.

virtual void TEvePointSet::SetMarkerColor ( Color_t  col  )  [inline, virtual]

Reimplemented from TAttMarker.

Definition at line 81 of file TEvePointSet.h.

References TEveElement::SetMainColor().

Referenced by TEvePointSetArray::InitBins(), and pointset().

void TEvePointSet::SetMarkerStyle ( Style_t  mstyle = 1  )  [virtual]

Reimplemented from TAttMarker.

Definition at line 251 of file TEvePointSet.cxx.

References TEveProjectable::fProjectedList, pi, and TAttMarker::SetMarkerStyle().

Referenced by TEvePointSetArray::InitBins(), TVSDReader::LoadClusters(), pointset(), and TEveTrack::SetAttLineAttMarker().

void TEvePointSet::SetMarkerSize ( Size_t  msize = 1  )  [virtual]

Reimplemented from TAttMarker.

Definition at line 272 of file TEvePointSet.cxx.

References TEveProjectable::fProjectedList, pi, and TAttMarker::SetMarkerSize().

Referenced by TEvePointSetArray::InitBins(), TVSDReader::LoadClusters(), pointset(), and TEveTrack::SetAttLineAttMarker().

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

Reimplemented from TPolyMarker3D.

Definition at line 295 of file TEvePointSet.cxx.

References TEveElement::PaintStandard().

void TEvePointSet::InitFill ( Int_t  subIdNum  )  [virtual]

Reimplemented from TEvePointSelectorConsumer.

Definition at line 305 of file TEvePointSet.cxx.

References fIntIds, fIntIdsPerPoint, TPolyMarker3D::GetN(), and TArrayI::Set().

void TEvePointSet::TakeAction ( TEvePointSelector  )  [virtual]

Implements TEvePointSelectorConsumer.

Definition at line 324 of file TEvePointSet.cxx.

References TMath::Cos(), fIntIds, fIntIdsPerPoint, TPolyMarker3D::fP, TEvePointSelectorConsumer::fSourceCS, TArrayI::GetArray(), GrowFor(), i, TEvePointSelectorConsumer::kTVT_RPhiZ, TEvePointSelectorConsumer::kTVT_XYZ, n, TMath::Nint(), p, sel, and TMath::Sin().

void TEvePointSet::PointSelected ( Int_t  id  )  [virtual]

Reimplemented from TPointSet3D.

Definition at line 421 of file TEvePointSet.cxx.

References TQObject::Emit(), and TPointSet3D::PointSelected().

Referenced by TEvePointSetProjected::PointSelected().

const TGPicture * TEvePointSet::GetListTreeIcon ( Bool_t  open = kFALSE  )  [virtual]

Reimplemented from TEveElement.

Definition at line 144 of file TEvePointSet.cxx.

References TEveElement::fgListTreeIcons.

void TEvePointSet::CopyVizParams ( const TEveElement el  )  [virtual]

Reimplemented from TEveElement.

Definition at line 386 of file TEvePointSet.cxx.

References TEveElement::CopyVizParams(), TPolyMarker3D::fOption, and m.

Referenced by TEveLine::CopyVizParams(), and TEvePointSetProjected::SetProjection().

void TEvePointSet::WriteVizParams ( ostream &  out,
const TString var 
) [virtual]

Reimplemented from TEveElement.

Definition at line 401 of file TEvePointSet.cxx.

References TAttMarker::SaveMarkerAttributes(), and TEveElement::WriteVizParams().

Referenced by TEveLine::WriteVizParams().

TClass * TEvePointSet::ProjectedClass ( const TEveProjection p  )  const [virtual]

Implements TEveProjectable.

Definition at line 413 of file TEvePointSet.cxx.

References xmlio::Class.

TEvePointSet::ClassDef ( TEvePointSet  ,
 
)

TEvePointSet& TEvePointSet::operator= ( const TEvePointSet  )  [private]

void TEvePointSet::AssertIntIdsSize (  )  [protected]

virtual TObject* TEvePointSet::GetObject ( const TEveException  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 55 of file TEvePointSet.h.

virtual TEvePointSet* TEvePointSet::CloneElement (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 58 of file TEvePointSet.h.

References TEvePointSet().

virtual void TEvePointSet::ClonePoints ( const TEvePointSet e  )  [virtual]

void TEvePointSet::Reset ( Int_t  n_points = 0,
Int_t  n_int_ids = 0 
)

Int_t TEvePointSet::GrowFor ( Int_t  n_points  ) 

virtual const char* TEvePointSet::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 65 of file TEvePointSet.h.

References fTitle.

virtual const char* TEvePointSet::GetElementName (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 66 of file TEvePointSet.h.

References TPolyMarker3D::GetName().

virtual const char* TEvePointSet::GetElementTitle (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 67 of file TEvePointSet.h.

References fTitle.

virtual void TEvePointSet::SetElementName ( const char *  n  )  [inline, virtual]

Reimplemented from TEveElement.

Definition at line 68 of file TEvePointSet.h.

References TPolyMarker3D::fName, and TEveElement::NameTitleChanged().

virtual void TEvePointSet::SetTitle ( const char *  t  )  [inline, virtual]

Definition at line 69 of file TEvePointSet.h.

References fTitle, and TEveElement::NameTitleChanged().

virtual void TEvePointSet::SetElementTitle ( const char *  t  )  [inline, virtual]

Reimplemented from TEveElement.

Definition at line 70 of file TEvePointSet.h.

References fTitle, and TEveElement::NameTitleChanged().

virtual void TEvePointSet::SetElementNameTitle ( const char *  n,
const char *  t 
) [inline, virtual]

Reimplemented from TEveElement.

Definition at line 71 of file TEvePointSet.h.

References TPolyMarker3D::fName, fTitle, and TEveElement::NameTitleChanged().

Int_t TEvePointSet::GetIntIdsPerPoint (  )  const [inline]

Definition at line 74 of file TEvePointSet.h.

References fIntIdsPerPoint.

Int_t* TEvePointSet::GetPointIntIds ( Int_t  p  )  const

Int_t TEvePointSet::GetPointIntId ( Int_t  p,
Int_t  i 
) const

void TEvePointSet::SetPointIntIds ( Int_t ids  ) 

void TEvePointSet::SetPointIntIds ( Int_t  n,
Int_t ids 
)

virtual void TEvePointSet::SetMarkerColor ( Color_t  col  )  [inline, virtual]

Reimplemented from TAttMarker.

Definition at line 81 of file TEvePointSet.h.

References TEveElement::SetMainColor().

virtual void TEvePointSet::SetMarkerStyle ( Style_t  mstyle = 1  )  [virtual]

Reimplemented from TAttMarker.

virtual void TEvePointSet::SetMarkerSize ( Size_t  msize = 1  )  [virtual]

Reimplemented from TAttMarker.

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

Reimplemented from TPolyMarker3D.

virtual void TEvePointSet::InitFill ( Int_t  subIdNum  )  [virtual]

Reimplemented from TEvePointSelectorConsumer.

virtual void TEvePointSet::TakeAction ( TEvePointSelector  )  [virtual]

Implements TEvePointSelectorConsumer.

virtual void TEvePointSet::PointSelected ( Int_t  id  )  [virtual]

Reimplemented from TPointSet3D.

virtual const TGPicture* TEvePointSet::GetListTreeIcon ( Bool_t  open = kFALSE  )  [virtual]

Reimplemented from TEveElement.

virtual void TEvePointSet::CopyVizParams ( const TEveElement el  )  [virtual]

Reimplemented from TEveElement.

virtual void TEvePointSet::WriteVizParams ( ostream &  out,
const TString var 
) [virtual]

Reimplemented from TEveElement.

virtual TClass* TEvePointSet::ProjectedClass ( const TEveProjection p  )  const [virtual]

Implements TEveProjectable.

TEvePointSet::ClassDef ( TEvePointSet  ,
 
)


Friends And Related Function Documentation

TEvePointSetArray [friend]

Definition at line 37 of file TEvePointSet.h.


Member Data Documentation

TString TEvePointSet::fTitle [protected]

Definition at line 43 of file TEvePointSet.h.

Referenced by GetElementTitle(), GetTitle(), SetElementNameTitle(), SetElementTitle(), and SetTitle().

TArrayI* TEvePointSet::fIntIds [protected]

Definition at line 44 of file TEvePointSet.h.

Referenced by AssertIntIdsSize(), ClonePoints(), GetPointIntId(), GetPointIntIds(), GrowFor(), InitFill(), Reset(), SetPointIntIds(), TakeAction(), and ~TEvePointSet().

Int_t TEvePointSet::fIntIdsPerPoint [protected]

Definition at line 45 of file TEvePointSet.h.

Referenced by AssertIntIdsSize(), ClonePoints(), GetIntIdsPerPoint(), GetPointIntId(), GetPointIntIds(), GrowFor(), InitFill(), Reset(), SetPointIntIds(), and TakeAction().

TArrayI* TEvePointSet::fIntIds [protected]

Definition at line 44 of file TEvePointSet.h.


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