18 marker->SetName(
"Origin marker");
19 marker->SetMarkerColor(6);
20 marker->SetMarkerStyle(3);
22 marker->SetPoint(0,
a, +
a, +
a);
23 marker->SetPoint(1,
a, -
a, +
a);
24 marker->SetPoint(2, -
a, -
a, +
a);
25 marker->SetPoint(3, -
a, +
a, +
a);
26 marker->SetPoint(4, +
a, +
a, -
a);
27 marker->SetPoint(5, +
a, -
a, -
a);
28 marker->SetPoint(6, -
a, +
a, -
a);
29 marker->SetPoint(7, -
a, -
a, -
a);
32 auto a1 =
new TEveArrow(1., 1., 10., 10., 4., 0.);
33 a1->SetMainColor(
kBlue);
35 a1->SetPickable(
kTRUE);
39 TEveVector tv = a1->GetVector()*0.5f+a1->GetOrigin();
40 t1->RefMainTrans().SetPos(tv.
Arr());
43 auto a2 =
new TEveArrow(20., 1., 10., 3., 0., 4.);
45 a2->SetPickable(
kTRUE);
48 auto a3 =
new TEveArrow(1., 10., 10., 0., 20., 0.);
50 a3->SetPickable(
kTRUE);
R__EXTERN TEveManager * gEve
@ kSigSegmentationViolation
R__EXTERN TSystem * gSystem
Class used for display of a thick arrow.
void AddElement(TEveElement *element, TEveElement *parent=0)
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.