#include <TEveEllipsoid.h>
Public Member Functions | |
ClassDef (TEveEllipsoid, 0) | |
virtual void | ComputeBBox () |
virtual TClass * | ProjectedClass (const TEveProjection *p) const |
TEveTrans & | RefEMtx () |
TEveVector & | RefExtent3D () |
TEveVector & | RefPos () |
void | SetScale (float x) |
TEveEllipsoid (const Text_t *n="TEveEllipsoid", const Text_t *t="") | |
virtual | ~TEveEllipsoid () |
Protected Attributes | |
TEveTrans | fEMtx |
float | fEScale |
TEveVector | fExtent3D |
TEveVector | fPos |
Private Member Functions | |
TEveEllipsoid & | operator= (const TEveEllipsoid &) |
TEveEllipsoid (const TEveEllipsoid &) | |
Friends | |
class | TEveEllipsoidGL |
class | TEveEllipsoidProjected |
class | TEveEllipsoidProjectedGL |
Definition at line 14 of file TEveEllipsoid.h.
TEveEllipsoid::TEveEllipsoid | ( | const TEveEllipsoid & | ) | [private] |
TEveEllipsoid::TEveEllipsoid | ( | const Text_t * | n = "TEveEllipsoid" , |
const Text_t * | t = "" |
||
) |
Definition at line 7 of file TEveEllipsoid.cc.
virtual TEveEllipsoid::~TEveEllipsoid | ( | ) | [inline, virtual] |
Definition at line 33 of file TEveEllipsoid.h.
{}
TEveEllipsoid::ClassDef | ( | TEveEllipsoid | , |
0 | |||
) |
void TEveEllipsoid::ComputeBBox | ( | ) | [virtual] |
Definition at line 14 of file TEveEllipsoid.cc.
References a, fExtent3D, fPos, and siStripFEDMonitor_P5_cff::Max.
{ // Compute bounding-box of the data. BBoxInit(); Float_t a = TMath::Max(TMath::Max(TMath::Abs(fExtent3D[0]), TMath::Abs(fExtent3D[1])), TMath::Abs(fExtent3D[2])); fBBox[0] = -a +fPos[0]; fBBox[1] = a +fPos[0]; fBBox[2] = -a +fPos[1]; fBBox[3] = a +fPos[1]; fBBox[4] = -a +fPos[2]; fBBox[5] = a +fPos[2]; }
TEveEllipsoid& TEveEllipsoid::operator= | ( | const TEveEllipsoid & | ) | [private] |
TClass * TEveEllipsoid::ProjectedClass | ( | const TEveProjection * | p | ) | const [virtual] |
Definition at line 33 of file TEveEllipsoid.cc.
{ // Virtual from TEveProjectable, returns TEveEllipsoidProjected class. return TEveEllipsoidProjected::Class(); }
TEveTrans& TEveEllipsoid::RefEMtx | ( | ) | [inline] |
Definition at line 40 of file TEveEllipsoid.h.
References fEMtx.
Referenced by FWVertexProxyBuilder::build(), TEveEllipsoidGL::DirectDraw(), TEveEllipsoidProjectedGL::DrawRhoPhi(), and TEveEllipsoidProjectedGL::DrawRhoZ().
{ return fEMtx ;}
TEveVector& TEveEllipsoid::RefExtent3D | ( | ) | [inline] |
Definition at line 39 of file TEveEllipsoid.h.
References fExtent3D.
Referenced by FWVertexProxyBuilder::build(), TEveEllipsoidProjected::ComputeBBox(), and TEveEllipsoidGL::DirectDraw().
{ return fExtent3D ;} // cached member for bbox and 3D rendering
TEveVector& TEveEllipsoid::RefPos | ( | ) | [inline] |
Definition at line 38 of file TEveEllipsoid.h.
References fPos.
Referenced by FWVertexProxyBuilder::build(), TEveEllipsoidProjected::ComputeBBox(), TEveEllipsoidGL::DirectDraw(), TEveEllipsoidProjectedGL::DrawRhoPhi(), and TEveEllipsoidProjectedGL::DrawRhoZ().
{ return fPos ;}
void TEveEllipsoid::SetScale | ( | float | x | ) | [inline] |
Definition at line 42 of file TEveEllipsoid.h.
Referenced by FWVertexProxyBuilder::build().
friend class TEveEllipsoidGL [friend] |
Definition at line 17 of file TEveEllipsoid.h.
friend class TEveEllipsoidProjected [friend] |
Definition at line 16 of file TEveEllipsoid.h.
friend class TEveEllipsoidProjectedGL [friend] |
Definition at line 18 of file TEveEllipsoid.h.
TEveTrans TEveEllipsoid::fEMtx [protected] |
Definition at line 27 of file TEveEllipsoid.h.
Referenced by RefEMtx().
float TEveEllipsoid::fEScale [protected] |
Definition at line 29 of file TEveEllipsoid.h.
Referenced by TEveEllipsoidProjectedGL::DrawRhoPhi(), TEveEllipsoidProjectedGL::DrawRhoZ(), and SetScale().
TEveVector TEveEllipsoid::fExtent3D [protected] |
Definition at line 26 of file TEveEllipsoid.h.
Referenced by ComputeBBox(), and RefExtent3D().
TEveVector TEveEllipsoid::fPos [protected] |
Definition at line 25 of file TEveEllipsoid.h.
Referenced by ComputeBBox(), and RefPos().