#include <FWTextProjected.h>
Public Member Functions | |
ClassDef (FWEveTextProjected, 0) | |
FWEveTextProjected () | |
virtual TEveElement * | GetProjectedAsElement () |
virtual void | UpdateProjection () |
virtual | ~FWEveTextProjected () |
Private Member Functions | |
FWEveTextProjected (const FWEveTextProjected &) | |
FWEveTextProjected & | operator= (const FWEveTextProjected &) |
Definition at line 52 of file FWTextProjected.h.
FWEveTextProjected::FWEveTextProjected | ( | const FWEveTextProjected & | ) | [private] |
FWEveTextProjected::FWEveTextProjected | ( | ) | [inline] |
Definition at line 60 of file FWTextProjected.h.
{}
virtual FWEveTextProjected::~FWEveTextProjected | ( | ) | [inline, virtual] |
Definition at line 61 of file FWTextProjected.h.
{}
FWEveTextProjected::ClassDef | ( | FWEveTextProjected | , |
0 | |||
) |
virtual TEveElement* FWEveTextProjected::GetProjectedAsElement | ( | ) | [inline, virtual] |
Definition at line 64 of file FWTextProjected.h.
{ return this; }
FWEveTextProjected& FWEveTextProjected::operator= | ( | const FWEveTextProjected & | ) | [private] |
void FWEveTextProjected::UpdateProjection | ( | ) | [virtual] |
Definition at line 39 of file FWTextProjected.cc.
References FWEveText::m_offsetZ, pos, and trackerHitRTTI::proj.
Referenced by FWJetProxyBuilder::setTextPos().
{ // printf("update projection \n"); FWEveText & als = * dynamic_cast<FWEveText*>(fProjectable); TEveTrans *tr = als.PtrMainTrans(kFALSE); fText = als.GetText(); *fMainColorPtr = als.GetMainColor(); float pos[3]; tr->GetPos(pos); TEveProjection& proj = * fManager->GetProjection(); proj.ProjectPoint(pos[0],pos[1], pos[2], fDepth); RefMainTrans().SetPos(pos[0], pos[1], pos[2] + als.m_offsetZ); }