Searched refs:_traj (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/viz/src/vtk/ |
D | vtkTrajectorySource.cpp | 55 void cv::viz::vtkTrajectorySource::SetTrajectory(InputArray _traj) in SetTrajectory() argument 57 CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); in SetTrajectory() 58 CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); in SetTrajectory() 61 _traj.getMat().convertTo(traj, CV_64F); in SetTrajectory() 83 cv::Mat cv::viz::vtkTrajectorySource::ExtractPoints(InputArray _traj) in ExtractPoints() argument 85 CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); in ExtractPoints() 86 CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); in ExtractPoints() 88 Mat points(1, (int)_traj.total(), CV_MAKETYPE(_traj.depth(), 3)); in ExtractPoints() 89 const Affine3d* dpath = _traj.getMat().ptr<Affine3d>(); in ExtractPoints() 90 const Affine3f* fpath = _traj.getMat().ptr<Affine3f>(); in ExtractPoints() [all …]
|
/external/opencv3/modules/viz/src/ |
D | vizcore.cpp | 269 void cv::viz::readTrajectory(OutputArray _traj, const String& files_format, int start, int end, con… in readTrajectory() argument 271 CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); in readTrajectory() 288 Mat(traj).convertTo(_traj, _traj.depth()); in readTrajectory() 291 void cv::viz::writeTrajectory(InputArray _traj, const String& files_format, int start, const String… in writeTrajectory() argument 293 if (_traj.kind() == _InputArray::STD_VECTOR_MAT) in writeTrajectory() 296 std::vector<Mat>& v = *(std::vector<Mat>*)_traj.obj; in writeTrajectory() 298 std::vector<Mat>& v = *(std::vector<Mat>*)_traj.getObj(); in writeTrajectory() 312 if (_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT) in writeTrajectory() 314 CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); in writeTrajectory() 316 Mat traj = _traj.getMat(); in writeTrajectory()
|