StRoot
1
|
Public Member Functions | |
TPolyLineShape () | |
to be documented | |
TPolyLineShape (TPoints3DABC *points, Option_t *option="P") | |
fShape = new TTUBE("tube","tube","void",0.5,0.5); | |
virtual | ~TPolyLineShape () |
to be documented | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *opt="") |
to be documented | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
forward the ExecuteEvent call to the decorated object | |
virtual TShape * | GetConnection () const |
virtual Color_t | GetColorAttribute () const |
to be documented | |
virtual const char * | GetName () const |
forward the GetName call to the decorated object | |
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 Style_t | GetStyleAttribute () const |
to be documented | |
virtual const char * | GetTitle () const |
forward the GetObjectInfo call to the decorated object | |
virtual TPoints3DABC * | GetMarker () const |
virtual TPoints3DABC * | GetPoints () const |
virtual TShape * | GetShape () const |
virtual Bool_t | GetSmooth () const |
virtual Float_t | GetWidthFactor () const |
virtual void | PaintNode (Float_t *start, Float_t *end, Option_t *option) |
virtual void | Paint (Option_t *opt) |
to be documented | |
virtual void | Paint3d (Option_t *opt) |
to be documented | |
virtual void | PaintX3DLine (Option_t *opt="") |
to be documented | |
virtual void | PaintX3DMarker (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. | |
virtual void | PaintPolyMarker (Int_t n, Float_t *p=0, Marker_t m=0, Option_t *opt="") |
Paint polymarker in CurrentPad World coordinates. | |
virtual Color_t | SetColorAttribute (Color_t color) |
to be documented | |
virtual Size_t | SetSizeAttribute (Size_t size) |
to be documented | |
virtual Int_t | SetConnection (EShapeTypes connection=kBrik) |
to be documented | |
virtual void | SetShape (TShape *shape) |
to be documented | |
virtual void | SetSmooth (Bool_t smooth=kTRUE) |
virtual Style_t | SetStyleAttribute (Style_t style) |
virtual void | SetWidthFactor (Float_t fact=1.0) |
virtual Int_t | Size () const |
to be documented | |
virtual void | Sizeof3D () const |
Return total X3D size of this shape with its attributes. | |
Static Public Member Functions | |
static Double_t * | Gyrot (Double_t *dirc, Double_t cosang, Double_t sinang, Double_t trans[3][3]) |
static Float_t | Product (Float_t *v1, Float_t *v2, Int_t ndim=3) |
to be documented | |
static Double_t | Product (Double_t *v1, Double_t *v2, Int_t ndim=3) |
to be documented | |
Protected Member Functions | |
virtual void | Create () |
the X3D buffer sizes More... | |
virtual Size3D * | CreateX3DSize (Bool_t marker=kFALSE) |
to be documented | |
virtual void | SetConnection (TShape *connection) |
virtual Int_t | PointDistancetoPrimitive (Int_t px, Int_t py) |
Definition at line 23 of file TPolyLineShape.h.
|
protectedvirtual |
the X3D buffer sizes
to be documented
Definition at line 135 of file TPolyLineShape.cxx.
Referenced by Draw(), Paint3d(), and TPolyLineShape().
|
virtual |
Compute distance from point px,py to a 3-D polyline.
Compute the closest distance of approach from point px,py to each segment of the polyline. Returns when the distance found is below DistanceMaximum. The distance is computed in pixels units.
Definition at line 199 of file TPolyLineShape.cxx.
References PointDistancetoPrimitive().
|
static |
Definition at line 680 of file TPolyLineShape.cxx.
Referenced by PaintNode().
|
virtual |
Double_t *start - coordinate of the start point of the current segment Double_t *end - coordinate of the end point of the current segment
Definition at line 321 of file TPolyLineShape.cxx.
References Gyrot(), TVolume::PaintNodePosition(), Product(), and TVolume::SetVisibility().
Referenced by Paint3d().
|
protectedvirtual |
Compute distance from point px,py to a 3-D points.
Compute the closest distance of approach from point px,py to each segment of the polyline. Returns when the distance found is below DistanceMaximum. The distance is computed in pixels units.
Definition at line 217 of file TPolyLineShape.cxx.
Referenced by DistancetoPrimitive().
|
virtual |
Set new style for this line. Returns: previous value of the line style
Definition at line 746 of file TPolyLineShape.cxx.
References GetStyleAttribute().