15 for (
Int_t i = 0; i <
n; ++i) {
16 line->SetNextPoint(
x,
y, z);
17 x +=
rnd.Uniform(0, delta);
18 y +=
rnd.Uniform(0, delta);
19 z +=
rnd.Uniform(0, delta);
30 auto eveMng = REX::REveManager::Create();
51 cmp->AddElement(
line);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void SetMainColor(Color_t color) override
SetMainColor for the compound.
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveLine An arbitrary polyline with fixed line and marker attributes.
REveScene * GetEventScene() const
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
This is the base class for the ROOT Random number generators.
ROOT::Experimental::REveManager * eveMng
REX::REveLine * random_line(TRandom &rnd, Int_t n, Float_t delta)