OpenIndy-Core  0.2.0.43
oi::Geometry Class Reference

The Geometry class. More...

#include <geometry.h>

Inheritance diagram for oi::Geometry:
oi::Feature oi::Element oi::Circle oi::Cone oi::Cylinder oi::Ellipse oi::Ellipsoid oi::Hyperboloid oi::Line oi::Nurbs oi::Paraboloid oi::Plane oi::Point oi::PointCloud oi::ScalarEntityAngle oi::ScalarEntityDistance oi::ScalarEntityMeasurementSeries oi::ScalarEntityTemperature oi::SlottedHole oi::Sphere oi::Torus

Signals

void geomIsCommonChanged (const int &featureId)
 
void geomNominalsChanged (const int &featureId)
 
void geomActualChanged (const int &featureId)
 
void geomObservationsChanged (const int &featureId)
 
void geomNominalSystemChanged (const int &featureId)
 
void geomStatisticChanged (const int &featureId)
 
void geomSimulationDataChanged (const int &featureId)
 
void geomMeasurementConfigChanged (const int &featureId, const QString &oldMConfig, bool oldIsSaved)
 
void geomParametersChanged (const int &featureId)
 
- 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

 Geometry (const bool &isNominal, QObject *parent=0)
 Geometry::Geometry. More...
 
 Geometry (const Geometry &copy, QObject *parent=0)
 Geometry::Geometry. More...
 
Geometryoperator= (const Geometry &copy)
 Geometry::operator =. More...
 
virtual ~Geometry ()
 Geometry::~Geometry. More...
 
const bool & getIsCommon () const
 Geometry::getIsCommon. More...
 
void setCommonState (const bool &isCommon)
 Geometry::setCommonState. More...
 
const bool & getIsNominal () const
 Geometry::getIsNominal. More...
 
const QList< QPointer< Geometry > > & getNominals () const
 Geometry::getNominals. More...
 
bool addNominal (const QPointer< Geometry > &nominal)
 Geometry::addNominal. More...
 
bool removeNominal (const QPointer< Geometry > &nominal)
 Geometry::removeNominal. More...
 
const QPointer< Geometry > & getActual () const
 Geometry::getActual. More...
 
bool setActual (const QPointer< Geometry > &actual)
 Geometry::setActual. More...
 
const QList< QPointer< Observation > > & getObservations () const
 Geometry::getObservations. More...
 
void addObservation (const QPointer< Observation > &obs)
 Geometry::addObservation. More...
 
void removeObservation (const QPointer< Observation > &obs)
 Geometry::removeObservation. More...
 
const QPointer< CoordinateSystem > & getNominalSystem () const
 Geometry::getNominalSystem. More...
 
bool setNominalSystem (const QPointer< CoordinateSystem > &nomSys)
 Geometry::setNominalSystem. More...
 
const MeasurementConfiggetMeasurementConfig () const
 Geometry::getMeasurementConfig. More...
 
void setMeasurementConfig (const MeasurementConfig &myConfig)
 Geometry::setMeasurementConfig. More...
 
const StatisticgetStatistic () const
 Geometry::getStatistic. More...
 
void setStatistic (const Statistic &myStatistic)
 Geometry::setStatistic. More...
 
const SimulationDatagetSimulationData ()
 Geometry::getSimulationData. More...
 
void setSimulationData (const SimulationData &s)
 Geometry::setSimulationData. More...
 
const QList< ReadingTypes > & getUsedReadingTypes () const
 Geometry::getUsedReadingTypes. More...
 
virtual bool hasDirection () const
 Geometry::hasDirection. More...
 
virtual bool hasPosition () const
 Geometry::hasPosition. More...
 
virtual bool hasRadius () const
 Geometry::hasRadius. More...
 
virtual const RadiusgetRadius () const
 Geometry::getRadius. More...
 
virtual const DirectiongetDirection () const
 Geometry::getDirection. More...
 
virtual const PositiongetPosition () const
 Geometry::getPosition. More...
 
virtual QMap< GeometryParameters, QString > getUnknownParameters (const QMap< DimensionType, UnitType > &displayUnits, const QMap< DimensionType, int > &displayDigits) const
 Geometry::getUnknownParameters. More...
 
virtual void setUnknownParameters (const QMap< GeometryParameters, double > &parameters)
 Geometry::setUnknownParameters. More...
 
virtual void recalc ()
 Geometry::recalc. More...
 
virtual QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 Geometry::toOpenIndyXML. More...
 
virtual bool fromOpenIndyXML (QDomElement &xmlElem)
 Geometry::fromOpenIndyXML. More...
 
QString getDisplayStDev (const UnitType &type, const int &digits) const
 Geometry::getDisplayStDev. More...
 
QString getDisplayMeasurementConfig () const
 Geometry::getDisplayMeasurementConfig. More...
 
QString getDisplayObservations () const
 Geometry::getDisplayObservations. 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 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 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...
 
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 Attributes

bool isCommon
 
bool isNominal
 
QList< QPointer< Geometry > > nominals
 
QPointer< Geometryactual
 
QPointer< CoordinateSystemnominalSystem
 
