#include <Util_Render_Stereo.h>
Public Member Functions | |
DistortionConfig (float k0=1.0f, float k1=0.0f, float k2=0.0f, float k3=0.0f) | |
float | DistortionFn (float r) const |
float | DistortionFnInverse (float r) |
void | SetChromaticAberration (float red1=1.0f, float red2=0.0f, float blue1=1.0f, float blue2=0.0f) |
void | SetCoefficients (float k0, float k1=0.0f, float k2=0.0f, float k3=0.0f) |
Public Attributes | |
float | ChromaticAberration [4] |
float | K [4] |
float | Scale |
float | XCenterOffset |
float | YCenterOffset |
Definition at line 80 of file Util_Render_Stereo.h.
OVR::Util::Render::DistortionConfig::DistortionConfig | ( | float | k0 = 1.0f , |
float | k1 = 0.0f , |
||
float | k2 = 0.0f , |
||
float | k3 = 0.0f |
||
) | [inline] |
Definition at line 83 of file Util_Render_Stereo.h.
float OVR::Util::Render::DistortionConfig::DistortionFn | ( | float | r | ) | const [inline] |
Definition at line 99 of file Util_Render_Stereo.h.
float OVR::Util::Render::DistortionConfig::DistortionFnInverse | ( | float | r | ) |
Definition at line 24 of file Util_Render_Stereo.cpp.
void OVR::Util::Render::DistortionConfig::SetChromaticAberration | ( | float | red1 = 1.0f , |
float | red2 = 0.0f , |
||
float | blue1 = 1.0f , |
||
float | blue2 = 0.0f |
||
) | [inline] |
Definition at line 93 of file Util_Render_Stereo.h.
void OVR::Util::Render::DistortionConfig::SetCoefficients | ( | float | k0, |
float | k1 = 0.0f , |
||
float | k2 = 0.0f , |
||
float | k3 = 0.0f |
||
) | [inline] |
Definition at line 90 of file Util_Render_Stereo.h.
Definition at line 113 of file Util_Render_Stereo.h.
Definition at line 109 of file Util_Render_Stereo.h.
Definition at line 111 of file Util_Render_Stereo.h.
Definition at line 110 of file Util_Render_Stereo.h.
Definition at line 110 of file Util_Render_Stereo.h.