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

Performs the conversion from an EPointCloud to an EMesh. More...

#include <eVision/Easy3D/EPointCloudToMeshConverter.h>

Collaboration diagram for eVision::Easy3D::EPointCloudToMeshConverter:

Public Member Functions

 EPointCloudToMeshConverter ()
 Creates an EPointCloudToMeshConverter object.
 EPointCloudToMeshConverter (const eVision::Easy3D::EPointCloudToMeshConverter &other)
 Creates an EPointCloudToMeshConverter object.
virtual ~EPointCloudToMeshConverter () throw ()
eVision::Easy3D::EPointCloudToMeshConverter & operator= (const eVision::Easy3D::EPointCloudToMeshConverter &other)
 Assignment operator.
void Load (const std::string &path)
 Loads the converter configuration. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the converter configuration. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the converter configuration. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the converter configuration. The given ESerializer must have been created for writing.
void SetProjectionPlane (const eVision::Easy3D::E3DPlane &projectionPlane)
 The plane on which the cloud is projected before generating a mesh. The parts of the object behind the plane are ignored. Set to the "z = 0" plane by default.
eVision::Easy3D::E3DPlane GetProjectionPlane () const
 The plane on which the cloud is projected before generating a mesh. The parts of the object behind the plane are ignored. Set to the "z = 0" plane by default.
void SetResolution (float resolution)
 Approximate size of a side of a triangle composing the mesh, set to 0 to have the value automatically computed.
float GetResolution () const
 Approximate size of a side of a triangle composing the mesh, set to 0 to have the value automatically computed.
void SetMaxEdgeLength (float maxEdgeLength)
 Sets/Gets the maximal length of the longest edge of a triangle of the mesh. Larger triangles will be filtered out. A value of 0 does not perform any filtering. Set to 0 by default.
float GetMaxEdgeLength () const
 Sets/Gets the maximal length of the longest edge of a triangle of the mesh. Larger triangles will be filtered out. A value of 0 does not perform any filtering. Set to 0 by default.
void Convert (const eVision::Easy3D::EPointCloud &cloud, eVision::Easy3D::EMesh &mesh) const
 The method 'Convert' performs the conversion from an EPointCloud to an EMesh. The cloud is first projected on a Plane from which the mesh is generated. This method is thus expecting 2.5D point clouds.
 EPointCloudToMeshConverter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Performs the conversion from an EPointCloud to an EMesh.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EPointCloudToMeshConverter() [1/3]

eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter ( )

Creates an EPointCloudToMeshConverter object.

◆ EPointCloudToMeshConverter() [2/3]

eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter ( const eVision::Easy3D::EPointCloudToMeshConverter & other)

Creates an EPointCloudToMeshConverter object.

Parameters
otherReference to the EPointCloudToMeshConverter object used for the initialization.

◆ ~EPointCloudToMeshConverter()

eVision::Easy3D::EPointCloudToMeshConverter::~EPointCloudToMeshConverter ( )
throw ( )
virtual

◆ EPointCloudToMeshConverter() [3/3]

eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Convert()

void eVision::Easy3D::EPointCloudToMeshConverter::Convert ( const eVision::Easy3D::EPointCloud & cloud,
eVision::Easy3D::EMesh & mesh ) const

The method 'Convert' performs the conversion from an EPointCloud to an EMesh. The cloud is first projected on a Plane from which the mesh is generated. This method is thus expecting 2.5D point clouds.

Parameters
cloudThe cloud to convert.
meshThe destination mesh.

◆ GetMaxEdgeLength()

float eVision::Easy3D::EPointCloudToMeshConverter::GetMaxEdgeLength ( ) const

Sets/Gets the maximal length of the longest edge of a triangle of the mesh. Larger triangles will be filtered out. A value of 0 does not perform any filtering. Set to 0 by default.

◆ GetProjectionPlane()

eVision::Easy3D::E3DPlane eVision::Easy3D::EPointCloudToMeshConverter::GetProjectionPlane ( ) const

The plane on which the cloud is projected before generating a mesh. The parts of the object behind the plane are ignored. Set to the "z = 0" plane by default.

◆ GetResolution()

float eVision::Easy3D::EPointCloudToMeshConverter::GetResolution ( ) const

Approximate size of a side of a triangle composing the mesh, set to 0 to have the value automatically computed.

◆ Load() [1/2]

void eVision::Easy3D::EPointCloudToMeshConverter::Load ( const std::string & path)

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

Parameters
pathThe file path.

◆ Load() [2/2]

void eVision::Easy3D::EPointCloudToMeshConverter::Load ( eVision::ESerializer * serializer)

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

Parameters
serializerThe serializer.

◆ operator=()

eVision::Easy3D::EPointCloudToMeshConverter & eVision::Easy3D::EPointCloudToMeshConverter::operator= ( const eVision::Easy3D::EPointCloudToMeshConverter & other)

Assignment operator.

Parameters
otherReference to the EPointCloudToMeshConverter object used for the assignment.

◆ Save() [1/2]

void eVision::Easy3D::EPointCloudToMeshConverter::Save ( const std::string & path)

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

Parameters
pathThe file path.

◆ Save() [2/2]

void eVision::Easy3D::EPointCloudToMeshConverter::Save ( eVision::ESerializer * serializer)

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

Parameters
serializerPointer to the ESerializer created for writing.

◆ SetMaxEdgeLength()

void eVision::Easy3D::EPointCloudToMeshConverter::SetMaxEdgeLength ( float maxEdgeLength)

Sets/Gets the maximal length of the longest edge of a triangle of the mesh. Larger triangles will be filtered out. A value of 0 does not perform any filtering. Set to 0 by default.

◆ SetProjectionPlane()

void eVision::Easy3D::EPointCloudToMeshConverter::SetProjectionPlane ( const eVision::Easy3D::E3DPlane & projectionPlane)

The plane on which the cloud is projected before generating a mesh. The parts of the object behind the plane are ignored. Set to the "z = 0" plane by default.

◆ SetResolution()

void eVision::Easy3D::EPointCloudToMeshConverter::SetResolution ( float resolution)

Approximate size of a side of a triangle composing the mesh, set to 0 to have the value automatically computed.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::EPointCloudToMeshConverter::wrappedClass_