CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWPFTrackLegoProxyBuilder Class Reference

#include <FWPFTrackLegoProxyBuilder.h>

Inheritance diagram for FWPFTrackLegoProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Track > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWPFTrackLegoProxyBuilder ()
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWPFTrackLegoProxyBuilder ()

Private Member Functions

virtual void build (const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc)
 FWPFTrackLegoProxyBuilder (const FWPFTrackLegoProxyBuilder &)
const FWPFTrackLegoProxyBuilderoperator= (const FWPFTrackLegoProxyBuilder &)

Detailed Description

Definition at line 28 of file FWPFTrackLegoProxyBuilder.h.


Constructor & Destructor Documentation

FWPFTrackLegoProxyBuilder::FWPFTrackLegoProxyBuilder ( ) [inline]

Definition at line 32 of file FWPFTrackLegoProxyBuilder.h.

{}
virtual FWPFTrackLegoProxyBuilder::~FWPFTrackLegoProxyBuilder ( ) [inline, virtual]

Definition at line 33 of file FWPFTrackLegoProxyBuilder.h.

{}
FWPFTrackLegoProxyBuilder::FWPFTrackLegoProxyBuilder ( const FWPFTrackLegoProxyBuilder ) [private]

Member Function Documentation

void FWPFTrackLegoProxyBuilder::build ( const reco::Track iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
const FWViewContext  
) [private, virtual]

iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement

Reimplemented from FWSimpleProxyBuilderTemplate< reco::Track >.

Definition at line 5 of file FWPFTrackLegoProxyBuilder.cc.

References FWProxyBuilderBase::setupAddElement(), and FWPFTrackUtils::setupLegoTrack().

{
   FWPFTrackUtils *utils = new FWPFTrackUtils();
   TEveStraightLineSet *legoTrack = utils->setupLegoTrack( iData );
   setupAddElement( legoTrack, &oItemHolder );
   delete utils;
}
const FWPFTrackLegoProxyBuilder& FWPFTrackLegoProxyBuilder::operator= ( const FWPFTrackLegoProxyBuilder ) [private]
FWPFTrackLegoProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )