OSVR-Core
Functions
RecomposeTransform.h File Reference

Header. More...

#include <osvr/Common/RoutingKeys.h>
#include <json/value.h>
#include <vector>

Go to the source code of this file.

Functions

template<typename Predicate >
Json::Value remove_levels_if (Json::Value input, Predicate p)
 Goes through your transform, starting at the outermost layer, and keeping and re-composing only the layers that your predicate returns false on. More...
 

Detailed Description

Header.

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

Function Documentation

§ remove_levels_if()

template<typename Predicate >
Json::Value remove_levels_if ( Json::Value  input,
Predicate  p 
)
inline

Goes through your transform, starting at the outermost layer, and keeping and re-composing only the layers that your predicate returns false on.