CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWVertexProxyBuilder Class Reference

Inheritance diagram for FWVertexProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Vertex > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWVertexProxyBuilder ()
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWVertexProxyBuilder ()

Private Member Functions

virtual void build (const reco::Vertex &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWVertexProxyBuilder (const FWVertexProxyBuilder &)
const FWVertexProxyBuilderoperator= (const FWVertexProxyBuilder &)

Detailed Description

Definition at line 23 of file FWVertexProxyBuilder.cc.


Constructor & Destructor Documentation

FWVertexProxyBuilder::FWVertexProxyBuilder ( ) [inline]

Definition at line 26 of file FWVertexProxyBuilder.cc.

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

Definition at line 27 of file FWVertexProxyBuilder.cc.

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

Member Function Documentation

void FWVertexProxyBuilder::build ( const reco::Vertex 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::Vertex >.

Definition at line 42 of file FWVertexProxyBuilder.cc.

References FWProxyBuilderBase::item(), FWProxyBuilderBase::setupAddElement(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().

{
   TEvePointSet* pointSet = new TEvePointSet();
   pointSet->SetMainColor( item()->defaultDisplayProperties().color() );
   pointSet->SetNextPoint( iData.x(), iData.y(), iData.z() );
   setupAddElement(pointSet, &oItemHolder);
}
const FWVertexProxyBuilder& FWVertexProxyBuilder::operator= ( const FWVertexProxyBuilder ) [private]
FWVertexProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )