CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Friends
TEveEllipsoid Class Reference

#include <TEveEllipsoid.h>

Inheritance diagram for TEveEllipsoid:

Public Member Functions

 ClassDefOverride (TEveEllipsoid, 0)
 
void ComputeBBox () override
 
TClass * ProjectedClass (const TEveProjection *p) const override
 
TEveTrans & RefEMtx ()
 
TEveVector & RefExtent3D ()
 
TEveVector & RefPos ()
 
void SetScale (float x)
 
 TEveEllipsoid (const Text_t *n="TEveEllipsoid", const Text_t *t="")
 
 ~TEveEllipsoid () override
 

Protected Attributes

TEveTrans fEMtx
 
float fEScale
 
TEveVector fExtent3D
 
TEveVector fPos
 

Private Member Functions

TEveEllipsoidoperator= (const TEveEllipsoid &)
 
 TEveEllipsoid (const TEveEllipsoid &)
 

Friends

class TEveEllipsoidGL
 
class TEveEllipsoidProjected
 
class TEveEllipsoidProjectedGL
 

Detailed Description

Definition at line 13 of file TEveEllipsoid.h.

Constructor & Destructor Documentation

◆ TEveEllipsoid() [1/2]

TEveEllipsoid::TEveEllipsoid ( const TEveEllipsoid )
private

◆ TEveEllipsoid() [2/2]

TEveEllipsoid::TEveEllipsoid ( const Text_t *  n = "TEveEllipsoid",
const Text_t *  t = "" 
)

Definition at line 7 of file TEveEllipsoid.cc.

7  : TEveShape(n, t) {
8  // Constructor.
9 }

◆ ~TEveEllipsoid()

TEveEllipsoid::~TEveEllipsoid ( )
inlineoverride

Definition at line 31 of file TEveEllipsoid.h.

31 {}

Member Function Documentation

◆ ClassDefOverride()

TEveEllipsoid::ClassDefOverride ( TEveEllipsoid  ,
 
)

◆ ComputeBBox()

void TEveEllipsoid::ComputeBBox ( )
override

Definition at line 12 of file TEveEllipsoid.cc.

12  {
13  // Compute bounding-box of the data.
14 
15  BBoxInit();
16 
18 
19  fBBox[0] = -a + fPos[0];
20  fBBox[1] = a + fPos[0];
21 
22  fBBox[2] = -a + fPos[1];
23  fBBox[3] = a + fPos[1];
24 
25  fBBox[4] = -a + fPos[2];
26  fBBox[5] = a + fPos[2];
27 }

References a, Abs(), fExtent3D, fPos, and Max().

◆ operator=()

TEveEllipsoid& TEveEllipsoid::operator= ( const TEveEllipsoid )
private

◆ ProjectedClass()

TClass * TEveEllipsoid::ProjectedClass ( const TEveProjection *  p) const
override

Definition at line 30 of file TEveEllipsoid.cc.

30  {
31  // Virtual from TEveProjectable, returns TEveEllipsoidProjected class.
32 
34 }

References HLT_2018_cff::Class.

◆ RefEMtx()

TEveTrans& TEveEllipsoid::RefEMtx ( )
inline

◆ RefExtent3D()

TEveVector& TEveEllipsoid::RefExtent3D ( )
inline

Definition at line 37 of file TEveEllipsoid.h.

37 { return fExtent3D; } // cached member for bbox and 3D rendering

References fExtent3D.

Referenced by FWVertexCandidateProxyBuilder::build(), FWVertexProxyBuilder::build(), TEveEllipsoidProjected::ComputeBBox(), and TEveEllipsoidGL::DirectDraw().

◆ RefPos()

TEveVector& TEveEllipsoid::RefPos ( )
inline

◆ SetScale()

void TEveEllipsoid::SetScale ( float  x)
inline

Definition at line 40 of file TEveEllipsoid.h.

40 { fEScale = x; }

References fEScale, and x.

Referenced by FWVertexCandidateProxyBuilder::build(), and FWVertexProxyBuilder::build().

Friends And Related Function Documentation

◆ TEveEllipsoidGL

friend class TEveEllipsoidGL
friend

Definition at line 15 of file TEveEllipsoid.h.

◆ TEveEllipsoidProjected

friend class TEveEllipsoidProjected
friend

Definition at line 14 of file TEveEllipsoid.h.

◆ TEveEllipsoidProjectedGL

friend class TEveEllipsoidProjectedGL
friend

Definition at line 16 of file TEveEllipsoid.h.

Member Data Documentation

◆ fEMtx

TEveTrans TEveEllipsoid::fEMtx
protected

Definition at line 25 of file TEveEllipsoid.h.

Referenced by RefEMtx().

◆ fEScale

float TEveEllipsoid::fEScale
protected

◆ fExtent3D

TEveVector TEveEllipsoid::fExtent3D
protected

Definition at line 24 of file TEveEllipsoid.h.

Referenced by ComputeBBox(), and RefExtent3D().

◆ fPos

TEveVector TEveEllipsoid::fPos
protected

Definition at line 23 of file TEveEllipsoid.h.

Referenced by ComputeBBox(), and RefPos().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HLT_2018_cff.Class
Class
Definition: HLT_2018_cff.py:7110
DDAxes::x
TEveEllipsoid::fPos
TEveVector fPos
Definition: TEveEllipsoid.h:23
TEveEllipsoid::fEScale
float fEScale
Definition: TEveEllipsoid.h:27
Abs
T Abs(T a)
Definition: MathUtil.h:49
OrderedSet.t
t
Definition: OrderedSet.py:90
a
double a
Definition: hdecay.h:119
Max
T Max(T a, T b)
Definition: MathUtil.h:44
TEveEllipsoid::fExtent3D
TEveVector fExtent3D
Definition: TEveEllipsoid.h:24
TEveEllipsoid::fEMtx
TEveTrans fEMtx
Definition: TEveEllipsoid.h:25