CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWSimVertexProxyBuilder Class Reference

Inheritance diagram for FWSimVertexProxyBuilder:
FWSimpleProxyBuilderTemplate< SimVertex > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWSimVertexProxyBuilder (void)
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWSimVertexProxyBuilder (void)

Private Member Functions

void build (const SimVertex &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWSimVertexProxyBuilder (const FWSimVertexProxyBuilder &)
const FWSimVertexProxyBuilderoperator= (const FWSimVertexProxyBuilder &)

Detailed Description

Definition at line 14 of file FWSimVertexProxyBuilder.cc.


Constructor & Destructor Documentation

FWSimVertexProxyBuilder::FWSimVertexProxyBuilder ( void  ) [inline]

Definition at line 17 of file FWSimVertexProxyBuilder.cc.

{} 
virtual FWSimVertexProxyBuilder::~FWSimVertexProxyBuilder ( void  ) [inline, virtual]

Definition at line 18 of file FWSimVertexProxyBuilder.cc.

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

Member Function Documentation

void FWSimVertexProxyBuilder::build ( const SimVertex 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< SimVertex >.

Definition at line 32 of file FWSimVertexProxyBuilder.cc.

References CoreSimVertex::position(), and FWProxyBuilderBase::setupAddElement().

{
   TEvePointSet* pointSet = new TEvePointSet;
   setupAddElement( pointSet, &oItemHolder );
   pointSet->SetNextPoint( iData.position().x() * 0.01, iData.position().y() * 0.01, iData.position().z() * 0.01 );
}
const FWSimVertexProxyBuilder& FWSimVertexProxyBuilder::operator= ( const FWSimVertexProxyBuilder ) [private]
FWSimVertexProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )