OpenIndy-Core  0.2.0.43
oi::CoordinateSystem Class Reference

The CoordinateSystem class. More...

#include <coordinatesystem.h>

Inheritance diagram for oi::CoordinateSystem:
oi::Feature oi::Element

Signals

void observationsChanged (const int &coordId, const int &obsId)
 
void transformationParametersChanged (const int &coordId)
 
void nominalsChanged (const int &coordId)
 
void activeCoordinateSystemChanged (const int &coordId)
 
- Signals inherited from oi::Feature
void featureNameChanged (const int &featureId, const QString &oldName)
 
void featureGroupChanged (const int &featureId, const QString &oldGroup)
 
void featureCommentChanged (const int &featureId)
 
void featureIsUpdatedChanged (const int &featureId)
 
void featureIsSolvedChanged (const int &featureId)
 
void featureFunctionListChanged (const int &featureId)
 
void featureUsedForChanged (const int &featureId)
 
void featurePreviouslyNeededChanged (const int &featureId)
 
void featureIsActiveChanged (const int &featureId)
 
- Signals inherited from oi::Element
void elementAboutToBeDeleted (const int &elementId, const QString &name, const QString &group, const FeatureTypes &type)
 

Public Member Functions

 CoordinateSystem (QObject *parent=0)
 CoordinateSystem::CoordinateSystem. More...
 
 CoordinateSystem (const QPointer< Station > &station, QObject *parent=0)
 CoordinateSystem::CoordinateSystem. More...
 
 CoordinateSystem (const CoordinateSystem &copy, QObject *parent=0)
 CoordinateSystem::CoordinateSystem. More...
 
CoordinateSystemoperator= (const CoordinateSystem &copy)
 CoordinateSystem::operator =. More...
 
 ~CoordinateSystem ()
 CoordinateSystem::~CoordinateSystem. More...
 
const bool & getIsActiveCoordinateSystem () const
 CoordinateSystem::getIsActiveCoordinateSystem. More...
 
void setActiveCoordinateSystemState (const bool &isActiveCoordinateSystem)
 CoordinateSystem::setActiveCoordinateSystemState. More...
 
const bool & getIsStationSystem () const
 CoordinateSystem::getIsStationSystem. More...
 
const QPointer< Station > & getStation () const
 CoordinateSystem::getStation. More...
 
const PositiongetOrigin () const
 CoordinateSystem::getOrigin. More...
 
const DirectiongetXAxis () const
 CoordinateSystem::getXAxis. More...
 
const DirectiongetYAxis () const
 CoordinateSystem::getYAxis. More...
 
const DirectiongetZAxis () const
 CoordinateSystem::getZAxis. More...
 
void setCoordinateSystem (const Position &origin, const Direction &xAxis, const Direction &yAxis, const Direction &zAxis)
 CoordinateSystem::setCoordinateSystem. More...
 
const PositiongetExpansionOrigin () const
 CoordinateSystem::getExpansionOrigin. More...
 
void setExpansionOrigin (const Position &expansionOrigin)
 CoordinateSystem::setExpansionOrigin. More...
 
const QList< QPointer< Observation > > & getObservations () const
 CoordinateSystem::getObservations. More...
 
QPointer< ObservationgetObservation (const int &observationId) const
 CoordinateSystem::getObservation. More...
 
bool addObservation (const QPointer< Observation > &observation)
 CoordinateSystem::addObservation. More...
 
const QList< QPointer< TrafoParam > > & getTransformationParameters () const
 CoordinateSystem::getTransformationParameters. More...
 
const QList< QPointer< TrafoParam > > getTransformationParameters (const QPointer< CoordinateSystem > &to) const
 CoordinateSystem::getTransformationParameters. More...
 
bool addTransformationParameter (const QPointer< TrafoParam > &trafoParam)
 CoordinateSystem::addTransformationParameter. More...
 
bool removeTransformationParameter (const QPointer< TrafoParam > &trafoParam)
 CoordinateSystem::removeTransformationParameter. More...
 
const QList< QPointer< FeatureWrapper > > & getNominals () const
 CoordinateSystem::getNominals. More...
 
bool addNominal (const QPointer< FeatureWrapper > &nominal)
 CoordinateSystem::addNominal. More...
 
