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

Impala::Core::Geometry::InterestCircle::InterestCircle ( CString  region,
Real64  shiftX = 0,
Real64  shiftY = 0 
) [inline]

Definition at line 35 of file InterestCircle.h.

References Impala::Util::StringParser::GetDouble(), Impala::Util::StringParser::GetString(), mCornerness, mOrientation, mScale, Impala::Core::Geometry::InterestPoint::mX, and Impala::Core::Geometry::InterestPoint::mY.

00035                                                                      : InterestPoint(), mDetectionScale(0)
00036     {
00037         if(region.substr(0, 8) != "<CIRCLE ") {
00038             throw "Get your act together: <CIRCLE should be the start!";
00039         }
00040         Util::StringParser sp(region);
00041         std::string temp = sp.GetString(' ');   // ignore <CIRCLE
00042         mX = sp.GetDouble(' ') - shiftX;
00043         mY = sp.GetDouble(' ') - shiftY;
00044         mScale = sp.GetDouble(' ');
00045         mOrientation = sp.GetDouble(' ');
00046         mCornerness = sp.GetDouble('>');
00047     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:11:34 2010 for ImpalaSrc by  doxygen 1.5.1