Performs the conversion from an EPointCloud to an EMesh. More...
#include <eVision/Easy3D/EPointCloudToMeshConverter.h>
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_ |
Performs the conversion from an EPointCloud to an EMesh.
License(s): Easy3D
| eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter | ( | ) |
Creates an EPointCloudToMeshConverter object.
| eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter | ( | const eVision::Easy3D::EPointCloudToMeshConverter & | other | ) |
Creates an EPointCloudToMeshConverter object.
| other | Reference to the EPointCloudToMeshConverter object used for the initialization. |
|
virtual | ||||||||||||
| eVision::Easy3D::EPointCloudToMeshConverter::EPointCloudToMeshConverter | ( | CppWrapperInternal::InternalConstructor | ) |
| 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.
| cloud | The cloud to convert. |
| mesh | The destination mesh. |
| 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.
| 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.
| 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.
| void eVision::Easy3D::EPointCloudToMeshConverter::Load | ( | const std::string & | path | ) |
Loads the converter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Easy3D::EPointCloudToMeshConverter::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the converter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::Easy3D::EPointCloudToMeshConverter & eVision::Easy3D::EPointCloudToMeshConverter::operator= | ( | const eVision::Easy3D::EPointCloudToMeshConverter & | other | ) |
Assignment operator.
| other | Reference to the EPointCloudToMeshConverter object used for the assignment. |
| void eVision::Easy3D::EPointCloudToMeshConverter::Save | ( | const std::string & | path | ) |
Saves the converter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Easy3D::EPointCloudToMeshConverter::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the converter configuration. The given ESerializer must have been created for writing.
| serializer | Pointer to the ESerializer created for writing. |
| 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.
| 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.
| 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.
| CppWrapperInternal::WrappedClass eVision::Easy3D::EPointCloudToMeshConverter::wrappedClass_ |