Isis 3 Programmer Reference
|
a control measurement More...
#include <ControlMeasure.h>
Public Types | |
enum | MeasureType { Candidate, Manual, RegisteredPixel, RegisteredSubPixel } |
Control network measurement types. More... | |
enum | Status { Success, MeasureLocked } |
enum | ModType { IgnoredModified } |
Control Measure Modification Types. More... | |
enum | DataField { AprioriLine = 1, AprioriSample = 2, ChooserName = 4, CubeSerialNumber = 8, Coordinate = 16, DateTime = 32, Diameter = 64, EditLock = 128, Rejected = 256, FocalPlaneMeasured = 512, FocalPlaneComputed = 1024, Ignore = 2048, SampleResidual = 4096, LineResidual = 8192, SampleSigma = 16384, LineSigma = 32768, Type = 65536 } |
Public Member Functions | |
ControlMeasure () | |
Create a new control measure and initialize it to nulls and zeros. More... | |
ControlMeasure (const ControlMeasure &other) | |
Copy the other control measure exactly. More... | |
~ControlMeasure () | |
Free the memory allocated by a control. More... | |
ControlPoint * | Parent () |
Status | SetAprioriLine (double aprioriLine) |
Status | SetAprioriSample (double aprioriSample) |
Status | SetCamera (Isis::Camera *camera) |
Set pointer to camera associated with a measure. More... | |
Status | SetChooserName () |
Set chooser name to a user who last changed the coordinate. More... | |
Status | SetChooserName (QString name) |
Set the chooser name to an application that last changed the coordinate. More... | |
Status | SetCoordinate (double sample, double line) |
Set the coordinate of the measurement. More... | |
Status | SetCoordinate (double sample, double line, MeasureType type) |
Set the coordinate of the measurement. More... | |
Status | SetCubeSerialNumber (QString newSerialNumber) |
Set cube serial number. More... | |
Status | SetDateTime () |
Date Time - Creation Time. More... | |
Status | SetDateTime (QString datetime) |
Set date/time the coordinate was last changed to specified date/time. More... | |
Status | SetDiameter (double diameter) |
Set the crater diameter at the coordinate. More... | |
Status | SetEditLock (bool editLock) |
Status | SetFocalPlaneMeasured (double x, double y) |
Set the focal plane x/y for the measured line/sample. More... | |
Status | SetFocalPlaneComputed (double x, double y) |
Set the computed focal plane x/y for the apriori lat/lon. More... | |
Status | SetIgnored (bool newIgnoredStatus) |
Status | SetLineSigma (double lineSigma) |
Status | SetRejected (bool rejected) |
Set "jigsaw" rejected flag for a measure. More... | |
Status | SetResidual (double sampResidual, double lineResidual) |
Set the BundleAdjust Residual of the coordinate. More... | |
Status | SetSampleSigma (double sampleSigma) |
Status | SetType (MeasureType type) |
Set how the coordinate was obtained. More... | |
void | DeleteLogData (long dataType) |
This deletes log data of the specified type. More... | |
QVariant | GetLogValue (long dataType) const |
Get the value of the log data with the specified type as a variant. More... | |
bool | HasLogData (long dataType) const |
Test if we have a valid log data value of the specified type. More... | |
void | SetLogData (ControlMeasureLogData) |
This adds or updates the log data information associated with data's type. More... | |
void | UpdateLogData (ControlMeasureLogData) |
This updates existing log data information associated with data's type. More... | |
double | GetAprioriLine () const |
double | GetAprioriSample () const |
Isis::Camera * | Camera () const |
QString | GetChooserName () const |
Return the chooser name. More... | |
bool | HasChooserName () const |
Returns true if the choosername is not empty. More... | |
QString | GetCubeSerialNumber () const |
Return the serial number of the cube containing the coordinate. More... | |
QString | GetDateTime () const |
Return the date/time the coordinate was last changed. More... | |
bool | HasDateTime () const |
Returns true if the datetime is not empty. More... | |
double | GetDiameter () const |
Return the diameter of the crater in pixels (0 implies no crater) More... | |
ControlMeasureLogData | GetLogData (long dataType) const |
bool | IsEditLocked () const |
Return value for p_editLock or implicit lock on reference measure. More... | |
bool | IsRejected () const |
double | GetFocalPlaneComputedX () const |
double | GetFocalPlaneComputedY () const |
double | GetFocalPlaneMeasuredX () const |
double | GetFocalPlaneMeasuredY () const |
double | GetMeasureData (QString) const |
One Getter to rule them all. More... | |
bool | IsIgnored () const |
bool | IsMeasured () const |
bool | IsRegistered () const |
bool | IsStatisticallyRelevant (DataField field) const |
double | GetLine () const |
double | GetLineResidual () const |
double | GetLineSigma () const |
QVector< ControlMeasureLogData > | GetLogDataEntries () const |
Return all of the log data for the measure. More... | |
QVector< ControlMeasureLogData > | GetLastRunLogDataEntries () const |
double | GetResidualMagnitude () const |
Return Residual magnitude. More... | |
double | GetSample () const |
double | GetSampleResidual () const |
double | GetSampleSigma () const |
MeasureType | GetType () const |
QString | GetPointId () const |
double | GetSampleShift () const |
double | GetLineShift () const |
double | GetPixelShift () const |
QList< QStringList > | PrintableClassData () const |
Data accessor method, provides access to string representations of all variable values and names. More... | |
QString | GetMeasureTypeString () const |
Obtain a string representation of the MeasureType. More... | |
const ControlMeasure & | operator= (const ControlMeasure &other) |
Assignment operator. More... | |
bool | operator!= (const Isis::ControlMeasure &pMeasure) const |
Compare 2 Control Measures for inequality. More... | |
bool | operator== (const Isis::ControlMeasure &pMeasure) const |
Check for Control Measures equality. More... | |
Static Public Member Functions | |
static QVector< QString > | GetMeasureDataNames () |
Returns a list of all valid options to pass to GetMeasureData. More... | |
static QString | MeasureTypeToString (MeasureType type) |
Return the String Control Measure type. More... | |
static MeasureType | StringToMeasureType (QString str) |
Private Member Functions | |
void | InitializeToNull () |
initialize pointers and other data to NULL More... | |
void | MeasureModified () |
Private Attributes | |
ControlPoint * | parentPoint |
Pointer to parent ControlPoint, may be null. More... | |
QString * | p_serialNumber |
MeasureType | p_measureType |
QVector< ControlMeasureLogData > * | p_loggedData |
PvlGroup * | p_comments |
QString * | p_chooserName |
list the program used and the definition file or include the user name for qnet More... | |
QString * | p_dateTime |
bool | p_editLock |
If true do not edit anything in measure. More... | |
bool | p_ignore |
bool | p_jigsawRejected |
Status of measure for last bundle adjust iteration. More... | |
double | p_sample |
Current sample/line measurement. More... | |
double | p_line |
Jigsaw uses this measure. More... | |
double | p_diameter |
double | p_aprioriSample |
The first identified location of the. More... | |
double | p_aprioriLine |
measure by autoseed. Pointreg/Interest always use this location to start it's search. Could be moved by interest program or user. More... | |
double | p_computedEphemerisTime |
double | p_sampleSigma |
Uncertainty/sigma in pixels of the measurement (current sample/line) More... | |
double | p_lineSigma |
Not sure how we determine this for automated or manual picking. More... | |
double | p_sampleResidual |
Jigsaw information - Solution error - replaces p_sampleError. More... | |
double | p_lineResidual |
Jigsaw information - Solution error - replaces p_lineError. More... | |
Isis::Camera * | p_camera |
double | p_focalPlaneMeasuredX |
double | p_focalPlaneMeasuredY |
double | p_focalPlaneComputedX |
double | p_focalPlaneComputedY |
double | p_measuredEphemerisTime |
Friends | |
class | ControlPoint |
a control measurement
This class is used to record a coordinate (measurement) on a cube for a control point.
Definition at line 175 of file ControlMeasure.h.
Control network measurement types.
OLD VERSION: Manual implies the coordinate was selected by a human but still may be in error. It is subject to refinement by other computer programs.
Estimated implies the coordinate was selected by a computer program but has not been sub-pixel registered and is more than likely in error. It is subject to refinement by other computer programs
AutomaticPixel implies the coordinate was selected by a computer program and met registration criteria (but still may be in error). It is subject to refinement by other computer programs.
ValidatedManual implies the coordinate was manually selected by a human, was validated by a human, and should not be changed by any automated means.
ValidatedAutomatic implies the coordinate was automatically selected by a computer program, was validated by a human, and should not be changed by any automated means.
Definition at line 206 of file ControlMeasure.h.
Control Measure Modification Types.
This enum is designed to represent the different types of modifications that can be made to a ControlMeasure.
IgnoredModified means that the Control Measure had it's IGNORED flag changed.
Definition at line 232 of file ControlMeasure.h.
Isis::ControlMeasure::ControlMeasure | ( | ) |
Create a new control measure and initialize it to nulls and zeros.
Definition at line 30 of file ControlMeasure.cpp.
Isis::ControlMeasure::ControlMeasure | ( | const ControlMeasure & | other | ) |
Copy the other control measure exactly.
other | The control measure to copy all of the values from |
Definition at line 50 of file ControlMeasure.cpp.
References p_aprioriLine, p_aprioriSample, p_chooserName, p_editLock, p_jigsawRejected, p_line, p_lineResidual, p_lineSigma, p_sample, p_sampleResidual, and p_sampleSigma.
Isis::ControlMeasure::~ControlMeasure | ( | ) |
Free the memory allocated by a control.
Definition at line 110 of file ControlMeasure.cpp.
void Isis::ControlMeasure::DeleteLogData | ( | long | dataType | ) |
This deletes log data of the specified type.
If none exist, this does nothing.
dataType | A ControlMeasureLogData::NumericLogDataType |
Definition at line 455 of file ControlMeasure.cpp.
References Isis::ControlMeasureLogData::GetDataType().
Referenced by Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
QString Isis::ControlMeasure::GetChooserName | ( | ) | const |
Return the chooser name.
Definition at line 542 of file ControlMeasure.cpp.
References Isis::FileName::name().
Referenced by Isis::ControlPointEditWidget::loadPoint(), Isis::ControlPointEditWidget::setPointType(), Isis::ControlNetVersioner::toPvl(), and Isis::ControlNetVersioner::writeFirstPoint().
QString Isis::ControlMeasure::GetCubeSerialNumber | ( | ) | const |
Return the serial number of the cube containing the coordinate.
Definition at line 557 of file ControlMeasure.cpp.
Referenced by Isis::QnetTool::addMeasure(), Isis::ControlNetVitals::addMeasure(), Isis::ControlPoint::AddMeasure(), Isis::ControlNetVitals::addMeasureToCounts(), Isis::ControlPointEditWidget::checkReference(), Isis::QnetTool::checkReference(), Isis::ControlPoint::ComputeApriori(), Isis::ControlPoint::ComputeResiduals(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), Isis::ControlNetFilter::CubeDistanceFilter(), Isis::BundleMeasure::cubeSerialNumber(), Isis::ControlPoint::Delete(), Isis::ControlNetVitals::deleteMeasure(), Isis::ControlPointEditWidget::deletePoint(), Isis::MatchTool::deletePoint(), Isis::QnetTool::deletePoint(), Isis::QnetSetAprioriDialog::fillReferenceAprioriLineEdits(), Isis::QnetPointDistanceFilter::filter(), Isis::CnetEditorWidget::filteredNetwork(), Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::FindOverlap(), Isis::QnetTool::findPointLocation(), Isis::ControlPoint::GetReferenceSN(), Isis::ControlPoint::IndexOf(), Isis::ControlPoint::IndexOfRefMeasure(), Isis::InterestOperator::InterestByMeasure(), Isis::InterestOperator::InterestByPoint(), Isis::ControlPointEditWidget::loadGroundMeasure(), Isis::QnetTool::loadGroundMeasure(), Isis::MatchTool::loadMeasureTable(), Isis::QnetTool::loadMeasureTable(), Isis::MatchTool::loadPoint(), Isis::QnetTool::loadPoint(), Isis::ControlPointEditWidget::loadPoint(), Isis::ControlNet::measureAdded(), Isis::ControlNet::measureDeleted(), Isis::ControlNet::measureIgnored(), Isis::ControlNetVitals::measureModified(), Isis::MatchTool::measureSaved(), Isis::ControlNet::measureUnIgnored(), Isis::ControlNet::pointAdded(), Isis::ControlNetFilter::PointCubeNamesFilter(), Isis::ControlNetFilter::PointDistanceFilter(), Isis::ControlNet::pointIgnored(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::ControlNetFilter::PointMeasurePropertiesFilter(), Isis::ControlNet::pointUnIgnored(), Isis::ControlNetFilter::PrintCubeFileSerialNum(), Isis::InterestOperator::ProcessLocked_Point_Reference(), Isis::ControlNetVitals::removeMeasureFromCounts(), Isis::ControlMeasureEditWidget::saveMeasure(), Isis::ControlPointEdit::saveMeasure(), Isis::MatchTool::selectLeftMeasure(), Isis::MatchTool::selectRightMeasure(), Isis::MatchTool::setIgnoreLeftMeasure(), Isis::MatchTool::setIgnoreRightMeasure(), Isis::ControlNet::SetImages(), Isis::MatchTool::setLockLeftMeasure(), Isis::MatchTool::setLockRightMeasure(), Isis::ControlPointEditWidget::setShapesForPoint(), Isis::ControlNetVersioner::toPvl(), Isis::MatchTool::updateLeftMeasureInfo(), Isis::MatchTool::updateRightMeasureInfo(), Isis::ControlPointEditWidget::validateMeasureChange(), and Isis::ControlNetVersioner::writeFirstPoint().
QString Isis::ControlMeasure::GetDateTime | ( | ) | const |
Return the date/time the coordinate was last changed.
Definition at line 563 of file ControlMeasure.cpp.
Referenced by Isis::ControlNetVersioner::toPvl(), and Isis::ControlNetVersioner::writeFirstPoint().
double Isis::ControlMeasure::GetDiameter | ( | ) | const |
Return the diameter of the crater in pixels (0 implies no crater)
Definition at line 580 of file ControlMeasure.cpp.
Referenced by Isis::ControlNetVersioner::toPvl(), and Isis::ControlNetVersioner::writeFirstPoint().
QVector< ControlMeasureLogData > Isis::ControlMeasure::GetLogDataEntries | ( | ) | const |
Return all of the log data for the measure.
Definition at line 796 of file ControlMeasure.cpp.
Referenced by Isis::ControlNetVersioner::toPvl(), and Isis::ControlNetVersioner::writeFirstPoint().
QVariant Isis::ControlMeasure::GetLogValue | ( | long | dataType | ) | const |
Get the value of the log data with the specified type as a variant.
This should work for all types of log data.
Definition at line 469 of file ControlMeasure.cpp.
References Isis::ControlMeasureLogData::GetDataType(), and Isis::ControlMeasureLogData::GetValue().
double Isis::ControlMeasure::GetMeasureData | ( | QString | data | ) | const |
One Getter to rule them all.
Definition at line 806 of file ControlMeasure.cpp.
|
static |
Returns a list of all valid options to pass to GetMeasureData.
Definition at line 833 of file ControlMeasure.cpp.
QString Isis::ControlMeasure::GetMeasureTypeString | ( | ) | const |
Obtain a string representation of the MeasureType.
Definition at line 987 of file ControlMeasure.cpp.
Referenced by Isis::ControlNetFilter::PointGoodnessOfFitFilter(), Isis::ControlNetFilter::PointMeasurePropertiesFilter(), Isis::ControlNetFilter::PointMeasuresFilter(), Isis::ControlNetFilter::PointNumMeasuresEditLockFilter(), Isis::ControlNetFilter::PointPixelShiftFilter(), and Isis::ControlNetFilter::PointResMagnitudeFilter().
double Isis::ControlMeasure::GetResidualMagnitude | ( | ) | const |
Return Residual magnitude.
Returns Isis:Null when p_lineResidual or p_sampleResidual not specifically set after call to constructor. (This calculation is normally done within the jigsaw app)
Definition at line 712 of file ControlMeasure.cpp.
References Isis::IsSpecial(), and Isis::Null.
Referenced by Isis::QnetPointJigsawErrorFilter::filter(), Isis::ControlNetStatistics::GetPointDoubleStats(), Isis::MatchTool::loadMeasureTable(), Isis::QnetTool::loadMeasureTable(), Isis::ControlPointGraphicsItem::paint(), Isis::ControlNetFilter::PointResMagnitudeFilter(), and Isis::BundleMeasure::residualMagnitude().
bool Isis::ControlMeasure::HasChooserName | ( | ) | const |
Returns true if the choosername is not empty.
Definition at line 552 of file ControlMeasure.cpp.
bool Isis::ControlMeasure::HasDateTime | ( | ) | const |
Returns true if the datetime is not empty.
Definition at line 573 of file ControlMeasure.cpp.
bool Isis::ControlMeasure::HasLogData | ( | long | dataType | ) | const |
Test if we have a valid log data value of the specified type.
dataType | A ControlMeasureLogData::NumericLogDataType |
Definition at line 486 of file ControlMeasure.cpp.
References Isis::ControlMeasureLogData::GetDataType().
|
private |
initialize pointers and other data to NULL
Definition at line 77 of file ControlMeasure.cpp.
References Isis::Null.
bool Isis::ControlMeasure::IsEditLocked | ( | ) | const |
Return value for p_editLock or implicit lock on reference measure.
This method returns p_editLock unless the measure is a reference measure. In the case of a reference measure the value of the parent point's editLock is returned. An editLock on a control point implicitly locks the points reference measure as well.
Definition at line 601 of file ControlMeasure.cpp.
Referenced by Isis::ControlPoint::Delete(), Isis::InterestOperator::FindCnetRef(), Isis::ControlNetStatistics::GenerateImageStats(), Isis::MatchTool::IsMeasureLocked(), Isis::QnetTool::measureSaved(), Isis::ControlNetFilter::PointCubeNamesFilter(), Isis::ControlNetFilter::PointGoodnessOfFitFilter(), Isis::ControlNetFilter::PointMeasurePropertiesFilter(), Isis::ControlNetFilter::PointMeasuresFilter(), Isis::ControlNetFilter::PointNumMeasuresEditLockFilter(), Isis::ControlNetFilter::PointPixelShiftFilter(), Isis::ControlNetFilter::PointResMagnitudeFilter(), Isis::InterestOperator::ProcessLocked_Point_Reference(), Isis::ControlMeasureEditWidget::saveMeasure(), Isis::ControlPointEdit::saveMeasure(), Isis::MatchTool::setLockLeftMeasure(), Isis::MatchTool::setLockRightMeasure(), Isis::ControlNetVersioner::toPvl(), Isis::ControlPointEditWidget::validateMeasureChange(), and Isis::ControlNetVersioner::writeFirstPoint().
|
static |
Return the String Control Measure type.
Definition at line 951 of file ControlMeasure.cpp.
References Isis::toString().
Referenced by Isis::MatchTool::loadMeasureTable(), and Isis::QnetTool::loadMeasureTable().
bool Isis::ControlMeasure::operator!= | ( | const Isis::ControlMeasure & | pMeasure | ) | const |
Compare 2 Control Measures for inequality.
pMeasure |
Definition at line 1066 of file ControlMeasure.cpp.
const ControlMeasure & Isis::ControlMeasure::operator= | ( | const ControlMeasure & | other | ) |
Assignment operator.
Definition at line 1001 of file ControlMeasure.cpp.
References p_aprioriLine, p_aprioriSample, p_chooserName, p_editLock, p_line, p_lineResidual, p_lineSigma, p_sample, p_sampleResidual, and p_sampleSigma.
bool Isis::ControlMeasure::operator== | ( | const Isis::ControlMeasure & | pMeasure | ) | const |
Check for Control Measures equality.
pMeasure | - Control Measure to be compared against |
Definition at line 1087 of file ControlMeasure.cpp.
References p_aprioriLine, p_aprioriSample, p_chooserName, p_editLock, p_jigsawRejected, p_line, p_lineResidual, p_lineSigma, p_sample, p_sampleResidual, and p_sampleSigma.
QList< QStringList > Isis::ControlMeasure::PrintableClassData | ( | ) | const |
Data accessor method, provides access to string representations of all variable values and names.
Definition at line 854 of file ControlMeasure.cpp.
ControlMeasure::Status Isis::ControlMeasure::SetCamera | ( | Isis::Camera * | camera | ) |
Set pointer to camera associated with a measure.
This method is used to set a pointer to the camera associated with a ControlMeasure.
*camera | Pointer to camera |
Definition at line 169 of file ControlMeasure.cpp.
Referenced by Isis::ControlPointEditWidget::createControlPoint(), Isis::QnetTool::createFixedPoint(), Isis::QnetTool::createPoint(), and Isis::ControlNet::SetImages().
ControlMeasure::Status Isis::ControlMeasure::SetChooserName | ( | ) |
Set chooser name to a user who last changed the coordinate.
Definition at line 196 of file ControlMeasure.cpp.
Referenced by Isis::QnetTool::addMeasure(), Isis::ControlPointEditWidget::createControlPoint(), Isis::QnetTool::createFixedPoint(), Isis::ControlNetVersioner::createMeasure(), Isis::QnetTool::createPoint(), Isis::StereoTool::createPoint(), Isis::MatchTool::createPoint(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), Isis::InterestOperator::FindCnetRef(), Isis::MatchTool::measureSaved(), Isis::InterestOperator::ProcessLocked_Point_Reference(), Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetChooserName | ( | QString | name | ) |
Set the chooser name to an application that last changed the coordinate.
Definition at line 205 of file ControlMeasure.cpp.
ControlMeasure::Status Isis::ControlMeasure::SetCoordinate | ( | double | sample, |
double | line | ||
) |
Set the coordinate of the measurement.
sample | Sample coordinate of the measurement |
line | Line coordinate of the measurement, |
Definition at line 219 of file ControlMeasure.cpp.
Referenced by Isis::QnetTool::addMeasure(), Isis::ControlPointEditWidget::createControlPoint(), Isis::QnetTool::createFixedPoint(), Isis::ControlNetVersioner::createMeasure(), Isis::QnetTool::createPoint(), Isis::StereoTool::createPoint(), Isis::MatchTool::createPoint(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), Isis::QnetTool::createTemporaryGroundMeasure(), Isis::InterestOperator::FindCnetRef(), Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetCoordinate | ( | double | sample, |
double | line, | ||
MeasureType | type | ||
) |
Set the coordinate of the measurement.
sample | Sample coordinate of the measurement |
line | Line coordinate of the measurement |
type | The type of the coordinate |
Definition at line 232 of file ControlMeasure.cpp.
ControlMeasure::Status Isis::ControlMeasure::SetCubeSerialNumber | ( | QString | newSerialNumber | ) |
Set cube serial number.
This method is used to set the serial number of the cube. That is, the coordinate was selected from a cube with this unique serial number
sn | Serial number of the cube where the coordinate was selected |
Definition at line 187 of file ControlMeasure.cpp.
Referenced by Isis::QnetTool::addMeasure(), Isis::ControlPointEditWidget::createControlPoint(), Isis::QnetTool::createFixedPoint(), Isis::ControlNetVersioner::createMeasure(), Isis::QnetTool::createPoint(), Isis::StereoTool::createPoint(), Isis::MatchTool::createPoint(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), and Isis::QnetTool::createTemporaryGroundMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetDateTime | ( | ) |
Date Time - Creation Time.
Definition at line 247 of file ControlMeasure.cpp.
Referenced by Isis::ControlNetVersioner::createMeasure(), Isis::StereoTool::createPoint(), Isis::MatchTool::createPoint(), Isis::InterestOperator::FindCnetRef(), Isis::InterestOperator::ProcessLocked_Point_Reference(), Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetDateTime | ( | QString | datetime | ) |
Set date/time the coordinate was last changed to specified date/time.
Definition at line 256 of file ControlMeasure.cpp.
ControlMeasure::Status Isis::ControlMeasure::SetDiameter | ( | double | diameter | ) |
Set the crater diameter at the coordinate.
This method sets the crater diameter at the coordinate. If left unset a diameter of 0 is assumed which implies no crater
diameter | The diameter of the crater in pixels |
Definition at line 272 of file ControlMeasure.cpp.
Referenced by Isis::StereoTool::calculateElevation(), and Isis::ControlNetVersioner::createMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetFocalPlaneComputed | ( | double | x, |
double | y | ||
) |
Set the computed focal plane x/y for the apriori lat/lon.
This is a convenience method for the BundleAdjustment class to avoid having to go redo the calculation.
*camera | Pointer to camera |
Definition at line 319 of file ControlMeasure.cpp.
Referenced by Isis::ControlPoint::ComputeResiduals_Millimeters().
ControlMeasure::Status Isis::ControlMeasure::SetFocalPlaneMeasured | ( | double | x, |
double | y | ||
) |
Set the focal plane x/y for the measured line/sample.
This is a convenience method for the BundleAdjustment class to avoid having to go redo the calculation.
*camera | Pointer to camera |
Definition at line 299 of file ControlMeasure.cpp.
Referenced by Isis::StereoTool::calculateElevation(), and Isis::ControlPoint::ComputeApriori().
void Isis::ControlMeasure::SetLogData | ( | ControlMeasureLogData | data | ) |
This adds or updates the log data information associated with data's type.
In most cases, this is what you want to use to assign log data.
Definition at line 435 of file ControlMeasure.cpp.
References Isis::ControlMeasureLogData::GetDataType(), and Isis::ControlMeasureLogData::IsValid().
Referenced by Isis::ControlNetVersioner::createMeasure(), Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetRejected | ( | bool | reject | ) |
Set "jigsaw" rejected flag for a measure.
This method is used to set the "jigsaw"-rejected flag for the current measure. It should only be used by jigsaw.
*reject | rejected flag |
Definition at line 343 of file ControlMeasure.cpp.
Referenced by Isis::ControlPoint::ClearJigsawRejected(), Isis::ControlNetVersioner::createMeasure(), and Isis::BundleMeasure::setRejected().
ControlMeasure::Status Isis::ControlMeasure::SetResidual | ( | double | sampResidual, |
double | lineResidual | ||
) |
Set the BundleAdjust Residual of the coordinate.
***Warning: This method should only be used by BundleAdjust and its applications.
sampResidual | Sample Residual |
lineResidual | Line Residual |
Definition at line 399 of file ControlMeasure.cpp.
Referenced by Isis::ControlPoint::ComputeResiduals(), and Isis::ControlNetVersioner::createMeasure().
ControlMeasure::Status Isis::ControlMeasure::SetType | ( | MeasureType | type | ) |
Set how the coordinate was obtained.
Definition at line 420 of file ControlMeasure.cpp.
Referenced by Isis::QnetTool::addMeasure(), Isis::ControlPointEditWidget::createControlPoint(), Isis::QnetTool::createFixedPoint(), Isis::ControlNetVersioner::createMeasure(), Isis::QnetTool::createPoint(), Isis::StereoTool::createPoint(), Isis::MatchTool::createPoint(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), Isis::QnetTool::createTemporaryGroundMeasure(), Isis::InterestOperator::FindCnetRef(), Isis::ControlMeasureEditWidget::saveMeasure(), and Isis::ControlPointEdit::saveMeasure().
|
static |
str | The string to get a MeasureType from |
Definition at line 919 of file ControlMeasure.cpp.
void Isis::ControlMeasure::UpdateLogData | ( | ControlMeasureLogData | newLogData | ) |
This updates existing log data information associated with data's type.
If none exist, an error is thrown.
Definition at line 504 of file ControlMeasure.cpp.
References Isis::ControlMeasureLogData::DataTypeToName(), and Isis::ControlMeasureLogData::GetDataType().
|
private |
measure by autoseed. Pointreg/Interest always use this location to start it's search. Could be moved by interest program or user.
Definition at line 366 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
The first identified location of the.
Definition at line 365 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
list the program used and the definition file or include the user name for qnet
Definition at line 356 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
If true do not edit anything in measure.
Definition at line 358 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Status of measure for last bundle adjust iteration.
Definition at line 360 of file ControlMeasure.h.
Referenced by ControlMeasure(), and operator==().
|
private |
Jigsaw uses this measure.
Definition at line 362 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Jigsaw information - Solution error - replaces p_lineError.
Definition at line 376 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Not sure how we determine this for automated or manual picking.
Definition at line 374 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Current sample/line measurement.
Definition at line 361 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Jigsaw information - Solution error - replaces p_sampleError.
Definition at line 375 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Uncertainty/sigma in pixels of the measurement (current sample/line)
Definition at line 373 of file ControlMeasure.h.
Referenced by ControlMeasure(), operator=(), and operator==().
|
private |
Pointer to parent ControlPoint, may be null.
Definition at line 343 of file ControlMeasure.h.
Referenced by Isis::ControlPoint::AddMeasure().