1 #ifndef SCOREPRIMITIVESHAPEVISITOR_HEADER
2 #define SCOREPRIMITIVESHAPEVISITOR_HEADER
13 template<
class Po
intCompT,
class OctreeT >
22 float normalThresh) : m_pointComp(distThresh, normalThresh) {}
41 m_shapeIndex = &shapeIndex;
47 template<
class ShapeT >
48 void Visit(
const ShapeT& primShape)
54 m_oct->Score(primShape.Internal(),
this);
56 template<
class ShapeT,
class OctT >
57 void operator()(
const ShapeT& shape,
const OctT& oct,
size_t i)
59 if ((*m_shapeIndex)[i] != -1)
63 if (m_pointComp(shape, oct, i))
70 return m_pointComp.DistanceThresh();
88 template<
class Po
intCompT,
class OctreeT >
96 distThresh, normalThresh) {}