示例#1
0
文件: viz.cpp 项目: AlgoFl4sh/opencv
void cv::viz::VizAccessor::add(Viz3d window)
{
    String window_name = window.getWindowName();
    VizMap::iterator vm_itr = impl_->viz_map.find(window_name);
    if (vm_itr == impl_->viz_map.end())
        impl_->viz_map.insert(VizPair(window_name, window));
}
示例#2
0
文件: vizcore.cpp 项目: ArkaJU/opencv
void cv::viz::VizStorage::add(const Viz3d& window)
{
    String window_name = window.getWindowName();
    VizMap::iterator vm_itr = storage.m.find(window_name);
    CV_Assert(vm_itr == storage.m.end());
    storage.m.insert(std::make_pair(window_name, window));
}