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

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

#include <eVision/Easy3D/EZMapToMeshConverter.h>

Collaboration diagram for eVision::Easy3D::EZMapToMeshConverter:

Public Member Functions

 EZMapToMeshConverter ()
 Creates an EZMapToMeshConverter object.
 EZMapToMeshConverter (const eVision::Easy3D::EZMapToMeshConverter &other)
 Creates an EZMapToMeshConverter object.
virtual ~EZMapToMeshConverter () throw ()
eVision::Easy3D::EZMapToMeshConverter & operator= (const eVision::Easy3D::EZMapToMeshConverter &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 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::EZMap8 &srcZMap, eVision::Easy3D::EMesh &mesh) const
 The method 'Convert' performs the conversion from an EZMap to an EMesh.
void Convert (const eVision::Easy3D::EZMap16 &srcZMap, eVision::Easy3D::EMesh &mesh) const
 The method 'Convert' performs the conversion from an EZMap to an EMesh.
void Convert (const eVision::Easy3D::EZMap32f &srcZMap, eVision::Easy3D::EMesh &mesh) const
 The method 'Convert' performs the conversion from an EZMap to an EMesh.
void Convert (const eVision::Easy3D::EZMap *srcZMap, eVision::Easy3D::EMesh &mesh) const
 The method 'Convert' performs the conversion from an EZMap to an EMesh.
 EZMapToMeshConverter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Performs the conversion from an EZMap to an EMesh.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EZMapToMeshConverter() [1/3]

eVision::Easy3D::EZMapToMeshConverter::EZMapToMeshConverter ( )

Creates an EZMapToMeshConverter object.

◆ EZMapToMeshConverter() [2/3]

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

Creates an EZMapToMeshConverter object.

Parameters
otherReference to the EZMapToMeshConverter object used for the initialization.

◆ ~EZMapToMeshConverter()

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

◆ EZMapToMeshConverter() [3/3]

eVision::Easy3D::EZMapToMeshConverter::EZMapToMeshConverter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Convert() [1/4]

void eVision::Easy3D::EZMapToMeshConverter::Convert ( const eVision::Easy3D::EZMap * srcZMap,
eVision::Easy3D::EMesh & mesh ) const

The method 'Convert' performs the conversion from an EZMap to an EMesh.

Parameters
srcZMapThe ZMap to convert.
meshThe destination mesh.

◆ Convert() [2/4]

void eVision::Easy3D::EZMapToMeshConverter::Convert ( const eVision::Easy3D::EZMap16 & srcZMap,
eVision::Easy3D::EMesh & mesh ) const

The method 'Convert' performs the conversion from an EZMap to an EMesh.

Parameters
srcZMapThe ZMap to convert.
meshThe destination mesh.

◆ Convert() [3/4]

void eVision::Easy3D::EZMapToMeshConverter::Convert ( const eVision::Easy3D::EZMap32f & srcZMap,
eVision::Easy3D::EMesh & mesh ) const

The method 'Convert' performs the conversion from an EZMap to an EMesh.

Parameters
srcZMapThe ZMap to convert.
meshThe destination mesh.

◆ Convert() [4/4]

void eVision::Easy3D::EZMapToMeshConverter::Convert ( const eVision::Easy3D::EZMap8 & srcZMap,
eVision::Easy3D::EMesh & mesh ) const

The method 'Convert' performs the conversion from an EZMap to an EMesh.

Parameters
srcZMapThe ZMap to convert.
meshThe destination mesh.

◆ GetMaxEdgeLength()

float eVision::Easy3D::EZMapToMeshConverter::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.

◆ Load() [1/2]

void eVision::Easy3D::EZMapToMeshConverter::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::EZMapToMeshConverter::Load ( eVision::ESerializer * serializer)

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

Parameters
serializerThe serializer.

◆ operator=()

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

Assignment operator.

Parameters
otherReference to the EZMapToMeshConverter object used for the assignment.

◆ Save() [1/2]

void eVision::Easy3D::EZMapToMeshConverter::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::EZMapToMeshConverter::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::EZMapToMeshConverter::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.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::EZMapToMeshConverter::wrappedClass_