eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::Easy3D::EPointCloudStatistics Class Reference

Manages a context for retrieving statistics on an EPointCloud. More...

#include <eVision/Easy3D/EPointCloudStatistics.h>

Collaboration diagram for eVision::Easy3D::EPointCloudStatistics:

Static Public Member Functions

static void GetPointCloudBounds (const eVision::Easy3D::EPointCloud &cloud, eVision::EFloatRange &rangeX, eVision::EFloatRange &rangeY, eVision::EFloatRange &rangeZ)
 Retrieves the bounds of an EPointCloud.
static eVision::Easy3D::E3DPoint GetPointCloudCentroid (const eVision::Easy3D::EPointCloud &cloud)
 Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.
static eVision::Easy3D::E3DPoint GetPointCloudCentroid (const eVision::Easy3D::EPointCloud &cloud, const eVision::Easy3D::E3DPoint &sphereCenter, float sphereRadius)
 Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.
static eVision::Easy3D::E3DPoint GetPointCloudCentroid (const eVision::Easy3D::EPointCloud &cloud, const eVision::EFloatRange &rangeX, const eVision::EFloatRange &rangeY, const eVision::EFloatRange &rangeZ)
 Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Manages a context for retrieving statistics on an EPointCloud.

License(s): Easy3D

Member Function Documentation

◆ GetPointCloudBounds()

void eVision::Easy3D::EPointCloudStatistics::GetPointCloudBounds ( const eVision::Easy3D::EPointCloud & cloud,
eVision::EFloatRange & rangeX,
eVision::EFloatRange & rangeY,
eVision::EFloatRange & rangeZ )
static

Retrieves the bounds of an EPointCloud.

Parameters
cloudPoint cloud.
rangeXBounds of the point cloud along the X direction.
rangeYBounds of the point cloud along the Y direction.
rangeZBounds of the point cloud along the Z direction.

◆ GetPointCloudCentroid() [1/3]

eVision::Easy3D::E3DPoint eVision::Easy3D::EPointCloudStatistics::GetPointCloudCentroid ( const eVision::Easy3D::EPointCloud & cloud)
static

Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.

It is possible to get the centroid of a sphere or a rectangle (rectangular parallelepiped) shape inside the point cloud. The sphere is defined by it's center and radius, in the EPointCloud coordinate system. The 3D rectangle is defined by 3 ranges, in X, Y and Z axis, in the EPointCloud coordinate system.

An exception will be thrown if no point is present in the shape or the point cloud.

Parameters
cloudPoint cloud.

◆ GetPointCloudCentroid() [2/3]

eVision::Easy3D::E3DPoint eVision::Easy3D::EPointCloudStatistics::GetPointCloudCentroid ( const eVision::Easy3D::EPointCloud & cloud,
const eVision::Easy3D::E3DPoint & sphereCenter,
float sphereRadius )
static

Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.

It is possible to get the centroid of a sphere or a rectangle (rectangular parallelepiped) shape inside the point cloud. The sphere is defined by it's center and radius, in the EPointCloud coordinate system. The 3D rectangle is defined by 3 ranges, in X, Y and Z axis, in the EPointCloud coordinate system.

An exception will be thrown if no point is present in the shape or the point cloud.

Parameters
cloudPoint cloud.
sphereCenterThe position of the center of the sphere.
sphereRadiusThe radius of the sphere.

◆ GetPointCloudCentroid() [3/3]

eVision::Easy3D::E3DPoint eVision::Easy3D::EPointCloudStatistics::GetPointCloudCentroid ( const eVision::Easy3D::EPointCloud & cloud,
const eVision::EFloatRange & rangeX,
const eVision::EFloatRange & rangeY,
const eVision::EFloatRange & rangeZ )
static

Retrieves the centroid (arithmetic mean position of all the points, also known as center of gravity or barycenter) of an EPointCloud.

It is possible to get the centroid of a sphere or a rectangle (rectangular parallelepiped) shape inside the point cloud. The sphere is defined by it's center and radius, in the EPointCloud coordinate system. The 3D rectangle is defined by 3 ranges, in X, Y and Z axis, in the EPointCloud coordinate system.

An exception will be thrown if no point is present in the shape or the point cloud.

Parameters
cloudPoint cloud.
rangeXThe bounds along the X direction.
rangeYThe bounds along the Y direction.
rangeZThe bounds along the Z direction.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::EPointCloudStatistics::wrappedClass_