namespace mp2p_icp_filters::internal
Overview
namespace internal { // global functions void addViewVectors_scalar( float* vx, float* vy, float* vz, const float* px, const float* py, const float* pz, size_t N, float sx, float sy, float sz ); } // namespace internal
Global Functions
void addViewVectors_scalar( float* vx, float* vy, float* vz, const float* px, const float* py, const float* pz, size_t N, float sx, float sy, float sz )
Fills view_x/y/z[0..N-1] with unit vectors from each point p[i] towards the sensor origin (sx, sy, sz). All pointers must be valid and non-null.
The scalar version is always compiled into Generator.cpp. The SSE2/AVX versions are compiled into their own translation units with the appropriate -msse2 / -mavx compiler flags.