17 marker->SetName(
"Origin marker");
18 marker->SetMarkerColor(6);
19 marker->SetMarkerStyle(3);
21 marker->SetPoint(0,
a, +
a, +
a);
22 marker->SetPoint(1,
a, -
a, +
a);
23 marker->SetPoint(2, -
a, -
a, +
a);
24 marker->SetPoint(3, -
a, +
a, +
a);
25 marker->SetPoint(4, +
a, +
a, -
a);
26 marker->SetPoint(5, +
a, -
a, -
a);
27 marker->SetPoint(6, -
a, +
a, -
a);
28 marker->SetPoint(7, -
a, -
a, -
a);
31 auto a1 =
new TEveArrow(1., 1., 10., 10., 4., 0.);
32 a1->SetMainColor(
kBlue);
34 a1->SetPickable(
kTRUE);
38 TEveVector tv = a1->GetVector() * 0.5f + a1->GetOrigin();
39 t1->RefMainTrans().SetPos(tv.
Arr());
42 auto a2 =
new TEveArrow(20., 1., 10., 3., 0., 4.);
44 a2->SetPickable(
kTRUE);
47 auto a3 =
new TEveArrow(1., 10., 10., 0., 20., 0.);
49 a3->SetPickable(
kTRUE);
float Float_t
Float 4 bytes (float)
R__EXTERN TEveManager * gEve
@ kSigSegmentationViolation
R__EXTERN TSystem * gSystem
Class used for display of a thick arrow.
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
TEveElement class used for displaying FreeType GL fonts.
virtual void IgnoreSignal(ESignals sig, Bool_t ignore=kTRUE)
If ignore is true ignore the specified signal, else restore previous behaviour.