fix leak in extract_polygonal_prism_data

The inlier-check worked before Alexandru broke it in 2012.
(see 614972920ffa1b62b7341aedeff3902419ac2afa)
This last test in the raytracing code is actually already
the _first_ one that is tested for.
Merge pull request #1044 from v4hn/fix-extract-polygonal-prism

fix leak in extract_polygonal_prism_data
fix: misaligned context items in ImageViewer
Add an overload of setConditionFunction() that takes boost::function

Previously only function pointers were allowed, which made it impossible
to use class member functions as conditions for Euclidean clustering.
fix: ImageViewer => opacity handling for layer rectangles of context items
Merge pull request #1050 from taketwo/boost-function-in-cec

Add an overload of setConditionFunction() that takes boost::function
Merge pull request #1051 from mdkus/master

fix: ImageViewer => opacity handling for layer rectangles of context items
Fix the complie error

caused by inconsistent template parameters.
Merge pull request #1052 from Tonsty/master

Fix the complie error
Merge pull request #1049 from mdkus/master

fix: misaligned context items in ImageViewer
Fix addCorrespondences with std::vector
Fix number of lines drawn and color of the lines
Use sensor pose information when drawing correspondences
Handle correspondences not set