#ifndef ROOT_TEveArrow
#define ROOT_TEveArrow
#include "TEveElement.h"
#include "TNamed.h"
#include "TAtt3D.h"
#include "TAttBBox.h"
#include "TEveVSDStructs.h"
class TEveArrow : public TEveElement,
public TNamed,
public TAtt3D,
public TAttBBox
{
friend class TEveArrowGL;
friend class TEveArrowEditor;
private:
TEveArrow(const TEveArrow&);
TEveArrow& operator=(const TEveArrow&);
protected:
Color_t fColor;
Float_t fTubeR;
Float_t fConeR;
Float_t fConeL;
TEveVector fOrigin;
TEveVector fVector;
public:
TEveArrow(Float_t xVec=0, Float_t yVec=0, Float_t zVec=1,
Float_t xOrg=0, Float_t yOrg=0, Float_t zOrg=0);
virtual ~TEveArrow() {}
void SetTubeR(Float_t x) { fTubeR = x; }
void SetConeR(Float_t x) { fConeR = x; }
void SetConeL(Float_t x) { fConeL = x; }
Float_t GetTubeR() const { return fTubeR; }
Float_t GetConeR() const { return fConeR; }
Float_t GetConeL() const { return fConeL; }
TEveVector GetVector() { return fVector; }
TEveVector GetOrigin() { return fOrigin; }
virtual void ComputeBBox();
virtual void Paint(Option_t* option="");
virtual Bool_t CanEditMainColor() const { return kTRUE; }
ClassDef(TEveArrow, 0);
};
#endif
Last change: Mon Oct 20 13:14:41 2008
Last generated: 2008-10-20 13:14
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.