25 for (
Int_t i = 0; i<nlines; i++) {
26 ls->AddLine(
r.Uniform(-
s,
s),
r.Uniform(-
s,
s),
r.Uniform(-
s,
s),
27 r.Uniform(-
s,
s),
r.Uniform(-
s,
s),
r.Uniform(-
s,
s));
30 for (
Int_t m = 0;
m <
nm;
m++) ls->AddMarker(i,
r.Rndm());
33 ls->SetMarkerSize(0.5);
34 ls->SetMarkerStyle(1);
35 ls->SetAlwaysSecSelect(sc);
47 ls1->SetName(
"LineSet_1");
50 ls2->SetMainColor(
kBlue);
51 ls2->SetName(
"LineSet_2");
53 ls2->RefMainTrans().Move3LF(40, 200, 200);
R__EXTERN TEveManager * gEve
static REveManager * Create()
If global REveManager* REX::gEve is not set initialize it.
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
REveStraightLineSet Set of straight lines with optional markers along the lines.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
TEveScene * GetEventScene() const
This is the base class for the ROOT Random number generators.
REX::REveManager * eveMng
void lineset(bool secondarySelect=true)
REX::REveStraightLineSet * makeLineSet(Int_t nlines=40, Int_t nmarkers=4, bool sc=true)
static constexpr double nm
static constexpr double s