#ifndef ROOT_TEveLine
#define ROOT_TEveLine
#include "TEveUtil.h"
#include "TEvePointSet.h"
#include "TAttLine.h"
class TEveLine : public TEvePointSet,
public TAttLine
{
friend class TEveLineEditor;
friend class TEveLineGL;
private:
TEveLine(const TEveLine&);
TEveLine& operator=(const TEveLine&);
protected:
Bool_t fRnrLine;
Bool_t fRnrPoints;
Bool_t fSmooth;
static Bool_t fgDefaultSmooth;
public:
TEveLine(Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ);
TEveLine(const Text_t* name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ);
virtual ~TEveLine() {}
virtual void SetLineColor(Color_t col) { SetMainColor(col); }
virtual void SetMarkerColor(Color_t col);
Bool_t GetRnrLine() const { return fRnrLine; }
Bool_t GetRnrPoints() const { return fRnrPoints; }
Bool_t GetSmooth() const { return fSmooth; }
void SetRnrLine(Bool_t r);
void SetRnrPoints(Bool_t r);
void SetSmooth(Bool_t r);
void ReduceSegmentLengths(Float_t max);
virtual void CopyVizParams(const TEveElement* el);
virtual void WriteVizParams(ostream& out, const TString& var);
virtual TClass* ProjectedClass() const;
static Bool_t GetDefaultSmooth() { return fgDefaultSmooth; }
static void SetDefaultSmooth(Bool_t r) { fgDefaultSmooth = r; }
ClassDef(TEveLine, 0);
};
class TEveLineProjected : public TEveLine,
public TEveProjected
{
private:
TEveLineProjected(const TEveLineProjected&);
TEveLineProjected& operator=(const TEveLineProjected&);
public:
TEveLineProjected();
virtual ~TEveLineProjected() {}
virtual void SetProjection(TEveProjectionManager* mng, TEveProjectable* model);
virtual void SetDepth(Float_t d);
virtual void UpdateProjection();
ClassDef(TEveLineProjected, 0);
};
#endif
Last change: Wed Sep 17 08:52:25 2008
Last generated: 2008-09-17 08:52
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.