eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.EPrincipalAxisExtractor Class Reference

A EPrincipalAxisExtractor object computes the principal axis analysis (PCA) on an EPointCloud and produces a E3DTransformMatrix as a result. More...

Inheritance diagram for eVision.Easy3D.EPrincipalAxisExtractor:
Collaboration diagram for eVision.Easy3D.EPrincipalAxisExtractor:

Public Member Functions

 EPrincipalAxisExtractor ()
 Creates an EPrincipalAxisExtractor object.
 EPrincipalAxisExtractor (eVision.Easy3D.EPrincipalAxisExtractor other)
 Creates an EPrincipalAxisExtractor object.
bool HasReferenceTransformSet ()
 Returns 'true' if a reference transform (E3DTransformMatrix) has been set explicitly.
void UnsetReferenceTransform ()
 Unset the reference transform (E3DTransformMatrix).
eVision.Easy3D.E3DTransformMatrix Extract (eVision.Easy3D.EPointCloud pc)
 Computes the E3DTransformMatrix for a given EPointCloud.
eVision.Easy3D.E3DTransformMatrix Extract (eVision.Easy3D.EPointCloud pc, out eVision.Easy3D.E3DPoint stdDev)
 Computes the E3DTransformMatrix for a given EPointCloud.
eVision.Easy3D.E3DTransformMatrix Extract (eVision.Easy3D.EPointCloud pc, out float stdDevX, out float stdDevY, out float stdDevZ)
 Computes the E3DTransformMatrix for a given EPointCloud.
void Load (string path)
 Loads the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for writing.

Properties

eVision.Easy3D.E3DTransformMatrix ReferenceTransform [get, set]
 Sets/Gets the reference transform (E3DTransformMatrix). If not set, it will use the main basis as reference to select the direction of each axis of the new basis.

Detailed Description

A EPrincipalAxisExtractor object computes the principal axis analysis (PCA) on an EPointCloud and produces a E3DTransformMatrix as a result.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EPrincipalAxisExtractor() [1/2]

eVision.Easy3D.EPrincipalAxisExtractor.EPrincipalAxisExtractor ( )

Creates an EPrincipalAxisExtractor object.

◆ EPrincipalAxisExtractor() [2/2]

eVision.Easy3D.EPrincipalAxisExtractor.EPrincipalAxisExtractor ( eVision.Easy3D.EPrincipalAxisExtractor other)

Creates an EPrincipalAxisExtractor object.

Parameters
otherThe object used for the initialization

Member Function Documentation

◆ Extract() [1/3]

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.Extract ( eVision.Easy3D.EPointCloud pc)

Computes the E3DTransformMatrix for a given EPointCloud.

This will compute the PCA, then select the direction of each axis of the basis so that this basis is as close as possible as the reference transform.

Optionally returns the standard deviation along the 3 axis.

Parameters
pcInput point cloud.

◆ Extract() [2/3]

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.Extract ( eVision.Easy3D.EPointCloud pc,
out eVision.Easy3D.E3DPoint stdDev )

Computes the E3DTransformMatrix for a given EPointCloud.

This will compute the PCA, then select the direction of each axis of the basis so that this basis is as close as possible as the reference transform.

Optionally returns the standard deviation along the 3 axis.

Parameters
pcInput point cloud.
stdDevVariable to store the X, Y and Z components of the standard deviation.

◆ Extract() [3/3]

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.Extract ( eVision.Easy3D.EPointCloud pc,
out float stdDevX,
out float stdDevY,
out float stdDevZ )

Computes the E3DTransformMatrix for a given EPointCloud.

This will compute the PCA, then select the direction of each axis of the basis so that this basis is as close as possible as the reference transform.

Optionally returns the standard deviation along the 3 axis.

Parameters
pcInput point cloud.
stdDevXVariable to store the X component of the standard deviation.
stdDevYVariable to store the Y component of the standard deviation.
stdDevZVariable to store the Z component of the standard deviation.
Deprecated
Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ HasReferenceTransformSet()

bool eVision.Easy3D.EPrincipalAxisExtractor.HasReferenceTransformSet ( )

Returns 'true' if a reference transform (E3DTransformMatrix) has been set explicitly.

◆ Load() [1/2]

void eVision.Easy3D.EPrincipalAxisExtractor.Load ( eVision.ESerializer serializer)

Loads the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Easy3D.EPrincipalAxisExtractor.Load ( string path)

Loads the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Easy3D.EPrincipalAxisExtractor.Save ( eVision.ESerializer serializer)

Saves the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.Easy3D.EPrincipalAxisExtractor.Save ( string path)

Saves the EPrincipalAxisExtractor object configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ UnsetReferenceTransform()

void eVision.Easy3D.EPrincipalAxisExtractor.UnsetReferenceTransform ( )

Unset the reference transform (E3DTransformMatrix).

Property Documentation

◆ ReferenceTransform

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.ReferenceTransform
getset

Sets/Gets the reference transform (E3DTransformMatrix). If not set, it will use the main basis as reference to select the direction of each axis of the new basis.