21#include <Inventor/C/errors/debugerror.h>
22#include <Inventor/nodes/SoPointSet.h>
23#include <Inventor/nodes/SoVertexProperty.h>
45 static const double l=
isSCT() ? 100.0 : 200.0;
47 return static_cast<int>(c.z()/l)
48 +1000*
static_cast<int>(c.y()/l)
49 +1000000*
static_cast<int>(c.x()/l);
59 SoPointSet * points =
new SoPointSet;
60 SoVertexProperty * vertices =
new SoVertexProperty;
61 vertices->vertex.set1Value(0,p.x(),p.y(),p.z());
63 points->vertexProperty.setValue(vertices);
64 shape_simple = points;
68 shape_detailed = shape_simple;
SoNode * getShapeNode_Point()
Amg::Transform3D getTransform_CLHEP() const
PRDHandleBase(PRDCollHandleBase *)
PRDSysCommonData * common() const
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
Amg::Vector3D center() const
const Trk::PrepRawData * getSecondPRD() const
const Trk::SpacePoint * m_sp
virtual ~PRDHandle_SpacePoint()
PRDHandle_SpacePoint(PRDCollHandle_SpacePoints *, const Trk::SpacePoint *)
HitsSoNodeManager * nodeManager() const
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D