Dear developers,
I am not sure of correct implementation of the Neighbor Orientation Comparison (Bad data) filter. If I look to the source file BadDataNeighborOrientationCheck.cpp, line 305, there is quats[neighbor] copied to q1 but one would expect it to be copied to q2. The q1 is used for storing quats[i] immediately above. I think the current implementation causes incorrect functionality of this filter.
This code is correct on m_Develop and master branch (which are the branches used for version 4.2.x) and has been corrected on the 'attributeMatrix' branch which is what is used for the version 5.x builds.
Dear developers, I am not sure of correct implementation of the Neighbor Orientation Comparison (Bad data) filter. If I look to the source file BadDataNeighborOrientationCheck.cpp, line 305, there is quats[neighbor] copied to q1 but one would expect it to be copied to q2. The q1 is used for storing quats[i] immediately above. I think the current implementation causes incorrect functionality of this filter.
Reported by Ondrej Sedivy DREAM3D Versions 4 & 5.