Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

bool Impala::Core::Tracking::TrackerBackFore::ObjectVisible (  )  [inline, virtual]

returns true if part of the tracked object was visible in the last image

Implements Impala::Core::Tracking::Tracker.

Definition at line 138 of file TrackerBackFore.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Geometry::Rectangle::mBottom, mInput, Impala::Core::Geometry::Rectangle::mLeft, mPosition, Impala::Core::Geometry::Rectangle::mRight, and Impala::Core::Geometry::Rectangle::mTop.

Referenced by Process().

00139     {
00140         if (mPosition.mLeft >= mInput->CW())
00141             return false;
00142         if (mPosition.mTop >= mInput->CH())
00143             return false;
00144         if (mPosition.mRight <= 0)
00145             return false;
00146         if (mPosition.mBottom <= 0)
00147             return false;
00148         return true;
00149     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:07 2011 for ImpalaSrc by  doxygen 1.5.1