2#include <ROOT/REveManager.hxx>
3#include <ROOT/REveScene.hxx>
4#include <ROOT/REveLine.hxx>
5#include <ROOT/REveCompound.hxx>
11 auto line =
new REX::REveLine;
15 for (
Int_t i=0; i<
n; ++i) {
16 line->SetNextPoint(
x,
y, z);
30 auto eveMng = REX::REveManager::Create();
39 auto cmp =
new REX::REveCompound;
52 cmp->AddElement(
line);
57 eveMng->GetEventScene()->AddElement(cmp);
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.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
REX::REveManager * eveMng
REX::REveLine * random_line(TRandom &rnd, Int_t n, Float_t delta)