refactored showPointCloud to for shorter code. Implemented NanFilter::copy<T>() function

This commit is contained in:
Anatoly Baksheev
2013-06-11 21:30:19 +04:00
parent 1ae5918fa8
commit 1b51ee385b
5 changed files with 99 additions and 104 deletions

View File

@@ -31,6 +31,10 @@ namespace temp_viz
typedef cv::InputArray InputArray;
using cv::Point3_;
using cv::Vec;
using cv::Mat_;
using cv::DataDepth;
using cv::DataType;
@@ -87,9 +91,10 @@ namespace temp_viz
inline Vec3d vtkpoint(const Point3f& point) { return Vec3d(point.x, point.y, point.z); }
template<typename _Tp> inline _Tp normalized(const _Tp& v) { return v * 1/cv::norm(v); }
Vec3d operator*(const Affine3f& affine, const Vec3d& vec);
inline bool isNan(float x)
{