USGS

Isis 3.0 Application Source Code Reference

Home

CnetRefByResolution Class Reference

Find a Reference in Control Point based on Resolution. More...

#include <CnetRefByResolution.h>

List of all members.

Public Member Functions

 CnetRefByResolution (Pvl *pPvlDef, std::string psSerialNumfile, ResolutionType peType=Low, double pdResValue=0, double pdMinRes=0, double pdMaxRes=0)
 Constructor.
virtual ~CnetRefByResolution ()
virtual Pvl & GetLogPvl (void)
 Get the Log updated by this object.
double GetMeanResolution (void)
 Get the Mean of all the Resolution in a Point.
virtual void FindCnetRef (ControlNet &pNewNet)
 Given Control Net, find the reference based on Resolution.

Detailed Description

Find a Reference in Control Point based on Resolution.

This class is used find a Reference in Control Point based on Resolution after it has passed all the validity test for Dn, Emission & Incidence Angles and Resolution. Processes the entire points in the Control Network

Resolution choices could be based on highest, lowest Resolutions or Measure whose resolution is closest to mean of all the resolutions, Measure whose resolution is closest to user defined value or Measure whose resolution is in a given range

Author:
2010-06-10 Sharmila Prasad
See also:
ControlNetValidMeasure, CnetRefByEmission, CnetRefByIncidence

Definition at line 76 of file CnetRefByResolution.h.


Constructor & Destructor Documentation

CnetRefByResolution ( Pvl *  pPvlDef,
std::string  psSerialNumfile,
ResolutionType  peType = Low,
double  pdResValue = 0,
double  pdMinRes = 0,
double  pdMaxRes = 0 
)

Constructor.

CnetRefByResolution constructor with the def file.

Author:
Sharmila Prasad (5/25/2010)
Parameters:
pPvlDef - Pvl Definition File
psSerialNumfile - Serial Number file attached to the ControlNet
peType - Resolution Type
pdResValue - Resolution value
pdMinRes - Min Resolution value
pdMaxRes - Max Resolution value

Definition at line 30 of file CnetRefByResolution.cpp.

virtual ~CnetRefByResolution (  )  [inline, virtual]

Definition at line 81 of file CnetRefByResolution.h.


Member Function Documentation

virtual Pvl& GetLogPvl ( void   )  [inline, virtual]

Get the Log updated by this object.

Definition at line 84 of file CnetRefByResolution.h.

double GetMeanResolution ( void   ) 

Get the Mean of all the Resolution in a Point.

GetMeanResolution - Get Mean of all the resolutions of all the measures in the Control Point.

Author:
Sharmila Prasad (6/1/2010)
Returns:
double

Definition at line 314 of file CnetRefByResolution.cpp.

void FindCnetRef ( ControlNet &  pNewNet  )  [virtual]

Given Control Net, find the reference based on Resolution.

FindCnetRef traverses all the control points and measures in the network and checks for valid Measure which passes the Emission Incidence Angle, DN value tests and chooses the measure with the best Resolution criteria as the reference.

Creates a new control network with these adjustments.

Author:
Sharmila Prasad (5/25/2010)
History:
2010-10-04 Sharmila Prasad - Modified for Binary CNet (Edit Lock)
Parameters:
pNewNet - Modified output Control Net

Definition at line 53 of file CnetRefByResolution.cpp.


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