OSVR-Core
Namespaces | Functions
LoadCalibration.h File Reference

Header. More...

#include <json/reader.h>
#include <json/value.h>
#include <opencv2/core/core.hpp>
#include <fstream>
#include <iostream>
#include <vector>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 

Functions

void osvr::vbtracker::messages::loadedCalibFileSuccessfully (std::string const &filename)
 
void osvr::vbtracker::messages::calibFileSpecifiedButNotLoaded (std::string const &filename)
 
Helper functions for loading calibration files
cv::Point3f osvr::vbtracker::parsePoint (Json::Value const &jsonArray)
 
std::vector< cv::Point3f > osvr::vbtracker::parseArrayOfPoints (Json::Value const &jsonArray)
 
std::vector< cv::Point3f > osvr::vbtracker::tryLoadingArrayOfPointsFromFile (std::string const &filename)
 

Detailed Description

Header.

Date
2016
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ parseArrayOfPoints()

std::vector<cv::Point3f> osvr::vbtracker::parseArrayOfPoints ( Json::Value const &  jsonArray)
inline

in case of error, we just return an empty array.