27 for (
Int_t i = 0; i < nlines; i++) {
28 ls->AddLine(
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
33 ls->AddMarker(i,
r.Rndm());
37 ls->SetMarkerStyle(1);
38 ls->SetAlwaysSecSelect(sc);
44void lineset(
bool secondarySelect =
true)
46 auto eveMng = REX::REveManager::Create();
49 auto ls1 = makeLineSet(50, 10, secondarySelect);
51 ls1->SetMarkerSize(8);
54 ls1->SetName(
"LineSet Violet");
56 auto ls2 = makeLineSet(10, 10, secondarySelect);
58 ls2->SetMarkerSize(8);
59 ls2->SetMainColor(
kBlue);
60 ls2->SetMarkerColor(
kCyan + 2);
61 ls2->SetName(
"LineSet Blue");
63 ls2->RefMainTrans().Move3LF(40, 200, 200);
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveScene * GetEventScene() const
REveStraightLineSet Set of straight lines with optional markers along the lines.
This is the base class for the ROOT Random number generators.
Namespace for ROOT features in testing.
R__EXTERN REveManager * gEve