OpenIndy-Core  0.2.0.43
oi::TrafoParam Class Reference

The TrafoParam class. More...

#include <trafoparam.h>

Inheritance diagram for oi::TrafoParam:
oi::Feature oi::Element

Signals

void transformationParameterChanged (const int &tpId)
 
void coordinateSystemsChanged (const int &tpId)
 
void isUsedChanged (const int &tpId)
 
void validTimeChanged (const int &tpId)
 
void isMovementChanged (const int &tpId)
 
- 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

 TrafoParam (QObject *parent=0)
 TrafoParam::TrafoParam. More...
 
 TrafoParam (const TrafoParam &copy, QObject *parent=0)
 TrafoParam::TrafoParam. More...
 
TrafoParamoperator= (const TrafoParam &copy)
 TrafoParam::operator =. More...
 
 ~TrafoParam ()
 TrafoParam::~TrafoParam. More...
 
const bool & getIsUsed () const
 TrafoParam::getIsUsed. More...
 
void setIsUsed (const bool &isUsed)
 TrafoParam::setIsUsed. More...
 
const QPointer< CoordinateSystem > & getStartSystem () const
 TrafoParam::getStartSystem. More...
 
const QPointer< CoordinateSystem > & getDestinationSystem () const
 TrafoParam::getDestinationSystem. More...
 
bool setCoordinateSystems (const QPointer< CoordinateSystem > &from, const QPointer< CoordinateSystem > &to)
 TrafoParam::setCoordinateSystems. More...
 
const bool & getIsMovement () const
 TrafoParam::getIsMovement. More...
 
void setIsMovement (const bool &isMovement)
 TrafoParam::setIsMovement. More...
 
const QDateTime & getValidTime () const
 TrafoParam::getValidTime. More...
 
void setValidTime (const QDateTime &validTime)
 TrafoParam::setValidTime. More...
 
const StatisticgetStatistic () const
 TrafoParam::getStatistic. More...
 
void setStatistic (const Statistic &statistic)
 TrafoParam::setStatistic. More...
 
const bool & getIsDatumTrafo ()
 TrafoParam::getIsDatumTrafo. More...
 
void setIsDatumTrafo (const bool &isDatumTrafo)
 TrafoParam::setIsDatumTrafo. More...
 
const OiMatgetHomogenMatrix () const
 TrafoParam::getHomogenMatrix. More...
 
const OiVecgetTranslation () const
 TrafoParam::getTranslation. More...
 
const OiVecgetRotation () const
 TrafoParam::getRotation. More...
 
const OiVecgetScale () const
 TrafoParam::getScale. More...
 
bool setTransformationParameters (const OiVec &rotation, const OiVec &translation, const OiVec &scale)
 TrafoParam::setTransformationParameters Sets the transformation parameters. Input are 3 vectors of size 3. More...
 
bool setTransformationParameters (const OiMat &rotation, const OiMat &translation, const OiMat &scale)
 TrafoParam::setTransformationParameters Sets the transformation parameters. Input are 3 homogeneous matrices of size 4x4. More...
 
bool setTransformationParameters (const OiMat &homogenMatrix)
 TrafoParam::setTransformationParameters Sets the transformation parameters. Input is one matrix of size 4x4. More...
 
virtual QMap< TrafoParamParameters, QString > getUnknownParameters (const QMap< DimensionType, UnitType > &displayUnits, const QMap< DimensionType, int > &displayDigits) const
 TrafoParam::getUnknownParameters. More...
 
virtual void setUnknownParameters (const QMap< TrafoParamParameters, double > &parameters)
 TrafoParam::setUnknownParameters. More...
 
void recalc ()
 TrafoParam::recalc. More...
 
QDomElement toOpenIndyXML (QDomDocument &xmlDoc)
 TrafoParam::toOpenIndyXML. More...
 
bool fromOpenIndyXML (QDomElement &xmlElem)
 TrafoParam::fromOpenIndyXML. More...
 
