Isis 3 Programmer Reference
Isis::PointPair Class Reference

Define a point set of left, right and geometry at that location. More...

#include <GruenTypes.h>

Collaboration diagram for Isis::PointPair:
Collaboration graph

Public Member Functions

 PointPair (const double &line, const double &sample)
 
 PointPair (const Coordinate &left, const Coordinate &right=Coordinate())
 
bool isValid () const
 Left, right and geometry coordinates must all be good data.
 
const CoordinategetLeft () const
 
const CoordinategetRight () const
 
double getLine () const
 
double getSample () const
 
double getLeftLine () const
 
double getLeftSample () const
 
double getRightLine () const
 
double getRightSample () const
 

Public Attributes

Coordinate m_left
 
Coordinate m_right
 

Detailed Description

Define a point set of left, right and geometry at that location.

The structure defines a Gruen point set that may or may not contain a valid geometry. This supports the (efficient) growing feature of SMTK in that a grown point will have valid left and right points, but not neccesarily geomertry. Valid geometry requires using camera models and that is costly.

Default initialize sets all points to an invalid state.

Author
????-??-?? Unknown

Definition at line 171 of file GruenTypes.h.

Constructor & Destructor Documentation

◆ PointPair() [1/3]

Isis::PointPair::PointPair ( )
inline

Definition at line 173 of file GruenTypes.h.

◆ PointPair() [2/3]

Isis::PointPair::PointPair ( const double & line,
const double & sample )
inline

Definition at line 174 of file GruenTypes.h.

◆ PointPair() [3/3]

Isis::PointPair::PointPair ( const Coordinate & left,
const Coordinate & right = Coordinate() )
inline

Definition at line 176 of file GruenTypes.h.

Member Function Documentation

◆ getLeft()

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

Definition at line 184 of file GruenTypes.h.

◆ getLeftLine()

double Isis::PointPair::getLeftLine ( ) const
inline

Definition at line 189 of file GruenTypes.h.

◆ getLeftSample()

double Isis::PointPair::getLeftSample ( ) const
inline

Definition at line 190 of file GruenTypes.h.

◆ getLine()

double Isis::PointPair::getLine ( ) const
inline

Definition at line 187 of file GruenTypes.h.

◆ getRight()

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

Definition at line 185 of file GruenTypes.h.

◆ getRightLine()

double Isis::PointPair::getRightLine ( ) const
inline

Definition at line 191 of file GruenTypes.h.

◆ getRightSample()

double Isis::PointPair::getRightSample ( ) const
inline

Definition at line 192 of file GruenTypes.h.

◆ getSample()

double Isis::PointPair::getSample ( ) const
inline

Definition at line 188 of file GruenTypes.h.

◆ isValid()

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

Left, right and geometry coordinates must all be good data.

Definition at line 181 of file GruenTypes.h.

References Isis::Coordinate::isValid().

Member Data Documentation

◆ m_left

Coordinate Isis::PointPair::m_left

Definition at line 194 of file GruenTypes.h.

◆ m_right

Coordinate Isis::PointPair::m_right

Definition at line 195 of file GruenTypes.h.


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