Public Methods

mw::nar::Marker_cl Class

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).
s32GetDir () const
 Gets the marker direction.
s32GetID() const
 Gets the ID.
const PatternVtxData_clGetpPatternVtxData ()
 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_clGetrTransformation()
 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.
voidSuppressShake (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) 
const PatternVtxData_cl* mw::nar::Marker_cl::GetpPatternVtxData (  )  [inline]

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.


CONFIDENTIAL