OSVR-Core
|
Header. More...
#include <osvr/Util/StdInt.h>
#include <osvr/Util/NumberTypeManipulation.h>
#include <osvr/Util/ImagingReportTypesC.h>
#include <opencv2/core/version.hpp>
#include <opencv2/core/core.hpp>
#include <boost/mpl/identity.hpp>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
osvr | |
The main namespace for all C++ elements of the framework, internal and external. | |
osvr::util | |
The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems. | |
Functions | |
template<typename Functor > | |
bool | osvr::util::opencvTypeDispatch (int openCVType, Functor &f) |
Given an OpenCV type depth and a reference to a functor, calls that functor with a single parameter: the corresponding type wrapped in boost::mpl::identity. More... | |
NumberTypeData | osvr::util::opencvNumberTypeData (int openCVType) |
int | osvr::util::cvTypeFromData (bool isSigned, bool isFloat, size_t depth) |
Computes the OpenCV "type" (also known as depth - as in CV_8U) for a given combination of signed, float, and byte depth. More... | |
int | osvr::util::computeOpenCVMatType (OSVR_ImagingMetadata const &metadata) |
Computes the OpenCV matrix type (as in CV_8UC3) from a metadata struct. | |
Header.