Class performing the leveling of an EZMap. The ZMap is re-projected along a new direction and with a specific orientation. The direction is either given by the user or found on the initial ZMap. The orientation is given as an angle (0° is the x-axis of the initial ZMap). More...
#include <eVision/Easy3D/EZMapLeveler.h>
Public Member Functions | |
| EZMapLeveler () | |
| Constructor of an EZMapLeveler object. | |
| EZMapLeveler (const eVision::Easy3D::EZMapLeveler &other) | |
| Constructor of an EZMapLeveler object. | |
| virtual | ~EZMapLeveler () throw () |
| eVision::Easy3D::EZMapLeveler & | operator= (const eVision::Easy3D::EZMapLeveler &other) |
| Assignment operator. | |
| bool | operator== (const eVision::Easy3D::EZMapLeveler &other) const |
| Comparison operator. | |
| bool | operator!= (const eVision::Easy3D::EZMapLeveler &other) const |
| Inequality operator. | |
| void | Load (const std::string &path) |
| Loads the EZMapLeveler object. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the EZMapLeveler object. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Saves the EZMapLeveler object. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the EZMapLeveler object. The given ESerializer must have been created for writing. | |
| void | SetPreservationModes (int32_t modes) |
| Sets/Gets what settings are preserved between the source and destination ZMaps. See EPreservationMode for more information. Defaults to EPreservationMode::EPreservationMode_XYResolution. | |
| int32_t | GetPreservationModes () const |
| Sets/Gets what settings are preserved between the source and destination ZMaps. See EPreservationMode for more information. Defaults to EPreservationMode::EPreservationMode_XYResolution. | |
| void | SetPreserveZResolutionFailureHandler (eVision::Easy3D::EZMapGeneratorZResolutionFailureHandler failureHandler) |
| Gets/Sets the method to handle failures in EZMapLeveler::Level when preserving the source EZMap Z resolution (EZMapLeveler::SetPreservationModes set to EPreservationMode::EPreservationMode_ZResolution). | |
| eVision::Easy3D::EZMapGeneratorZResolutionFailureHandler | GetPreserveZResolutionFailureHandler () const |
| Gets/Sets the method to handle failures in EZMapLeveler::Level when preserving the source EZMap Z resolution (EZMapLeveler::SetPreservationModes set to EPreservationMode::EPreservationMode_ZResolution). | |
| void | SetPreserve3DPosition (bool preserve) |
| Sets/Gets whether the position of the 3D data is to be preserved when performing leveling. | |
| bool | GetPreserve3DPosition () const |
| Sets/Gets whether the position of the 3D data is to be preserved when performing leveling. | |
| void | Level (const eVision::Easy3D::EZMap8 &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap8 &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap8 &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap8 &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap16 &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap16 &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap16 &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap16 &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap32f &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap32f &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap32f &source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap32f &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap *source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap *destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap *source, const eVision::ERegion ®ion, eVision::Easy3D::EZMap *destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap8 &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap8 &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap8 &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap8 &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap16 &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap16 &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap16 &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap16 &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap32f &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap32f &destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap32f &source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap32f &destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap *source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap *destination, float rotationAngle) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| void | Level (const eVision::Easy3D::EZMap *source, const eVision::Easy3D::E3DPoint &projectionDirection, eVision::Easy3D::EZMap *destination) const |
| Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis. | |
| EZMapLeveler (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Class performing the leveling of an EZMap. The ZMap is re-projected along a new direction and with a specific orientation. The direction is either given by the user or found on the initial ZMap. The orientation is given as an angle (0° is the x-axis of the initial ZMap).
License(s): Easy3D
| eVision::Easy3D::EZMapLeveler::EZMapLeveler | ( | ) |
Constructor of an EZMapLeveler object.
| eVision::Easy3D::EZMapLeveler::EZMapLeveler | ( | const eVision::Easy3D::EZMapLeveler & | other | ) |
Constructor of an EZMapLeveler object.
| other | Reference to the EZMapLeveler used for the initialization. |
|
virtual | ||||||||||||
| eVision::Easy3D::EZMapLeveler::EZMapLeveler | ( | CppWrapperInternal::InternalConstructor | ) |
| int32_t eVision::Easy3D::EZMapLeveler::GetPreservationModes | ( | ) | const |
Sets/Gets what settings are preserved between the source and destination ZMaps. See EPreservationMode for more information. Defaults to EPreservationMode::EPreservationMode_XYResolution.
| bool eVision::Easy3D::EZMapLeveler::GetPreserve3DPosition | ( | ) | const |
Sets/Gets whether the position of the 3D data is to be preserved when performing leveling.
If this is true, the image corresponding to the data will be transformed but the ZMap's metadata will compensate the transformation. This means the point clouds corresponding from the input and leveled ZMap are the same.
If this is false, the z = 0 plane in the leveled ZMap represents:
Default: true.
| eVision::Easy3D::EZMapGeneratorZResolutionFailureHandler eVision::Easy3D::EZMapLeveler::GetPreserveZResolutionFailureHandler | ( | ) | const |
Gets/Sets the method to handle failures in EZMapLeveler::Level when preserving the source EZMap Z resolution (EZMapLeveler::SetPreservationModes set to EPreservationMode::EPreservationMode_ZResolution).
If the source resolution is too small to represent the whole 3D data, the data may be cropped, saturated or an exception may be thrown. By default, data is cropped.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap * | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap * | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap * | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap * | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap * | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap * | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap * | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap * | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap16 & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap16 & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap16 & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap16 & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap16 & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap16 & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap16 & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap16 & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap32f & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap32f & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap32f & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap32f & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap32f & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap32f & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap32f & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap32f & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap8 & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap8 & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap8 & | source, |
| const eVision::Easy3D::E3DPoint & | projectionDirection, | ||
| eVision::Easy3D::EZMap8 & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| projectionDirection | The direction of projection of the leveled ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap8 & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap8 & | destination ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Level | ( | const eVision::Easy3D::EZMap8 & | source, |
| const eVision::ERegion & | region, | ||
| eVision::Easy3D::EZMap8 & | destination, | ||
| float | rotationAngle ) const |
Levels the given source ZMap in the destination ZMap. Given a ZMap and an ERegion, the E3DPlane contained in the ERegion is extracted and the ZMap is re-projected along that plane's normal. If an E3DPoint is given instead of the ERegion, it is used directly as direction to project the leveled ZMap along. In both cases, the projection plane lays slightly below the whole object represented by the input ZMap (so as not to loose any data when projecting). The given rotation angle specifies the x-axis to be used in the new ZMap. An angle of 0° re-uses the x-axis of the source ZMap, one of 90° its y-axis.
| source | The ZMap that will be leveled. |
| region | The region of the source ZMap containing the reference plane for the leveling. You can use an ERectangleRegion with the ZMap's size to use the whole ZMap. |
| destination | The leveled ZMap, must be a ZMap of the same type as source. |
| rotationAngle | The rotation angle between the x-axes of the source and destination ZMap, in Easy::SetAngleUnit. |
If the projectionDirection given or computed from region is orthogonal to the source's Z axis, an exception is thrown.
| void eVision::Easy3D::EZMapLeveler::Load | ( | const std::string & | path | ) |
Loads the EZMapLeveler object. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Easy3D::EZMapLeveler::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EZMapLeveler object. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| bool eVision::Easy3D::EZMapLeveler::operator!= | ( | const eVision::Easy3D::EZMapLeveler & | other | ) | const |
Inequality operator.
| other | The EZMapLeveler object to compare with. |
| eVision::Easy3D::EZMapLeveler & eVision::Easy3D::EZMapLeveler::operator= | ( | const eVision::Easy3D::EZMapLeveler & | other | ) |
Assignment operator.
| other | The EZMapLeveler object that should be copied. |
| bool eVision::Easy3D::EZMapLeveler::operator== | ( | const eVision::Easy3D::EZMapLeveler & | other | ) | const |
Comparison operator.
| other | The EZMapLeveler object to compare with. |
| void eVision::Easy3D::EZMapLeveler::Save | ( | const std::string & | path | ) |
Saves the EZMapLeveler object. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Easy3D::EZMapLeveler::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EZMapLeveler object. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision::Easy3D::EZMapLeveler::SetPreservationModes | ( | int32_t | modes | ) |
Sets/Gets what settings are preserved between the source and destination ZMaps. See EPreservationMode for more information. Defaults to EPreservationMode::EPreservationMode_XYResolution.
| modes | Any combination of the EPreservationMode enum containing at least EPreservationMode::EPreservationMode_XYResolution or EPreservationMode::EPreservationMode_Size. |
| void eVision::Easy3D::EZMapLeveler::SetPreserve3DPosition | ( | bool | preserve | ) |
Sets/Gets whether the position of the 3D data is to be preserved when performing leveling.
If this is true, the image corresponding to the data will be transformed but the ZMap's metadata will compensate the transformation. This means the point clouds corresponding from the input and leveled ZMap are the same.
If this is false, the z = 0 plane in the leveled ZMap represents:
Default: true.
| preserve | Whether the 3D position is preserved in the leveled ZMap. |
| void eVision::Easy3D::EZMapLeveler::SetPreserveZResolutionFailureHandler | ( | eVision::Easy3D::EZMapGeneratorZResolutionFailureHandler | failureHandler | ) |
Gets/Sets the method to handle failures in EZMapLeveler::Level when preserving the source EZMap Z resolution (EZMapLeveler::SetPreservationModes set to EPreservationMode::EPreservationMode_ZResolution).
If the source resolution is too small to represent the whole 3D data, the data may be cropped, saturated or an exception may be thrown. By default, data is cropped.
| failureHandler | Whether to crop, saturate or throw on failure |
| CppWrapperInternal::WrappedClass eVision::Easy3D::EZMapLeveler::wrappedClass_ |