|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef AbstractPointItem_H
2 #define AbstractPointItem_H
25 class TableColumnList;
70 static const int COLS = 24;
83 QVariant
getData(QString columnTitle)
const;
84 void setData(QString
const &columnTitle, QString
const &newData);
@ AdjustedSPRadius
Definition: AbstractPointItem.h:54
@ AdjustedSPLonSigma
Definition: AbstractPointItem.h:56
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
virtual void sourceDeleted()
Definition: AbstractPointItem.cpp:479
@ Point
Definition: AbstractTreeItem.h:46
@ EditLock
Definition: AbstractPointItem.h:49
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:46
Status SetAprioriRadiusSourceFile(QString sourceFile)
This updates the filename of the DEM that the apriori radius came from.
Definition: ControlPoint.cpp:755
Status SetIgnored(bool newIgnoreStatus)
Set whether to ignore or use control point.
Definition: ControlPoint.cpp:653
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Status SetChooserName(QString name)
Set the point's chooser name.
Definition: ControlPoint.cpp:487
QString GetChooserName() const
Definition: ControlPoint.cpp:1242
@ APrioriRadiusSourceFile
Definition: AbstractPointItem.h:67
Distance GetLonSigmaDistance() const
Return the longitude sigma in meters.
Definition: SurfacePoint.cpp:1763
static CnetDisplayProperties * getInstance()
Definition: CnetDisplayProperties.cpp:39
@ APrioriSPSource
Definition: AbstractPointItem.h:64
Status SetEditLock(bool editLock)
Set the EditLock state.
Definition: ControlPoint.cpp:522
@ Ignored
Definition: AbstractPointItem.h:50
@ DateTime
Definition: AbstractPointItem.h:48
SurfacePoint GetAdjustedSurfacePoint() const
Definition: ControlPoint.cpp:1282
virtual ~AbstractPointItem()
Definition: AbstractPointItem.cpp:165
InternalPointerType getPointerType() const
Definition: AbstractPointItem.cpp:465
Status SetAdjustedSurfacePoint(SurfacePoint newSurfacePoint)
Set or update the surface point relating to this control point.
Definition: ControlPoint.cpp:692
Distance GetLatSigmaDistance() const
Return the latitude sigma as a Distance.
Definition: SurfacePoint.cpp:1747
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
bool hasPoint(ControlPoint *) const
Definition: AbstractPointItem.cpp:475
bool isDataEditable(QString columnTitle) const
Definition: AbstractPointItem.cpp:431
void append(TableColumn *newCol)
Definition: TableColumnList.cpp:72
@ AdjustedSPLatSigma
Definition: AbstractPointItem.h:55
SurfacePoint GetAprioriSurfacePoint() const
Definition: ControlPoint.cpp:1566
static QString getColumnName(Column)
Definition: AbstractPointItem.cpp:30
Latitude GetLatitude() const
Return the body-fixed latitude for the surface point.
Definition: SurfacePoint.cpp:1665
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
Definition: TableColumn.h:26
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
QString GetDateTime() const
Definition: ControlPoint.cpp:1262
@ APrioriSPRadiusSigma
Definition: AbstractPointItem.h:63
@ APrioriRadiusSource
Definition: AbstractPointItem.h:66
Status SetAprioriSurfacePointSourceFile(QString sourceFile)
This updates the filename of where the apriori surface point came from.
Definition: ControlPoint.cpp:839
QString GetAprioriRadiusSourceFile() const
Definition: ControlPoint.cpp:1676
void setData(QString const &columnTitle, QString const &newData)
Definition: AbstractPointItem.cpp:270
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
QString GetRadiusSourceString() const
Obtain a string representation of the RadiusSource.
Definition: ControlPoint.cpp:1480
static Column getColumn(QString)
Definition: AbstractPointItem.cpp:87
@ APrioriSPSourceFile
Definition: AbstractPointItem.h:65
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
A single control point.
Definition: ControlPoint.h:354
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
AbstractPointItem(ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0)
Definition: AbstractPointItem.cpp:154
Column
Definition: AbstractPointItem.h:44
virtual void calcDataWidth(int avgCharWidth)
Definition: AbstractTreeItem.cpp:194
Status SetRefMeasure(ControlMeasure *cm)
Set the point's reference measure.
Definition: ControlPoint.cpp:570
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
@ JigsawRejected
Definition: AbstractPointItem.h:68
Status SetAprioriSurfacePoint(SurfacePoint aprioriSP)
This updates the apriori surface point.
Definition: ControlPoint.cpp:779
Status SetType(PointType newType)
Updates the control point's type.
Definition: ControlPoint.cpp:709
Definition: TableColumnList.h:30
QString GetSurfacePointSourceString() const
Obtain a string representation of the SurfacePointSource.
Definition: ControlPoint.cpp:1561
int GetNumLockedMeasures() const
Returns the number of locked control measures.
Definition: ControlPoint.cpp:1728
Status SetId(QString id)
Sets the Id of the control point.
Definition: ControlPoint.cpp:552
static SurfacePointSource::Source StringToSurfacePointSource(QString str)
Obtain a SurfacePoint::Source from a string.
Definition: ControlPoint.cpp:1530
static RadiusSource::Source StringToRadiusSource(QString str)
Obtain a RadiusSource::Source from a string.
Definition: ControlPoint.cpp:1448
Status SetDateTime(QString newDateTime)
Set the point's last modified time.
Definition: ControlPoint.cpp:504
static const int COLS
Definition: AbstractPointItem.h:70
Base class for a point item in the tree.
Definition: AbstractPointItem.h:40
bool isValid() const
Test if this distance has been initialized or not.
Definition: Distance.cpp:192
@ APrioriSPRadius
Definition: AbstractPointItem.h:60
@ APrioriSPLat
Definition: AbstractPointItem.h:58
@ APrioriSPLatSigma
Definition: AbstractPointItem.h:61
Isis exception class.
Definition: IException.h:91
QString GetAprioriSurfacePointSourceFile() const
Definition: ControlPoint.cpp:1697
#define ASSERT(x)
Definition: IsisDebug.h:134
Longitude GetLongitude() const
Return the body-fixed longitude for the surface point.
Definition: SurfacePoint.cpp:1685
ControlNet * Parent()
Definition: ControlPoint.h:466
bool IsRejected() const
Definition: ControlPoint.cpp:1277
virtual QString getFormattedData() const
Definition: AbstractTreeItem.cpp:66
@ APrioriSPLonSigma
Definition: AbstractPointItem.h:62
QVariant getData() const
Definition: AbstractPointItem.cpp:170
void * getPointer() const
Definition: AbstractPointItem.cpp:470
Distance GetLocalRadius() const
Return the radius of the surface point.
Definition: SurfacePoint.cpp:1732
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
const ControlMeasure * GetRefMeasure() const
Get the reference control measure.
Definition: ControlPoint.cpp:457
void SetSphericalCoordinates(const Latitude &lat, const Longitude &lon, const Distance &radius)
Update spherical coordinates (lat/lon/radius)
Definition: SurfacePoint.cpp:553
static double catchNull(QString)
Definition: AbstractTreeItem.cpp:224
double meters() const
Get the distance in meters.
Definition: Distance.cpp:85
int DeletePoint(ControlPoint *point)
Delete a ControlPoint from the network by the point's address.
Definition: ControlNet.cpp:879
@ AdjustedSPLat
Definition: AbstractPointItem.h:52
double degrees() const
Get the angle in units of Degrees.
Definition: Angle.h:232
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
Status SetAprioriSurfacePointSource(SurfacePointSource::Source source)
This updates the source of the surface point.
Definition: ControlPoint.cpp:821
bool HasSerialNumber(QString serialNumber) const
Return true if given serial number exists in point.
Definition: ControlPoint.cpp:1746
@ Id
Definition: AbstractPointItem.h:45
void SetSphericalSigmasDistance(const Distance &latSigma, const Distance &lonSigma, const Distance &radiusSigma)
Set the spherical sigmas (in Distance units) into the spherical variance/covariance matrix.
Definition: SurfacePoint.cpp:617
@ APrioriSPLon
Definition: AbstractPointItem.h:59
static TableColumnList * createColumns()
Definition: AbstractPointItem.cpp:99
@ AdjustedSPRadiusSigma
Definition: AbstractPointItem.h:57
@ PointType
Definition: AbstractPointItem.h:46
static PointType StringToPointType(QString pointTypeString)
Obtain a PointType given a string representation of it.
Definition: ControlPoint.cpp:1359
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
InternalPointerType
Definition: AbstractTreeItem.h:44
Distance GetLocalRadiusSigma() const
Definition: SurfacePoint.cpp:1776
@ ChooserName
Definition: AbstractPointItem.h:47
@ AdjustedSPLon
Definition: AbstractPointItem.h:53
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString GetPointTypeString() const
Obtain a string representation of the PointType.
Definition: ControlPoint.cpp:1392
Status SetAprioriRadiusSource(RadiusSource::Source source)
This updates the source of the radius of the apriori surface point.
Definition: ControlPoint.cpp:736
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
void deleteSource()
Definition: AbstractPointItem.cpp:445
@ Reference
Definition: AbstractPointItem.h:51