CMS 3D CMS Logo

FWSimVertexProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWSimVertexProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/9/10.
6  *
7  */
8 
11 
12 #include "TEvePointSet.h"
13 
15 public:
17  ~FWSimVertexProxyBuilder(void) override {}
18 
20 
21  // Disable default copy constructor
23  // Disable default assignment operator
25 
26 private:
28  void build(const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
29 };
30 
32  unsigned int iIndex,
33  TEveElement& oItemHolder,
34  const FWViewContext*) {
35  TEvePointSet* pointSet = new TEvePointSet;
36  setupAddElement(pointSet, &oItemHolder);
37  pointSet->SetNextPoint(iData.position().x(), iData.position().y(), iData.position().z());
38 }
39 
41  SimVertex,
42  "SimVertices",
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:57
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const math::XYZTLorentzVectorD & position() const
Definition: CoreSimVertex.h:21
const FWSimVertexProxyBuilder & operator=(const FWSimVertexProxyBuilder &)=delete
static const int kAll3DBits
Definition: FWViewType.h:58