bool addNominals (const QList< QPointer< FeatureWrapper > > &nominals)
 CoordinateSystem::addNominals. More...
 
bool removeNominal (const QPointer< FeatureWrapper > &nominal)
 CoordinateSystem::removeNominal. More...
 
bool removeNominal (const int &featureId)
 CoordinateSystem::removeNominal. More...
 
void recalc ()
 CoordinateSystem::recalc. More...
 
QDomElement toOpenIndyXML (QDomDocument &xmlDoc)
 CoordinateSystem::toOpenIndyXML. More...
 
bool fromOpenIndyXML (QDomElement &xmlElem)
 CoordinateSystem::fromOpenIndyXML. More...
 
QString getDisplayX (const UnitType &type, const int &digits, const bool &showDiff=false) const
 CoordinateSystem::getDisplayX. More...
 
QString getDisplayY (const UnitType &type, const int &digits, const bool &showDiff=false) const
 CoordinateSystem::getDisplayY. More...
 
QString getDisplayZ (const UnitType &type, const int &digits, const bool &showDiff=false) const
 CoordinateSystem::getDisplayZ. More...
 
QString getDisplayExpansionOriginX (const UnitType &type, const int &digits) const
 CoordinateSystem::getDisplayExpansionOriginX. More...
 
QString getDisplayExpansionOriginY (const UnitType &type, const int &digits) const
 CoordinateSystem::getDisplayExpansionOriginY. More...
 
QString getDisplayExpansionOriginZ (const UnitType &type, const int &digits) const
 CoordinateSystem::getDisplayExpansionOriginZ. More...
 
QString getDisplayXAxisI (const int &digits) const
 CoordinateSystem::getDisplayXAxisI. More...
 
QString getDisplayXAxisJ (const int &digits) const
 CoordinateSystem::getDisplayXAxisJ. More...
 
QString getDisplayXAxisK (const int &digits) const
 CoordinateSystem::getDisplayXAxisK. More...
 
QString getDisplayYAxisI (const int &digits) const
 CoordinateSystem::getDisplayYAxisI. More...
 
QString getDisplayYAxisJ (const int &digits) const
 CoordinateSystem::getDisplayYAxisJ. More...
 
QString getDisplayYAxisK (const int &digits) const
 CoordinateSystem::getDisplayYAxisK. More...
 
QString getDisplayZAxisI (const int &digits) const
 CoordinateSystem::getDisplayZAxisI. More...
 
QString getDisplayZAxisJ (const int &digits) const
 CoordinateSystem::getDisplayZAxisJ. More...
 
QString getDisplayZAxisK (const int &digits) const
 CoordinateSystem::getDisplayZAxisK. More...
 
- Public Member Functions inherited from oi::Feature
 Feature (QObject *parent=0)
 Feature::Feature. More...
 
 Feature (const Feature &copy, QObject *parent=0)
 Feature::Feature. More...
 
Featureoperator= (const Feature &copy)
 Feature::operator =. More...
 
virtual ~Feature ()
 Feature::~Feature. More...
 
const QPointer< FeatureWrapper > & getFeatureWrapper () const
 Feature::getFeatureWrapper. More...
 
const QString & getFeatureName () const
 Feature::getFeatureName. More...
 
void setFeatureName (const QString &name)
 Feature::setFeatureName. More...
 
const QString & getGroupName () const
 Feature::getGroupName. More...
 
void setGroupName (const QString &group)
 Feature::setGroupName. More...
 
const QString & getComment () const
 Feature::getComment. More...
 
void setComment (const QString &comment)
 Feature::setComment. More...
 
const bool & getIsUpdated () const
 Feature::getIsUpdated. More...
 
void setIsUpdated (const bool &isUpdated)
 Feature::setIsUpdated. More...
 
const bool & getIsSolved () const
 Feature::getIsSolved. More...
 
void setIsSolved (const bool &isSolved)
 Feature::setIsSolved. More...
 
const QList< QPointer< Function > > & getFunctions () const
 Feature::getFunctions. More...
 
void addFunction (const QPointer< Function > &function)
 Feature::addFunction. More...
 
