Header.
More...
#include <osvr/Util/Rect.h>
#include <osvr/Util/EigenCoreGeometry.h>
#include <type_traits>
Go to the source code of this file.
|
| 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.
|
|
|
typedef unsigned char | osvr::util::projection_options::OptionType |
|
template<OptionType Options, OptionType Bit> |
using | osvr::util::projection_options::CheckOptionBit = std::integral_constant< bool, static_cast< bool >(0 !=(Options &Bit))> |
|
template<OptionType Options> |
using | osvr::util::projection_options::IsZOutputUnsigned = CheckOptionBit< Options, ZOutputUnsignedBit > |
|
template<OptionType Options> |
using | osvr::util::projection_options::IsLeftHandedInput = CheckOptionBit< Options, LeftHandedInputBit > |
|
|
enum | osvr::util::projection_options::OptMasks { ZOutputUnsignedBit = 0x1,
LeftHandedInputBit = 0x2
} |
| The bit masks for testing conditions - do not depend on these being equal to a given enum value of OptBits!
|
|
enum | osvr::util::projection_options::OptBits { ZOutputSigned = 0,
ZOutputUnsigned = ZOutputUnsignedBit,
RightHandedInput = 0,
LeftHandedInput = LeftHandedInputBit
} |
| The flags (combine with bitwise-or | ) for specifying configuration - do not depend on these being equal to a given enum value of OptMasks!
|
|
|
Eigen::Matrix4d | osvr::util::createProjectionMatrix (Rectd const &bounds, double near, double far) |
| Takes in points at the near clipping plane, as well as the near and far clipping planes. More...
|
|
template<projection_options::OptionType options> |
double | osvr::util::projection_detail::get33 (double near, double far) |
|
template<projection_options::OptionType options> |
double | osvr::util::projection_detail::get34 (double near, double far) |
|
template<projection_options::OptionType options = projection_options::ZOutputSigned | projection_options::RightHandedInput> |
Eigen::Matrix4d | osvr::util::parameterizedCreateProjectionMatrix (Rectd const &bounds, double near, double far) |
| Takes in points at the near clipping plane, as well as the near and far clipping planes. More...
|
|
Header.
- Date
- 2015
- Author
- Sensics, Inc. http://sensics.com/osvr