Class that handles detected markers.[Details]
#include <narMarker.h>
List of All Members
Public Methods |
f32 | GetAspectRatio() const |
| Gets a marker's aspect ratio (width over height).
|
s32 | GetDir () const |
| Gets the marker direction.
|
s32 | GetID() const |
| Gets the ID.
|
const PatternVtxData_cl * | GetpPatternVtxData () |
| Gets the pointer to the grid coordinates data for the pattern to determine markers.
|
const Vec3F_st & | GetrNormal() |
| Gets the marker plane's normal vector.
|
Transformation_cl & | GetrTransformation() |
| Gets the transformation matrix.
|
f32 | GetScore() const |
| Gets scores.
|
f32 | GetSideLength() const |
| Gets the length of the marker's left side in terms of the world coordinate system.
|
bool | IsEstimated() const |
| Return value indicates whether the coordinates are estimated.
|
void | SuppressShake (f32 sim, f32 far) |
| Suppresses any shake from the previous position.
|
Description
Class that handles detected markers.
Functions
s32 mw::nar::Marker_cl::GetDir |
( |
|
) |
const [inline] |
Gets the marker direction.
- Return Values:
-
| Either e_MarkerDir_Top, e_MarkerDir_Left, e_MarkerDir_Bottom, or e_MarkerDir_Right? | |
s32 mw::nar::Marker_cl::GetID |
( |
|
) |
const [inline] |
Gets the ID.
- Return Values:
-
| Marker ID (-1 in case of error) | |
Gets the pointer to the grid coordinates data for the pattern to determine markers.
f32 mw::nar::Marker_cl::GetScore |
( |
|
) |
const [inline] |
Gets scores.
- Return Values:
-
| Score. Range is -1.0 | <= score <= 1.0 |
void mw::nar::Marker_cl::SuppressShake |
( |
f32 |
sim, |
|
|
f32 |
far | |
|
) |
| | |
Suppresses any shake from the previous position.
- Argument:
-
| sim | Specifies a minimum for the sum of the squares of the distance between the current and previous positions of the marker's vertices. Any sum less than this minimum is treated as the minimum. |
| far | Values below this argument value are interpolated. |
This class description was generated from the following file.