3 #include "TEveProjectionManager.h"
19 fBBox[0] = -a +
fPos[0];
20 fBBox[1] = a + fPos[0];
22 fBBox[2] = -a + fPos[1];
23 fBBox[3] = a + fPos[1];
25 fBBox[4] = -a + fPos[2];
26 fBBox[5] = a + fPos[2];
33 return TEveEllipsoidProjected::Class();
64 TEveProjection* proj = GetManager()->GetProjection();
68 float b[] = {-a + p[0], a + p[0], -a + p[1], a + p[1], -a + p[2], a + p[2]};
70 v.Set(b[0], b[2], b[4]);
71 proj->ProjectVector(v, fDepth);
73 v.Set(b[1], b[2], b[4]);
74 proj->ProjectVector(v, fDepth);
76 v.Set(b[0], b[3], b[4]);
77 proj->ProjectVector(v, fDepth);
79 v.Set(b[1], b[3], b[4]);
80 proj->ProjectVector(v, fDepth);
82 v.Set(b[0], b[2], b[5]);
83 proj->ProjectVector(v, fDepth);
85 v.Set(b[1], b[2], b[5]);
86 proj->ProjectVector(v, fDepth);
88 v.Set(b[0], b[3], b[5]);
89 proj->ProjectVector(v, fDepth);
91 v.Set(b[1], b[3], b[5]);
92 proj->ProjectVector(v, fDepth);
106 SetDepthCommon(d,
this, fBBox);
113 TEveProjected::SetProjection(mng, model);
114 CopyVizParams(dynamic_cast<TEveElement*>(model));
void ComputeBBox() override
void SetDepthLocal(Float_t d) override
~TEveEllipsoidProjected() override
void UpdateProjection() override
void ComputeBBox() override
TEveVector & RefExtent3D()
TClass * ProjectedClass(const TEveProjection *p) const override
void SetProjection(TEveProjectionManager *mng, TEveProjectable *model) override
TEveEllipsoidProjected(const TEveEllipsoidProjected &)
TEveEllipsoid(const TEveEllipsoid &)