3 #include "TEveProjectionManager.h" 22 fBBox[0] = -a +
fPos[0];
23 fBBox[1] = a +fPos[0];
25 fBBox[2] = -a +fPos[1];
26 fBBox[3] = a +fPos[1];
28 fBBox[4] = -a +fPos[2];
29 fBBox[5] = a +fPos[2];
73 TEveProjection *proj = GetManager()->GetProjection();
76 float b[] = {-a + p[0], a + p[0], -a + p[1], a + p[1], -a + p[2], a + p[2] };
78 v.Set(b[0],b[2], b[4]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
79 v.Set(b[1],b[2], b[4]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
80 v.Set(b[0],b[3], b[4]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
81 v.Set(b[1],b[3], b[4]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
82 v.Set(b[0],b[2], b[5]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
83 v.Set(b[1],b[2], b[5]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
84 v.Set(b[0],b[3], b[5]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
85 v.Set(b[1],b[3], b[5]); proj->ProjectVector(v, fDepth); BBoxCheckPoint(v);
100 SetDepthCommon(d,
this, fBBox);
108 TEveProjected::SetProjection(mng, model);
109 CopyVizParams(dynamic_cast<TEveElement*>(model));
void ComputeBBox() override
void SetDepthLocal(Float_t d) override
~TEveEllipsoidProjected() override
void UpdateProjection() override
void ComputeBBox() override
TEveVector & RefExtent3D()
void SetProjection(TEveProjectionManager *mng, TEveProjectable *model) override
TEveEllipsoidProjected(const TEveEllipsoidProjected &)
TClass * ProjectedClass(const TEveProjection *p) const override
TEveEllipsoid(const TEveEllipsoid &)