19 for(
Int_t i = 0; i<nlines; i++)
21 ls->
AddLine(
r.Uniform(-s,s),
r.Uniform(-s,s),
r.Uniform(-s,s),
22 r.Uniform(-s,s),
r.Uniform(-s,s),
r.Uniform(-s,s));
48 for(
Int_t i = 0; i<nlines; i++)
50 ls->
AddLine(
r.Uniform(-s,s),
r.Uniform(-s,s), 0,
51 r.Uniform(-s,s),
r.Uniform(-s,s), 0);
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
def lineset(nlines=40, nmarkers=4)
This is the base class for the ROOT Random number generators.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
R__EXTERN TEveManager * gEve
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
static constexpr double nm
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
static constexpr double s
Marker_t * AddMarker(Float_t x, Float_t y, Float_t z, Int_t line_id=-1)
Add a marker with given position.
Line_t * AddLine(Float_t x1, Float_t y1, Float_t z1, Float_t x2, Float_t y2, Float_t z2)
Add a line.
Set of straight lines with optional markers along the lines.