TEveLine Class Reference

#include <TEveLine.h>

Inheritance diagram for TEveLine:

TEvePointSet TAttLine TEvePointSet TAttLine TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TQObject TEveProjectable TEvePointSelectorConsumer TPointSet3D TEveElement TEveLineProjected TEveLineProjected TEveTrack TEveTrack TEveTrackProjected TEveTrackProjected TEveTrackProjected TEveTrackProjected List of all members.

Public Member Functions

 TEveLine (Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEveLine (const char *name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
virtual ~TEveLine ()
virtual void SetMarkerColor (Color_t col)
virtual void SetLineColor (Color_t col)
virtual void SetLineStyle (Style_t lstyle)
virtual void SetLineWidth (Width_t lwidth)
Bool_t GetRnrLine () const
Bool_t GetRnrPoints () const
Bool_t GetSmooth () const
void SetRnrLine (Bool_t r)
void SetRnrPoints (Bool_t r)
void SetSmooth (Bool_t r)
void ReduceSegmentLengths (Float_t max)
TEveVector GetLineStart () const
TEveVector GetLineEnd () const
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 (TEveLine, 0)
 TEveLine (Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 TEveLine (const char *name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
virtual ~TEveLine ()
virtual void SetMarkerColor (Color_t col)
virtual void SetLineColor (Color_t col)
virtual void SetLineStyle (Style_t lstyle)
virtual void SetLineWidth (Width_t lwidth)
Bool_t GetRnrLine () const
Bool_t GetRnrPoints () const
Bool_t GetSmooth () const
void SetRnrLine (Bool_t r)
void SetRnrPoints (Bool_t r)
void SetSmooth (Bool_t r)
void ReduceSegmentLengths (Float_t max)
TEveVector GetLineStart () const
TEveVector GetLineEnd () const
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 (TEveLine, 0)

Static Public Member Functions

static Bool_t GetDefaultSmooth ()
static void SetDefaultSmooth (Bool_t r)
static Bool_t GetDefaultSmooth ()
static void SetDefaultSmooth (Bool_t r)

Protected Attributes

Bool_t fRnrLine
Bool_t fRnrPoints
Bool_t fSmooth

Static Protected Attributes

static Bool_t fgDefaultSmooth

Private Member Functions

 TEveLine (const TEveLine &)
TEveLineoperator= (const TEveLine &)
 TEveLine (const TEveLine &)
TEveLineoperator= (const TEveLine &)

Friends

class TEveLineEditor
class TEveLineGL

Detailed Description

Definition at line 24 of file TEveLine.h.


Constructor & Destructor Documentation

TEveLine::TEveLine ( const TEveLine  )  [private]

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

Definition at line 29 of file TEveLine.cxx.

References TAttLine::fLineColor, TEveElement::fMainColorPtr, TAttMarker::fMarkerColor, and kGreen.

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

Definition at line 42 of file TEveLine.cxx.

References TAttLine::fLineColor, TEveElement::fMainColorPtr, TAttMarker::fMarkerColor, and kGreen.

virtual TEveLine::~TEveLine (  )  [inline, virtual]

Definition at line 44 of file TEveLine.h.

TEveLine::TEveLine ( const TEveLine  )  [private]

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

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

virtual TEveLine::~TEveLine (  )  [inline, virtual]

Definition at line 44 of file TEveLine.h.


Member Function Documentation

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

void TEveLine::SetMarkerColor ( Color_t  col  )  [virtual]

Reimplemented from TEvePointSet.

Definition at line 63 of file TEveLine.cxx.

References TAttMarker::fMarkerColor, TEveProjectable::fProjectedList, l, pi, and TAttMarker::SetMarkerColor().

Referenced by TEveTrack::SetAttLineAttMarker().

virtual void TEveLine::SetLineColor ( Color_t  col  )  [inline, virtual]

Reimplemented from TAttLine.

Definition at line 48 of file TEveLine.h.

References TEveElement::SetMainColor().

Referenced by TEveTrack::SetAttLineAttMarker().

void TEveLine::SetLineStyle ( Style_t  lstyle  )  [virtual]

Reimplemented from TAttLine.

Definition at line 82 of file TEveLine.cxx.

References TEveProjectable::fProjectedList, pi, and TAttLine::SetLineStyle().

Referenced by compound(), and TEveTrack::SetAttLineAttMarker().

void TEveLine::SetLineWidth ( Width_t  lwidth  )  [virtual]

Reimplemented from TAttLine.

Definition at line 102 of file TEveLine.cxx.

References TEveProjectable::fProjectedList, pi, and TAttLine::SetLineWidth().

Referenced by compound(), and TEveTrack::SetAttLineAttMarker().

Bool_t TEveLine::GetRnrLine (  )  const [inline]

Definition at line 52 of file TEveLine.h.

References fRnrLine.

Bool_t TEveLine::GetRnrPoints (  )  const [inline]

Definition at line 53 of file TEveLine.h.

References fRnrPoints.

Bool_t TEveLine::GetSmooth (  )  const [inline]

Definition at line 54 of file TEveLine.h.

References fSmooth.

void TEveLine::SetRnrLine ( Bool_t  r  ) 

Definition at line 122 of file TEveLine.cxx.

References TEveProjectable::fProjectedList, fRnrLine, l, and pi.

Referenced by TEveLineEditor::DoRnrLine(), and TEveTrack::SetAttLineAttMarker().

void TEveLine::SetRnrPoints ( Bool_t  r  ) 

Definition at line 141 of file TEveLine.cxx.

References TEveProjectable::fProjectedList, fRnrPoints, l, and pi.

Referenced by TEveLineEditor::DoRnrPoints(), and TEveTrack::SetAttLineAttMarker().

void TEveLine::SetSmooth ( Bool_t  r  ) 

Definition at line 160 of file TEveLine.cxx.

References TEveProjectable::fProjectedList, fSmooth, l, and pi.

Referenced by TEveLineEditor::DoSmooth().

void TEveLine::ReduceSegmentLengths ( Float_t  max  ) 

Definition at line 181 of file TEveLine.cxx.

References a, b, d, TMath::FloorNint(), TPolyMarker3D::GetP(), i, j, n, p, TEvePointSet::Reset(), s, TPolyMarker3D::SetNextPoint(), TPolyMarker3D::Size(), and TMath::Sqrt().

Referenced by TEveTrackProjected::MakeTrack().

TEveVector TEveLine::GetLineStart (  )  const

Definition at line 221 of file TEveLine.cxx.

References TPolyMarker3D::GetPoint().

TEveVector TEveLine::GetLineEnd (  )  const

Definition at line 232 of file TEveLine.cxx.

References TPolyMarker3D::fLastPoint, and TPolyMarker3D::GetPoint().

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

Reimplemented from TEvePointSet.

Definition at line 55 of file TEveLine.cxx.

References TEveElement::fgListTreeIcons.

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

Reimplemented from TEvePointSet.

Definition at line 245 of file TEveLine.cxx.

References TEvePointSet::CopyVizParams(), fRnrLine, fRnrPoints, fSmooth, and m.

Referenced by TEveTrack::CopyVizParams(), and TEveLineProjected::SetProjection().

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

Reimplemented from TEvePointSet.

Definition at line 262 of file TEveLine.cxx.

References fRnrLine, fRnrPoints, fSmooth, TAttLine::SaveLineAttributes(), t, TEveElement::ToString(), and TEvePointSet::WriteVizParams().

Referenced by TEveTrack::WriteVizParams().

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

Reimplemented from TEvePointSet.

Definition at line 276 of file TEveLine.cxx.

References xmlio::Class.

Bool_t TEveLine::GetDefaultSmooth (  )  [static]

Definition at line 286 of file TEveLine.cxx.

References fgDefaultSmooth.

Referenced by G__G__Eve2_595_0_22(), and G__setup_memfuncTEveLine().

void TEveLine::SetDefaultSmooth ( Bool_t  r  )  [static]

Definition at line 295 of file TEveLine.cxx.

References fgDefaultSmooth.

Referenced by G__G__Eve2_595_0_23(), and G__setup_memfuncTEveLine().

TEveLine::ClassDef ( TEveLine  ,
 
)

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

virtual void TEveLine::SetMarkerColor ( Color_t  col  )  [virtual]

Reimplemented from TEvePointSet.

virtual void TEveLine::SetLineColor ( Color_t  col  )  [inline, virtual]

Reimplemented from TAttLine.

Definition at line 48 of file TEveLine.h.

References TEveElement::SetMainColor().

virtual void TEveLine::SetLineStyle ( Style_t  lstyle  )  [virtual]

Reimplemented from TAttLine.

virtual void TEveLine::SetLineWidth ( Width_t  lwidth  )  [virtual]

Reimplemented from TAttLine.

Bool_t TEveLine::GetRnrLine (  )  const [inline]

Definition at line 52 of file TEveLine.h.

References fRnrLine.

Bool_t TEveLine::GetRnrPoints (  )  const [inline]

Definition at line 53 of file TEveLine.h.

References fRnrPoints.

Bool_t TEveLine::GetSmooth (  )  const [inline]

Definition at line 54 of file TEveLine.h.

References fSmooth.

void TEveLine::SetRnrLine ( Bool_t  r  ) 

void TEveLine::SetRnrPoints ( Bool_t  r  ) 

void TEveLine::SetSmooth ( Bool_t  r  ) 

void TEveLine::ReduceSegmentLengths ( Float_t  max  ) 

TEveVector TEveLine::GetLineStart (  )  const

TEveVector TEveLine::GetLineEnd (  )  const

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

Reimplemented from TEvePointSet.

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

Reimplemented from TEvePointSet.

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

Reimplemented from TEvePointSet.

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

Reimplemented from TEvePointSet.

static Bool_t TEveLine::GetDefaultSmooth (  )  [static]

static void TEveLine::SetDefaultSmooth ( Bool_t  r  )  [static]

TEveLine::ClassDef ( TEveLine  ,
 
)


Friends And Related Function Documentation

TEveLineEditor [friend]

Definition at line 27 of file TEveLine.h.

TEveLineGL [friend]

Definition at line 28 of file TEveLine.h.


Member Data Documentation

Bool_t TEveLine::fRnrLine [protected]

Definition at line 35 of file TEveLine.h.

Referenced by CopyVizParams(), TEveTrackProjectedGL::DirectDraw(), GetRnrLine(), TEveLineEditor::SetModel(), SetRnrLine(), and WriteVizParams().

Bool_t TEveLine::fRnrPoints [protected]

Definition at line 36 of file TEveLine.h.

Referenced by CopyVizParams(), TEveTrackProjectedGL::DirectDraw(), GetRnrPoints(), TEveLineEditor::SetModel(), SetRnrPoints(), and WriteVizParams().

Bool_t TEveLine::fSmooth [protected]

Definition at line 37 of file TEveLine.h.

Referenced by CopyVizParams(), TEveTrackProjectedGL::DirectDraw(), GetSmooth(), TEveLineEditor::SetModel(), SetSmooth(), and WriteVizParams().

static Bool_t TEveLine::fgDefaultSmooth [static, protected]

Definition at line 39 of file TEveLine.h.

Referenced by GetDefaultSmooth(), and SetDefaultSmooth().


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