USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::SmtkPoint Class Reference

Container for SMTK match points. More...

#include <SmtkPoint.h>

Collaboration diagram for Isis::SmtkPoint:
Collaboration graph

Public Member Functions

 SmtkPoint (const PointPair &point, const PointPair &geom=PointPair())
 
 SmtkPoint (const MatchPoint &mpt, const PointGeometry &regpnt, const PointPair &geom)
 
bool isValid () const
 Indicates the smtk portion of the point is valid.
 
double GoodnessOfFit () const
 Returns goodness of the fit registration.
 
const PointPairgetPoints () const
 Get initial left and right point pair.
 
const PointPairgetGeometry () const
 Return left and right point geometry.
 
const CoordinategetLeft () const
 Returns the left point.
 
const CoordinategetRight () const
 Returns the registered right coordinate.
 
const AffineRadiogetAffine () const
 Returns the affine transform and radiometic results.
 
bool isRegistered () const
 Returns registration status.
 

Public Attributes

MatchPoint m_matchpt
 
PointGeometry m_regpnt
 
PointPair m_geom
 
bool m_registered
 
bool m_isValid
 

Detailed Description

Container for SMTK match points.

This container maintains the state of a SMTK point candidate. It will hold all the neccessary information to complete stereo processing and generation of other SMTK points.

Author
2011-05-24 Kris Becker

Definition at line 71 of file SmtkPoint.h.

Member Function Documentation

const AffineRadio& Isis::SmtkPoint::getAffine ( ) const
inline

Returns the affine transform and radiometic results.

Definition at line 134 of file SmtkPoint.h.

Referenced by Isis::SmtkMatcher::Clone().

const PointPair& Isis::SmtkPoint::getGeometry ( ) const
inline

Return left and right point geometry.

Definition at line 110 of file SmtkPoint.h.

const Coordinate& Isis::SmtkPoint::getLeft ( ) const
inline

Returns the left point.

Definition at line 115 of file SmtkPoint.h.

References getPoints().

Referenced by Isis::SmtkMatcher::Clone(), Isis::SmtkMatcher::isValid(), and Isis::SmtkMatcher::Register().

const PointPair& Isis::SmtkPoint::getPoints ( ) const
inline

Get initial left and right point pair.

This method returns the points used in the registration of the point. The right point contains the origin of registration and NOT the registered point.

See Also
getRight()
Author
Kris Becker - 6/4/2011
Returns
const PointPair& Returns left/right point pair

Definition at line 105 of file SmtkPoint.h.

Referenced by getLeft().

const Coordinate& Isis::SmtkPoint::getRight ( ) const
inline

Returns the registered right coordinate.

Use this method to get the registered right point coordinate. It should be the one used to compute the stereo match.

Author
Kris Becker - 6/4/2011
Returns
const Coordinate& Coordinate of the right registered point

Definition at line 129 of file SmtkPoint.h.

Referenced by Isis::SmtkMatcher::Clone(), Isis::SmtkMatcher::isValid(), and Isis::SmtkMatcher::Register().

double Isis::SmtkPoint::GoodnessOfFit ( ) const
inline

Returns goodness of the fit registration.

Definition at line 90 of file SmtkPoint.h.

bool Isis::SmtkPoint::isRegistered ( ) const
inline

Returns registration status.

If this method returns true, then the point set has been registered by the Gruen algorithm. If false, it is not registered. This could be because the point was unsuccessfully registered (see isValid()) or it was cloned from a registered point.

Author
Kris Becker - 5/26/2011
Returns
bool True if point has been registered, otherwise false.

Definition at line 150 of file SmtkPoint.h.

Referenced by Isis::SmtkMatcher::Register().

bool Isis::SmtkPoint::isValid ( ) const
inline

Indicates the smtk portion of the point is valid.

Definition at line 87 of file SmtkPoint.h.

Referenced by Isis::SmtkMatcher::isValid().


The documentation for this class was generated from the following file: