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", 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));
26 ps->SetMarkerColor(color);
27 ps->SetMarkerSize(3+
r.Uniform(1, 2));
28 ps->SetMarkerStyle(4);
34 auto eveMng = REX::REveManager::Create();
36 REX::REveElement *
event =
eveMng->GetEventScene();
38 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)