mw::nar::MarkerTrans_cl
ClassClass for estimating marker coordinate systems.[Details]
#include <narMarkerTrans.h>
Public Methods | |
bool | Estimate (Marker_cl &r_Marker, const Projection_cl &cr_Proj) const |
Estimates a marker's coordinate system. | |
void | SetAccelerationOnMildRotation (bool b, f32 t=0.25f) |
When interpolating with the previous matrix, results should track immediately when no shaking is detected. | |
void | SetMildRotation (bool b, f32 t=0.5f) |
Specifies to interpolate the rotation matrix with the previous matrix. |
Class for estimating marker coordinate systems.
bool mw::nar::MarkerTrans_cl::Estimate |
( | Marker_cl & |
r_Marker, | |
const Projection_cl & |
cr_Proj | |||
) | const |
Estimates a marker's coordinate system.
Returns false when the function could not estimate. |
void mw::nar::MarkerTrans_cl::SetAccelerationOnMildRotation |
( | bool | b, | |
f32 | t = 0.25f | |||
) | [inline] |
When interpolating with the previous matrix, results should track immediately when no shaking is detected.
b | Tracks immediately when true . | |
t | Interpolation coefficient. (0.0: use this matrix; 1.0: use previous matrix) |
void mw::nar::MarkerTrans_cl::SetMildRotation |
( | bool | b, | |
f32 | t = 0.5f | |||
) | [inline] |
Specifies to interpolate the rotation matrix with the previous matrix.
b | Specify true to interpolate. | |
t | Interpolation coefficient. (0.0: use this matrix; 1.0: use previous matrix) |
© 2011-2012 Nintendo. All rights reserved.
CONFIDENTIAL