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));
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
virtual void UpdateProjection()
virtual void SetDepthLocal(Float_t d)
virtual ~TEveEllipsoidProjected()
virtual TClass * ProjectedClass(const TEveProjection *p) const
TEveVector & RefExtent3D()
virtual void ComputeBBox()
TEveEllipsoidProjected(const TEveEllipsoidProjected &)
virtual void ComputeBBox()
TEveEllipsoid(const TEveEllipsoid &)