26 for (
Int_t i = 0; i < nlines; i++) {
27 ls->AddLine(
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
32 ls->AddMarker(i,
r.Rndm());
36 ls->SetMarkerStyle(1);
37 ls->SetAlwaysSecSelect(sc);
45 auto eveMng = REX::REveManager::Create();
49 ls1->SetMarkerColor(
kGreen + 3);
50 ls1->SetName(
"LineSet_1");
53 ls2->SetMainColor(
kBlue);
54 ls2->SetMarkerColor(
kCyan + 2);
55 ls2->SetName(
"LineSet_2");
57 ls2->RefMainTrans().Move3LF(40, 200, 200);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveScene * GetEventScene() const
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
REveStraightLineSet Set of straight lines with optional markers along the lines.
This is the base class for the ROOT Random number generators.
ROOT::Experimental::REveManager * eveMng
REX::REveStraightLineSet * makeLineSet(Int_t nlines=40, Int_t nmarkers=4, bool sc=true)
R__EXTERN REveManager * gEve