9#include <ROOT/REveElement.hxx>
10#include <ROOT/REveScene.hxx>
11#include <ROOT/REveManager.hxx>
12#include <ROOT/REvePointSet.hxx>
20 REX::REvePointSet *
ps =
new REX::REvePointSet(
"MyTestPoints",
"list of eve points", npoints);
22 for (
Int_t i=0; i < npoints; ++i)
23 ps->SetNextPoint(
r.Uniform(-
s,
s),
r.Uniform(-
s,
s),
r.Uniform(-
s,
s));
25 ps->SetMarkerColor(color);
26 ps->SetMarkerSize(3+
r.Uniform(1, 2));
27 ps->SetMarkerStyle(4);
33 auto eveMng = REX::REveManager::Create();
35 REX::REveElement *
event =
eveMng->GetEventScene();
37 event->AddElement(
ps);
R__EXTERN TRandom * gRandom
This is the base class for the ROOT Random number generators.
REX::REveManager * eveMng
static constexpr double s
static constexpr double ps
REX::REvePointSet * createPointSet(int npoints=2, float s=2, int color=28)