|
MeVisLab Toolbox Reference
|
Small helper container managing some information about a cluster. More...
#include <mlPCLStatisticalClusterInfo.h>
Public Member Functions | |
| StatisticalClusterInfo () | |
| Constructor defaulting everything to an empty cluster. | |
| void | clear () |
| Setting default values corresponding to an empty cluster. | |
| void | insert (int index, double magnitude, double phase) |
| Inserting a new magnitude,phase pair updating statistics. | |
| void | finalize (const MLPointCloudXYZINormal &inputPointCloud, const Vector3 &planeNormal, const Vector3 &planePoint, const std::string &magnitudeFloatMemberName, const std::string &phaseFloatMemberName) |
| To be called after last insert to finalise cluster calculations. | |
Public Attributes | |
| MLint | numPoints |
| Number of points in the cluster. | |
| std::vector< int > | indices |
| List of point indices of the cluster. | |
| double | magnitudeSum |
| The sum of all point magnitudes in the cluster. | |
| double | magnitudeSumAbsolute |
| The sum of all absolute point magnitudes in the cluster. | |
| double | magnitudeAverage |
| The average of all point magnitudes in the cluster. | |
| double | magnitudeAverageAbsolute |
| The average of all point magnitudes in the cluster. | |
| double | magnitudeMedian |
| The median of all point magnitudes in the cluster. | |
| double | phaseSum |
| The sum of all point phases in the cluster. | |
| double | phaseSumAbsolute |
| The sum of all absolute point phases in the cluster. | |
| double | phaseAverage |
| The average of all point phases in the cluster. | |
| double | phaseAverageAbsolute |
| The average of all point phases in the cluster. | |
| double | phaseMedian |
| The median of all point phases in the cluster. | |
| Vector3 | centreOfGravity |
| Centre of gravity of the cluster. | |
| Vector3 | eigenValues |
| Eigenvalues of the cluster. | |
| Vector3 | eigenVectors [3] |
| Eigenvectors of the cluster. | |
| Vector3 | orientedExtentsMin |
| Minimum extents according to the eigen vectors. | |
| Vector3 | orientedExtentsMax |
| Minimum extents according to the eigen vectors. | |
| Vector3 | planeIntersection |
| Intersection of main axes of cluster with user plane. | |
| bool | planeIntersectionOk |
| True if intersection of main axes of cluster with user plane is valid, otherwise false. | |
Small helper container managing some information about a cluster.
Definition at line 33 of file mlPCLStatisticalClusterInfo.h.
|
inline |
Constructor defaulting everything to an empty cluster.
Definition at line 35 of file mlPCLStatisticalClusterInfo.h.
References clear().
|
inline |
Setting default values corresponding to an empty cluster.
Definition at line 40 of file mlPCLStatisticalClusterInfo.h.
References centreOfGravity, eigenValues, eigenVectors, indices, magnitudeAverage, magnitudeAverageAbsolute, magnitudeMedian, magnitudeSum, magnitudeSumAbsolute, numPoints, orientedExtentsMax, orientedExtentsMin, phaseAverage, phaseAverageAbsolute, phaseMedian, phaseSum, phaseSumAbsolute, planeIntersection, and planeIntersectionOk.
Referenced by StatisticalClusterInfo().
|
inline |
To be called after last insert to finalise cluster calculations.
Definition at line 85 of file mlPCLStatisticalClusterInfo.h.
References centreOfGravity, eigenValues, eigenVectors, ml::PCLSupportTools::getStatistics(), indices, ml::Plane::intersect(), magnitudeAverage, magnitudeAverageAbsolute, magnitudeMedian, magnitudeSum, magnitudeSumAbsolute, ml::PCLSupportTools::PointCloudStatistics::median, numPoints, orientedExtentsMax, orientedExtentsMin, ml::PCLMakeLocalNonDeletingSharedConstPtr(), phaseAverage, phaseAverageAbsolute, phaseMedian, phaseSum, phaseSumAbsolute, planeIntersection, and planeIntersectionOk.
|
inline |
Inserting a new magnitude,phase pair updating statistics.
Definition at line 71 of file mlPCLStatisticalClusterInfo.h.
References fabs(), indices, magnitudeSum, magnitudeSumAbsolute, numPoints, phaseSum, and phaseSumAbsolute.
| Vector3 ml::StatisticalClusterInfo::centreOfGravity |
Centre of gravity of the cluster.
Definition at line 195 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| Vector3 ml::StatisticalClusterInfo::eigenValues |
Eigenvalues of the cluster.
Definition at line 198 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| Vector3 ml::StatisticalClusterInfo::eigenVectors[3] |
Eigenvectors of the cluster.
Definition at line 201 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| std::vector<int> ml::StatisticalClusterInfo::indices |
List of point indices of the cluster.
Definition at line 158 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| double ml::StatisticalClusterInfo::magnitudeAverage |
The average of all point magnitudes in the cluster.
Definition at line 168 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::magnitudeAverageAbsolute |
The average of all point magnitudes in the cluster.
Definition at line 171 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::magnitudeMedian |
The median of all point magnitudes in the cluster.
Definition at line 174 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::magnitudeSum |
The sum of all point magnitudes in the cluster.
Definition at line 162 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| double ml::StatisticalClusterInfo::magnitudeSumAbsolute |
The sum of all absolute point magnitudes in the cluster.
Definition at line 165 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| MLint ml::StatisticalClusterInfo::numPoints |
Number of points in the cluster.
Definition at line 155 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| Vector3 ml::StatisticalClusterInfo::orientedExtentsMax |
Minimum extents according to the eigen vectors.
Definition at line 207 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| Vector3 ml::StatisticalClusterInfo::orientedExtentsMin |
Minimum extents according to the eigen vectors.
Definition at line 204 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::phaseAverage |
The average of all point phases in the cluster.
Definition at line 185 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::phaseAverageAbsolute |
The average of all point phases in the cluster.
Definition at line 188 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::phaseMedian |
The median of all point phases in the cluster.
Definition at line 191 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| double ml::StatisticalClusterInfo::phaseSum |
The sum of all point phases in the cluster.
Definition at line 179 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| double ml::StatisticalClusterInfo::phaseSumAbsolute |
The sum of all absolute point phases in the cluster.
Definition at line 182 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), finalize(), and insert().
| Vector3 ml::StatisticalClusterInfo::planeIntersection |
Intersection of main axes of cluster with user plane.
Definition at line 210 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().
| bool ml::StatisticalClusterInfo::planeIntersectionOk |
True if intersection of main axes of cluster with user plane is valid, otherwise false.
Definition at line 213 of file mlPCLStatisticalClusterInfo.h.
Referenced by clear(), and finalize().