void removeFunction (const int &index)
 Feature::removeFunction. More...
 
const bool & getIsActiveFeature () const
 Feature::getIsActiveFeature. More...
 
void setActiveFeatureState (const bool &isActiveFeature)
 Feature::setActiveFeatureState. More...
 
const QList< QPointer< FeatureWrapper > > & getUsedFor () const
 Feature::getUsedFor. More...
 
bool addUsedFor (const QPointer< FeatureWrapper > &feature)
 Feature::addUsedFor. More...
 
bool removeUsedFor (const QPointer< FeatureWrapper > &feature)
 Feature::removeUsedFor. More...
 
const QList< QPointer< FeatureWrapper > > & getPreviouslyNeeded () const
 Feature::getPreviouslyNeeded. More...
 
bool addPreviouslyNeeded (const QPointer< FeatureWrapper > &feature)
 Feature::addPreviouslyNeeded. More...
 
bool removePreviouslyNeeded (const QPointer< FeatureWrapper > &feature)
 Feature::removePreviouslyNeeded. More...
 
virtual QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 Feature::toOpenIndyXML. More...
 
virtual QString getDisplayType () const
 Feature::getDisplayType. More...
 
virtual QString getDisplayIsSolved () const
 Feature::getDisplayIsSolved. More...
 
virtual QString getDisplayIsUpdated () const
 Feature::getDisplayIsUpdated. More...
 
virtual QString getDisplayFunctions () const
 Feature::getDisplayFunctions. More...
 
virtual QString getDisplayUsedFor () const
 Feature::getDisplayUsedFor. More...
 
virtual QString getDisplayPreviouslyNeeded () const
 Feature::getDisplayPreviouslyNeeded. More...
 
virtual QString getDisplayStDev (const UnitType &type, const int &digits) const
 Feature::getDisplayStDev. More...
 
virtual QString getDisplayMeasurementConfig () const
 Feature::getDisplayMeasurementConfig. More...
 
virtual QString getDisplayObservations () const
 Feature::getDisplayObservations. More...
 
