Demonstrates usage of TEveArrow class.
{
marker->SetName("Origin marker");
marker->SetMarkerColor(6);
marker->SetMarkerStyle(3);
marker->SetPoint(0,
a, +
a, +
a);
marker->SetPoint(1,
a, -
a, +
a);
marker->SetPoint(2, -
a, -
a, +
a);
marker->SetPoint(3, -
a, +
a, +
a);
marker->SetPoint(4, +
a, +
a, -
a);
marker->SetPoint(5, +
a, -
a, -
a);
marker->SetPoint(6, -
a, +
a, -
a);
marker->SetPoint(7, -
a, -
a, -
a);
gEve->AddElement(marker);
auto a1 =
new TEveArrow(1., 1., 10., 10., 4., 0.);
a1->SetTubeR(0.02);
TEveVector tv = a1->GetVector() * 0.5f + a1->GetOrigin();
t1->RefMainTrans().SetPos(tv.
Arr());
auto a2 =
new TEveArrow(20., 1., 10., 3., 0., 4.);
auto a3 =
new TEveArrow(1., 10., 10., 0., 20., 0.);
}
float Float_t
Float 4 bytes (float).
TEveVectorT< Float_t > TEveVector
@ kSigSegmentationViolation
Class used for display of a thick arrow.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
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.
- Author
- Alja Mrak-Tadel
Definition in file arrow.C.