OpenIndy-Core  0.2.0.43
oi::PointCloud Class Reference

The PointCloud class. More...

#include <pointcloud.h>

Inheritance diagram for oi::PointCloud:
oi::Geometry oi::Feature oi::Element

Signals

void pcSegmentAdded (const QPointer< FeatureWrapper > &segment)
 
- Signals inherited from oi::Geometry
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

 PointCloud (bool isNominal, QObject *parent=0)
 PointCloud::PointCloud. More...
 
 PointCloud (const PointCloud &copy, QObject *parent=0)
 PointCloud::PointCloud. More...
 
PointCloudoperator= (const PointCloud &copy)
 PointCloud::operator =. More...
 
 ~PointCloud ()
 PointCloud::~PointCloud. More...
 
unsigned long getPointCount () const
 PointCloud::getPointCount. More...
 
bool addSegment (const QPointer< FeatureWrapper > &segment)
 PointCloud::addSegment. More...
 
void clearSegmentation ()
 PointCloud::clearSegmentation. More...
 
bool hasPosition () const
 PointCloud::hasPosition. More...
 
const QList< QPointer< Point_PC > > & getPointCloudPoints () const
 PointCloud::getPointCloudPoints Returns a list of all point cloud points. More...
 
void addPointCloudPoint (const QPointer< Point_PC > &point)
 PointCloud::addPointCloudPoint. More...
 
const PositiongetPosition () const
 PointCloud::getPosition Returns the main focus of the point cloud points. More...
 
void setPosition (const Position &mainFocus)
 PointCloud::setPosition. More...
 
const BoundingBox_PCgetBoundingBox () const
 PointCloud::getBoundingBox Returns the bounding box of the point cloud. More...
 
void setBoundingBox (const BoundingBox_PC &bbox)
 PointCloud::setBoundingBox. More...
 
void recalc ()
 PointCloud::recalc. More...
 
QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 PointCloud::toOpenIndyXML. More...
 
bool fromOpenIndyXML (QDomElement &xmlElem)
 PointCloud::fromOpenIndyXML. More...
 
QString getDisplayX (const UnitType &type, const int &digits, const bool &showDiff=false) const
 PointCloud::getDisplayX. More...
 
QString getDisplayY (const UnitType &type, const int &digits, const bool &showDiff=false) const
 PointCloud::getDisplayY. More...
 
QString getDisplayZ (const UnitType &type, const int &digits, const bool &showDiff=false) const
 PointCloud::getDisplayZ. More...
 
- Public Member Functions inherited from oi::Geometry
 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 hasRadius () const
 Geometry::hasRadius. More...
 
virtual const RadiusgetRadius () const
 Geometry::getRadius. More...
 
virtual const DirectiongetDirection () const
 Geometry::getDirection. 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...
 
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 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...
 

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::Geometry
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
 

Detailed Description

The PointCloud class.

Constructor & Destructor Documentation

PointCloud::PointCloud ( bool  isNominal,
QObject *  parent = 0 
)

PointCloud::PointCloud.

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

PointCloud::PointCloud.

Parameters
copy
PointCloud::~PointCloud ( )

Member Function Documentation

void PointCloud::addPointCloudPoint ( const QPointer< Point_PC > &  point)

PointCloud::addPointCloudPoint.

Parameters
point
bool PointCloud::addSegment ( const QPointer< FeatureWrapper > &  segment)

PointCloud::addSegment.

Parameters
segment
Returns
void PointCloud::clearSegmentation ( )
bool PointCloud::fromOpenIndyXML ( QDomElement &  xmlElem)
virtual

PointCloud::fromOpenIndyXML.

Parameters
xmlElem
Returns

Reimplemented from oi::Geometry.

const BoundingBox_PC & PointCloud::getBoundingBox ( ) const

PointCloud::getBoundingBox Returns the bounding box of the point cloud.

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

PointCloud::getDisplayX.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

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

PointCloud::getDisplayY.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

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

PointCloud::getDisplayZ.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

const QList< QPointer< Point_PC > > & PointCloud::getPointCloudPoints ( ) const

PointCloud::getPointCloudPoints Returns a list of all point cloud points.

Returns
unsigned long PointCloud::getPointCount ( ) const
const Position & PointCloud::getPosition ( ) const
virtual

PointCloud::getPosition Returns the main focus of the point cloud points.

Returns

Reimplemented from oi::Geometry.

bool PointCloud::hasPosition ( ) const
virtual

PointCloud::hasPosition.

Returns

Reimplemented from oi::Geometry.

PointCloud & PointCloud::operator= ( const PointCloud copy)

PointCloud::operator =.

Parameters
copy
Returns
void oi::PointCloud::pcSegmentAdded ( const QPointer< FeatureWrapper > &  segment)
signal
void PointCloud::recalc ( )
virtual

PointCloud::recalc.

Reimplemented from oi::Geometry.

void PointCloud::setBoundingBox ( const BoundingBox_PC bbox)

PointCloud::setBoundingBox.

Parameters
bbox
void PointCloud::setPosition ( const Position mainFocus)

PointCloud::setPosition.

Parameters
mainFocus
QDomElement PointCloud::toOpenIndyXML ( QDomDocument &  xmlDoc) const
virtual

PointCloud::toOpenIndyXML.

Parameters
xmlDoc
Returns

Reimplemented from oi::Geometry.


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