virtual QString getDisplayPrimaryI (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryI. More...
 
virtual QString getDisplayPrimaryJ (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryJ. More...
 
virtual QString getDisplayPrimaryK (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryK. More...
 
virtual QString getDisplayRadiusA (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayRadiusA. More...
 
virtual QString getDisplayRadiusB (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayRadiusB. More...
 
virtual QString getDisplaySecondaryI (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryI. More...
 
virtual QString getDisplaySecondaryJ (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryJ. More...
 
virtual QString getDisplaySecondaryK (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryK. More...
 
virtual QString getDisplayAperture (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayAperture. More...
 
virtual QString getDisplayA (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayA. More...
 
virtual QString getDisplayB (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayB. More...
 
virtual QString getDisplayC (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayC. More...
 
virtual QString getDisplayAngle (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayAngle. More...
 
virtual QString getDisplayDistance (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayDistance. More...
 
virtual QString getDisplayMeasurementSeries (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayMeasurementSeries. More...
 
virtual QString getDisplayTemperature (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayTemperature. More...
 
virtual QString getDisplayLength (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayLength. More...
 
virtual QString getDisplayStartSystem () const
 Feature::getDisplayStartSystem. More...
 
virtual QString getDisplayDestinationSystem () const
 Feature::getDisplayDestinationSystem. More...
 
virtual QString getDisplayTranslationX (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationX. More...
 
virtual QString getDisplayTranslationY (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationY. More...
 
virtual QString getDisplayTranslationZ (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationZ. More...
 
virtual QString getDisplayRotationX (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationX. More...
 
virtual QString getDisplayRotationY (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationY. More...
 
virtual QString getDisplayRotationZ (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationZ. More...
 
virtual QString getDisplayScaleX (const int &digits) const
 Feature::getDisplayScaleX. More...
 
virtual QString getDisplayScaleY (const int &digits) const
 Feature::getDisplayScaleY. More...
 
virtual QString getDisplayScaleZ (const int &digits) const
 Feature::getDisplayScaleZ. More...
 
virtual QString getDisplayIsUsed () const
 Feature::getDisplayIsUsed. More...
 
virtual QString getDisplayValidTime () const
 Feature::getDisplayValidTime. More...
 
virtual QString getDisplayIsMovement () const
 Feature::getDisplayIsMovement. More...
 
virtual QString getDisplayIsDatumTransformation () const
 Feature::getDisplayIsDatumTransformation. More...
 
- Public Member Functions inherited from oi::Element
 Element (QObject *parent=0)
 
 Element (const Element &copy, QObject *parent=0)
 
Elementoperator= (const Element &copy)
 
virtual ~Element ()
 
int getId () const
 Element::getId. More...
 

Protected Member Functions

void setUpFeatureId ()
 CoordinateSystem::setUpFeatureId. More...
 
- Protected Member Functions inherited from oi::Feature
virtual void setJob (const QPointer< OiJob > &job)
 Feature::setJob Called by OiJob. Sets the current job this feature belongs to and checks its id. More...
 

Friends

class Station
 
class OiJob
 
class TrafoController
 
class ProjectExchanger
 
class Observation
 

Additional Inherited Members

- Protected Attributes inherited from oi::Feature
QString name
 
QString group
 
QString comment
 
bool isSolved
 
bool isUpdated
 
bool isActiveFeature
 
QList< QPointer< Function > > functionList
 
QList< QPointer< FeatureWrapper > > usedForList
 
QMap< int, QPointer< FeatureWrapper > > usedForMap
 
QList< QPointer< FeatureWrapper > > previouslyNeededList
 
QMap< int, QPointer< FeatureWrapper > > previouslyNeededMap
 
QPointer< FeatureWrapperselfFeature
 
QPointer< OiJobjob
 
- Protected Attributes inherited from oi::Element
int id
 

Detailed Description

The CoordinateSystem class.

Constructor & Destructor Documentation

CoordinateSystem::CoordinateSystem ( QObject *  parent = 0)
explicit
CoordinateSystem::CoordinateSystem ( const QPointer< Station > &  station,
QObject *  parent = 0 
)
explicit

CoordinateSystem::CoordinateSystem.

Parameters
station
parent
CoordinateSystem::CoordinateSystem ( const CoordinateSystem copy,
QObject *  parent = 0 
)

CoordinateSystem::CoordinateSystem.

Parameters
copy
parent
CoordinateSystem::~CoordinateSystem ( )

Member Function Documentation

void oi::CoordinateSystem::activeCoordinateSystemChanged ( const int &  coordId)
signal
bool CoordinateSystem::addNominal ( const QPointer< FeatureWrapper > &  nominal)

CoordinateSystem::addNominal.

Parameters
nominal
Returns
bool CoordinateSystem::addNominals ( const QList< QPointer< FeatureWrapper > > &  nominals)

CoordinateSystem::addNominals.

Parameters
nominals
Returns
bool CoordinateSystem::addObservation ( const QPointer< Observation > &  observation)

CoordinateSystem::addObservation.

Parameters
observation
Returns
bool CoordinateSystem::addTransformationParameter ( const QPointer< TrafoParam > &  trafoParam)

CoordinateSystem::addTransformationParameter.

Parameters
trafoParam
Returns
bool CoordinateSystem::fromOpenIndyXML ( QDomElement &  xmlElem)
virtual

CoordinateSystem::fromOpenIndyXML.

Parameters
xmlElem
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayExpansionOriginX ( const UnitType type,
const int &  digits 
) const
virtual

CoordinateSystem::getDisplayExpansionOriginX.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayExpansionOriginY ( const UnitType type,
const int &  digits 
) const
virtual

CoordinateSystem::getDisplayExpansionOriginY.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayExpansionOriginZ ( const UnitType type,
const int &  digits 
) const
virtual

CoordinateSystem::getDisplayExpansionOriginZ.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayX ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

CoordinateSystem::getDisplayX.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayXAxisI ( const int &  digits) const
virtual

CoordinateSystem::getDisplayXAxisI.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayXAxisJ ( const int &  digits) const
virtual

CoordinateSystem::getDisplayXAxisJ.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayXAxisK ( const int &  digits) const
virtual

CoordinateSystem::getDisplayXAxisK.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayY ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

CoordinateSystem::getDisplayY.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayYAxisI ( const int &  digits) const
virtual

CoordinateSystem::getDisplayYAxisI.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayYAxisJ ( const int &  digits) const
virtual

CoordinateSystem::getDisplayYAxisJ.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayYAxisK ( const int &  digits) const
virtual

CoordinateSystem::getDisplayYAxisK.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayZ ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

CoordinateSystem::getDisplayZ.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayZAxisI ( const int &  digits) const
virtual

CoordinateSystem::getDisplayZAxisI.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayZAxisJ ( const int &  digits) const
virtual

CoordinateSystem::getDisplayZAxisJ.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString CoordinateSystem::getDisplayZAxisK ( const int &  digits) const
virtual

CoordinateSystem::getDisplayZAxisK.

Parameters
digits
Returns

Reimplemented from oi::Feature.

const Position & CoordinateSystem::getExpansionOrigin ( ) const
const bool & CoordinateSystem::getIsActiveCoordinateSystem ( ) const
const bool & CoordinateSystem::getIsStationSystem ( ) const
const QList< QPointer< FeatureWrapper > > & CoordinateSystem::getNominals ( ) const
QPointer< Observation > CoordinateSystem::getObservation ( const int &  observationId) const

CoordinateSystem::getObservation.

Parameters
observationId
Returns
const QList< QPointer< Observation > > & CoordinateSystem::getObservations ( ) const
const Position & CoordinateSystem::getOrigin ( ) const
const QPointer< Station > & CoordinateSystem::getStation ( ) const
const QList< QPointer< TrafoParam > > & CoordinateSystem::getTransformationParameters ( ) const
const QList< QPointer< TrafoParam > > CoordinateSystem::getTransformationParameters ( const QPointer< CoordinateSystem > &  to) const
const Direction & CoordinateSystem::getXAxis ( ) const
const Direction & CoordinateSystem::getYAxis ( ) const
const Direction & CoordinateSystem::getZAxis ( ) const
void oi::CoordinateSystem::nominalsChanged ( const int &  coordId)
signal
void oi::CoordinateSystem::observationsChanged ( const int &  coordId,
const int &  obsId 
)
signal
CoordinateSystem & CoordinateSystem::operator= ( const CoordinateSystem copy)

CoordinateSystem::operator =.

Parameters
copy
Returns
void CoordinateSystem::recalc ( )
virtual

CoordinateSystem::recalc.

Reimplemented from oi::Feature.

bool CoordinateSystem::removeNominal ( const QPointer< FeatureWrapper > &  nominal)

CoordinateSystem::removeNominal.

Parameters
nominal
Returns
bool CoordinateSystem::removeNominal ( const int &  featureId)

CoordinateSystem::removeNominal.

Parameters
featureId
Returns
bool CoordinateSystem::removeTransformationParameter ( const QPointer< TrafoParam > &  trafoParam)

CoordinateSystem::removeTransformationParameter.

Parameters
trafoParam
Returns
void CoordinateSystem::setActiveCoordinateSystemState ( const bool &  isActiveCoordinateSystem)

CoordinateSystem::setActiveCoordinateSystemState.

Parameters
isActiveCoordinateSystem
void CoordinateSystem::setCoordinateSystem ( const Position origin,
const Direction xAxis,
const Direction yAxis,
const Direction zAxis 
)

CoordinateSystem::setCoordinateSystem.

Parameters
origin
xAxis
yAxis
zAxis
void CoordinateSystem::setExpansionOrigin ( const Position expansionOrigin)

CoordinateSystem::setExpansionOrigin.

Parameters
expansionOrigin
void CoordinateSystem::setUpFeatureId ( )
protectedvirtual
QDomElement CoordinateSystem::toOpenIndyXML ( QDomDocument &  xmlDoc)

CoordinateSystem::toOpenIndyXML.

Parameters
xmlDoc
Returns
void oi::CoordinateSystem::transformationParametersChanged ( const int &  coordId)
signal

Friends And Related Function Documentation

friend class Observation
friend
friend class OiJob
friend
friend class ProjectExchanger
friend
friend class Station
friend
friend class TrafoController
friend

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