12 #ifndef ROOT_TPolyLineShape
13 #define ROOT_TPolyLineShape
16 #include "TAttMarker.h"
21 enum EShapeTypes { kNULL=0, kSphere, kBrik};
27 EShapeTypes fShapeType;
30 TPoints3DABC *fPoints;
40 virtual void SetConnection(TShape *connection){ fConnection = connection;}
48 virtual void Draw(Option_t *opt=
"");
49 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
50 virtual TShape *GetConnection()
const {
return fConnection;}
52 virtual const char *
GetName()
const;
56 virtual const char *
GetTitle()
const;
57 virtual TPoints3DABC *GetMarker()
const {
return fPoints;}
58 virtual TPoints3DABC *GetPoints()
const {
return fPoints;}
59 virtual TShape *GetShape()
const {
return fShape;}
60 virtual Bool_t GetSmooth()
const {
return fSmooth;}
61 virtual Float_t GetWidthFactor()
const {
return fWidthFactor;}
62 virtual void PaintNode(Float_t *start,Float_t *end,Option_t *option);
63 virtual void Paint(Option_t *opt);
64 virtual void Paint3d(Option_t *opt);
67 static Double_t *
Gyrot(Double_t *dirc, Double_t cosang,Double_t sinang, Double_t trans[3][3]);
68 virtual void PaintPoints(Int_t n, Float_t *p=0, Option_t *opt=
"");
69 virtual void PaintPolyMarker(Int_t n, Float_t *p=0, Marker_t m=0, Option_t *opt=
"");
70 static Float_t
Product(Float_t *v1, Float_t *v2,Int_t ndim=3);
71 static Double_t
Product(Double_t *v1, Double_t *v2,Int_t ndim=3);
74 virtual Int_t SetConnection(EShapeTypes connection=kBrik);
75 virtual void SetShape(TShape *shape);
76 virtual void SetSmooth(Bool_t smooth=kTRUE){ fSmooth=smooth;}
78 virtual void SetWidthFactor(Float_t fact=1.0){fWidthFactor = fact;}
79 virtual Int_t
Size()
const;
virtual void SetShape(TShape *shape)
to be documented
virtual char * GetObjectInfo(Int_t px, Int_t py) const
forward the GetObjectInfo call to the decorated object
virtual Size_t GetSizeAttribute() const
to be documented
virtual Size_t SetSizeAttribute(Size_t size)
to be documented
virtual Int_t Size() const
to be documented
virtual void PaintNode(Float_t *start, Float_t *end, Option_t *option)
virtual Size3D * CreateX3DSize(Bool_t marker=kFALSE)
to be documented
virtual Int_t PointDistancetoPrimitive(Int_t px, Int_t py)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
forward the ExecuteEvent call to the decorated object
virtual void Paint(Option_t *opt)
to be documented
virtual Color_t GetColorAttribute() const
to be documented
virtual void Create()
the X3D buffer sizes
TPolyLineShape()
to be documented
virtual const char * GetTitle() const
forward the GetObjectInfo call to the decorated object
virtual void PaintX3DLine(Option_t *opt="")
to be documented
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual Style_t SetStyleAttribute(Style_t style)
virtual void Paint3d(Option_t *opt)
to be documented
virtual ~TPolyLineShape()
to be documented
virtual void PaintX3DMarker(Option_t *opt="")
to be documented
virtual void Sizeof3D() const
Return total X3D size of this shape with its attributes.
virtual const char * GetName() const
forward the GetName call to the decorated object
static Double_t * Gyrot(Double_t *dirc, Double_t cosang, Double_t sinang, Double_t trans[3][3])
virtual Color_t SetColorAttribute(Color_t color)
to be documented
virtual void PaintPolyMarker(Int_t n, Float_t *p=0, Marker_t m=0, Option_t *opt="")
Paint polymarker in CurrentPad World coordinates.
static Float_t Product(Float_t *v1, Float_t *v2, Int_t ndim=3)
to be documented
virtual Style_t GetStyleAttribute() const
to be documented
virtual void Draw(Option_t *opt="")
to be documented
virtual void PaintPoints(Int_t n, Float_t *p=0, Option_t *opt="")
Draw this 3-D polyline with new coordinates.