Isis 3 Programmer Reference
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 54 of file SmtkPoint.h.

Constructor & Destructor Documentation

◆ SmtkPoint() [1/3]

Isis::SmtkPoint::SmtkPoint ( )
inline

Definition at line 56 of file SmtkPoint.h.

◆ SmtkPoint() [2/3]

Isis::SmtkPoint::SmtkPoint ( const PointPair & point,
const PointPair & geom = PointPair() )
inline

Definition at line 58 of file SmtkPoint.h.

◆ SmtkPoint() [3/3]

Isis::SmtkPoint::SmtkPoint ( const MatchPoint & mpt,
const PointGeometry & regpnt,
const PointPair & geom )
inline

Definition at line 62 of file SmtkPoint.h.

◆ ~SmtkPoint()

Isis::SmtkPoint::~SmtkPoint ( )
inline

Definition at line 67 of file SmtkPoint.h.

Member Function Documentation

◆ getAffine()

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

Returns the affine transform and radiometic results.

Definition at line 117 of file SmtkPoint.h.

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

◆ getGeometry()

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

Return left and right point geometry.

Definition at line 93 of file SmtkPoint.h.

◆ getLeft()

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

Returns the left point.

Definition at line 98 of file SmtkPoint.h.

References getLeft(), and getPoints().

Referenced by Isis::SmtkMatcher::Clone(), and getLeft().

◆ getPoints()

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 88 of file SmtkPoint.h.

Referenced by getLeft().

◆ getRight()

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 112 of file SmtkPoint.h.

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

◆ GoodnessOfFit()

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

Returns goodness of the fit registration.

Definition at line 73 of file SmtkPoint.h.

◆ isRegistered()

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 133 of file SmtkPoint.h.

◆ isValid()

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

Indicates the smtk portion of the point is valid.

Definition at line 70 of file SmtkPoint.h.

Member Data Documentation

◆ m_geom

PointPair Isis::SmtkPoint::m_geom

Definition at line 137 of file SmtkPoint.h.

◆ m_isValid

bool Isis::SmtkPoint::m_isValid

Definition at line 139 of file SmtkPoint.h.

◆ m_matchpt

MatchPoint Isis::SmtkPoint::m_matchpt

Definition at line 135 of file SmtkPoint.h.

◆ m_registered

bool Isis::SmtkPoint::m_registered

Definition at line 138 of file SmtkPoint.h.

◆ m_regpnt

PointGeometry Isis::SmtkPoint::m_regpnt

Definition at line 136 of file SmtkPoint.h.


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