QString getDisplayStDev (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayStDev. More...
 
QString getDisplayStartSystem () const
 TrafoParam::getDisplayStartSystem. More...
 
QString getDisplayDestinationSystem () const
 TrafoParam::getDisplayDestinationSystem. More...
 
QString getDisplayTranslationX (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayTranslationX. More...
 
QString getDisplayTranslationY (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayTranslationY. More...
 
QString getDisplayTranslationZ (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayTranslationZ. More...
 
QString getDisplayRotationX (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayRotationX. More...
 
QString getDisplayRotationY (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayRotationY. More...
 
QString getDisplayRotationZ (const UnitType &type, const int &digits) const
 TrafoParam::getDisplayRotationZ. More...
 
QString getDisplayScaleX (const int &digits) const
 TrafoParam::getDisplayScaleX. More...
 
QString getDisplayScaleY (const int &digits) const
 TrafoParam::getDisplayScaleY. More...
 
QString getDisplayScaleZ (const int &digits) const
 TrafoParam::getDisplayScaleZ. More...
 
QString getDisplayIsUsed () const
 TrafoParam::getDisplayIsUsed. More...
 
QString getDisplayValidTime () const
 TrafoParam::getDisplayValidTime. More...
 
QString getDisplayIsMovement () const
 TrafoParam::getDisplayIsMovement. More...
 
QString getDisplayIsDatumTransformation () const
 TrafoParam::getDisplayIsDatumTransformation. 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 getDisplayMeasurementConfig () const
 Feature::getDisplayMeasurementConfig. More...
 
virtual QString getDisplayObservations () const
 Feature::getDisplayObservations. More...
 
virtual QString getDisplayX (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayX. More...
 
virtual QString getDisplayY (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayY. More...
 
virtual QString getDisplayZ (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayZ. 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 getDisplayExpansionOriginX (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginX. More...
 
virtual QString getDisplayExpansionOriginY (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginY. More...
 
virtual QString getDisplayExpansionOriginZ (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginZ. More...
 
virtual QString getDisplayXAxisI (const int &digits) const
 Feature::getDisplayXAxisI. More...
 
virtual QString getDisplayXAxisJ (const int &digits) const
 Feature::getDisplayXAxisJ. More...
 
virtual QString getDisplayXAxisK (const int &digits) const
 Feature::getDisplayXAxisK. More...
 
virtual QString getDisplayYAxisI (const int &digits) const
 Feature::getDisplayYAxisI. More...
 
virtual QString getDisplayYAxisJ (const int &digits) const
 Feature::getDisplayYAxisJ. More...
 
virtual QString getDisplayYAxisK (const int &digits) const
 Feature::getDisplayYAxisK. More...
 
virtual QString getDisplayZAxisI (const int &digits) const
 Feature::getDisplayZAxisI. More...
 
virtual QString getDisplayZAxisJ (const int &digits) const
 Feature::getDisplayZAxisJ. More...
 
virtual QString getDisplayZAxisK (const int &digits) const
 Feature::getDisplayZAxisK. 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...
 

Friends

class OiJob
 

Additional Inherited Members

- Protected Member Functions inherited from oi::Feature
virtual void setUpFeatureId ()
 Feature::setUpFeatureId Generate a new unique id when the current job was set. More...
 
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...
 
- 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 TrafoParam class.

Constructor & Destructor Documentation

TrafoParam::TrafoParam ( QObject *  parent = 0)
explicit

TrafoParam::TrafoParam.

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

TrafoParam::TrafoParam.

Parameters
copy
parent
TrafoParam::~TrafoParam ( )

Member Function Documentation

void oi::TrafoParam::coordinateSystemsChanged ( const int &  tpId)
signal
bool TrafoParam::fromOpenIndyXML ( QDomElement &  xmlElem)
virtual

TrafoParam::fromOpenIndyXML.

Parameters
xmlElem
Returns

Reimplemented from oi::Feature.

const QPointer< CoordinateSystem > & TrafoParam::getDestinationSystem ( ) const
QString TrafoParam::getDisplayDestinationSystem ( ) const
virtual
QString TrafoParam::getDisplayIsDatumTransformation ( ) const
virtual
QString TrafoParam::getDisplayIsMovement ( ) const
virtual

TrafoParam::getDisplayIsMovement.

Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayIsUsed ( ) const
virtual

TrafoParam::getDisplayIsUsed.

Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayRotationX ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayRotationX.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayRotationY ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayRotationY.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayRotationZ ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayRotationZ.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayScaleX ( const int &  digits) const
virtual

TrafoParam::getDisplayScaleX.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayScaleY ( const int &  digits) const
virtual

TrafoParam::getDisplayScaleY.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayScaleZ ( const int &  digits) const
virtual

TrafoParam::getDisplayScaleZ.

Parameters
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayStartSystem ( ) const
virtual

TrafoParam::getDisplayStartSystem.

Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayStDev ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayStDev.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayTranslationX ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayTranslationX.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayTranslationY ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayTranslationY.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayTranslationZ ( const UnitType type,
const int &  digits 
) const
virtual

TrafoParam::getDisplayTranslationZ.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

QString TrafoParam::getDisplayValidTime ( ) const
virtual

TrafoParam::getDisplayValidTime.

Returns

Reimplemented from oi::Feature.

const OiMat & TrafoParam::getHomogenMatrix ( ) const
const bool & TrafoParam::getIsDatumTrafo ( )
const bool & TrafoParam::getIsMovement ( ) const
const bool & TrafoParam::getIsUsed ( ) const
const OiVec & TrafoParam::getRotation ( ) const
const OiVec & TrafoParam::getScale ( ) const
const QPointer< CoordinateSystem > & TrafoParam::getStartSystem ( ) const
const Statistic & TrafoParam::getStatistic ( ) const
const OiVec & TrafoParam::getTranslation ( ) const
QMap< TrafoParamParameters, QString > TrafoParam::getUnknownParameters ( const QMap< DimensionType, UnitType > &  displayUnits,
const QMap< DimensionType, int > &  displayDigits 
) const
virtual

TrafoParam::getUnknownParameters.

Parameters
displayUnits
displayDigits
Returns
const QDateTime & TrafoParam::getValidTime ( ) const
void oi::TrafoParam::isMovementChanged ( const int &  tpId)
signal
void oi::TrafoParam::isUsedChanged ( const int &  tpId)
signal
TrafoParam & TrafoParam::operator= ( const TrafoParam copy)

TrafoParam::operator =.

Parameters
copy
Returns
void TrafoParam::recalc ( )
virtual

TrafoParam::recalc.

Reimplemented from oi::Feature.

bool TrafoParam::setCoordinateSystems ( const QPointer< CoordinateSystem > &  from,
const QPointer< CoordinateSystem > &  to 
)

TrafoParam::setCoordinateSystems.

Parameters
from
to
Returns
void TrafoParam::setIsDatumTrafo ( const bool &  isDatumTrafo)

TrafoParam::setIsDatumTrafo.

Parameters
isDatumTrafo
void TrafoParam::setIsMovement ( const bool &  isMovement)

TrafoParam::setIsMovement.

Parameters
isMovement
void TrafoParam::setIsUsed ( const bool &  isUsed)

TrafoParam::setIsUsed.

Parameters
isUsed
void TrafoParam::setStatistic ( const Statistic statistic)

TrafoParam::setStatistic.

Parameters
statistic
bool TrafoParam::setTransformationParameters ( const OiVec rotation,
const OiVec translation,
const OiVec scale 
)

TrafoParam::setTransformationParameters Sets the transformation parameters. Input are 3 vectors of size 3.

Parameters
rotation
translation
scale
Returns
bool TrafoParam::setTransformationParameters ( const OiMat rotation,
const OiMat translation,
const OiMat scale 
)

TrafoParam::setTransformationParameters Sets the transformation parameters. Input are 3 homogeneous matrices of size 4x4.

Parameters
rotation
translation
scale
Returns
bool TrafoParam::setTransformationParameters ( const OiMat homogenMatrix)

TrafoParam::setTransformationParameters Sets the transformation parameters. Input is one matrix of size 4x4.

Parameters
homogenMatrix
Returns
void TrafoParam::setUnknownParameters ( const QMap< TrafoParamParameters, double > &  parameters)
virtual

TrafoParam::setUnknownParameters.

Parameters
parameters
void TrafoParam::setValidTime ( const QDateTime &  validTime)

TrafoParam::setValidTime.

Parameters
validTime
QDomElement TrafoParam::toOpenIndyXML ( QDomDocument &  xmlDoc)

TrafoParam::toOpenIndyXML.

Parameters
xmlDoc
Returns
void oi::TrafoParam::transformationParameterChanged ( const int &  tpId)
signal
void oi::TrafoParam::validTimeChanged ( const int &  tpId)
signal

Friends And Related Function Documentation

friend class OiJob
friend

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