QList< QPointer< Observation > > observations
 
Statistic statistic
 
SimulationData simulationData
 
QList< ReadingTypesusedReadingTypes
 
MeasurementConfig activeMeasurementConfig
 
- 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
 

Friends

class Geometry
 
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...
 

Detailed Description

The Geometry class.

Constructor & Destructor Documentation

Geometry::Geometry ( const bool &  isNominal,
QObject *  parent = 0 
)
explicit

Geometry::Geometry.

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

Geometry::Geometry.

Parameters
copy
parent
Geometry::~Geometry ( )
virtual

Member Function Documentation

bool Geometry::addNominal ( const QPointer< Geometry > &  nominal)

Geometry::addNominal.

Parameters
nominal
Returns
void Geometry::addObservation ( const QPointer< Observation > &  obs)

Geometry::addObservation.

Parameters
obs
void oi::Geometry::geomActualChanged ( const int &  featureId)
signal
void oi::Geometry::geomIsCommonChanged ( const int &  featureId)
signal
void oi::Geometry::geomMeasurementConfigChanged ( const int &  featureId,
const QString &  oldMConfig,
bool  oldIsSaved 
)
signal
void oi::Geometry::geomNominalsChanged ( const int &  featureId)
signal
void oi::Geometry::geomNominalSystemChanged ( const int &  featureId)
signal
void oi::Geometry::geomObservationsChanged ( const int &  featureId)
signal
void oi::Geometry::geomParametersChanged ( const int &  featureId)
signal
void oi::Geometry::geomSimulationDataChanged ( const int &  featureId)
signal
void oi::Geometry::geomStatisticChanged ( const int &  featureId)
signal
const QPointer< Geometry > & Geometry::getActual ( ) const
const Direction & Geometry::getDirection ( ) const
virtual
QString Geometry::getDisplayMeasurementConfig ( ) const
virtual

Geometry::getDisplayMeasurementConfig.

Returns

Reimplemented from oi::Feature.

QString Geometry::getDisplayObservations ( ) const
virtual

Geometry::getDisplayObservations.

Returns

Reimplemented from oi::Feature.

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

Geometry::getDisplayStDev.

Parameters
type
digits
Returns

Reimplemented from oi::Feature.

const bool & Geometry::getIsCommon ( ) const
const bool & Geometry::getIsNominal ( ) const
const MeasurementConfig & Geometry::getMeasurementConfig ( ) const
const QList< QPointer< Geometry > > & Geometry::getNominals ( ) const
const QPointer< CoordinateSystem > & Geometry::getNominalSystem ( ) const
const QList< QPointer< Observation > > & Geometry::getObservations ( ) const
const Radius & Geometry::getRadius ( ) const
virtual
const SimulationData & Geometry::getSimulationData ( )
const Statistic & Geometry::getStatistic ( ) const
QMap< GeometryParameters, QString > Geometry::getUnknownParameters ( const QMap< DimensionType, UnitType > &  displayUnits,
const QMap< DimensionType, int > &  displayDigits 
) const
virtual
const QList< ReadingTypes > & Geometry::getUsedReadingTypes ( ) const
bool Geometry::hasDirection ( ) const
virtual
bool Geometry::hasRadius ( ) const
virtual
Geometry & Geometry::operator= ( const Geometry copy)

Geometry::operator =.

Parameters
copy
Returns
bool Geometry::removeNominal ( const QPointer< Geometry > &  nominal)

Geometry::removeNominal.

Parameters
nominal
Returns
void Geometry::removeObservation ( const QPointer< Observation > &  obs)

Geometry::removeObservation.

Parameters
obs
bool Geometry::setActual ( const QPointer< Geometry > &  actual)

Geometry::setActual.

Parameters
actual
Returns
void Geometry::setCommonState ( const bool &  isCommon)

Geometry::setCommonState.

Parameters
isCommon
void Geometry::setMeasurementConfig ( const MeasurementConfig myConfig)

Geometry::setMeasurementConfig.

Parameters
myConfig
bool Geometry::setNominalSystem ( const QPointer< CoordinateSystem > &  nomSys)

Geometry::setNominalSystem.

Parameters
nomSys
Returns
void Geometry::setSimulationData ( const SimulationData s)
void Geometry::setStatistic ( const Statistic myStatistic)

Geometry::setStatistic.

Parameters
myStatistic

Friends And Related Function Documentation

friend class Geometry
friend
friend class OiJob
friend

Member Data Documentation

MeasurementConfig oi::Geometry::activeMeasurementConfig
protected
QPointer<Geometry> oi::Geometry::actual
protected
bool oi::Geometry::isCommon
protected
bool oi::Geometry::isNominal
protected
QList< QPointer<Geometry> > oi::Geometry::nominals
protected
QPointer<CoordinateSystem> oi::Geometry::nominalSystem
protected
QList<QPointer<Observation> > oi::Geometry::observations
protected
SimulationData oi::Geometry::simulationData
protected
Statistic oi::Geometry::statistic
protected
QList<ReadingTypes> oi::Geometry::usedReadingTypes
protected

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