Solar
Public Member Functions | List of all members
SolAR::api::geom::I3DTransform Class Referenceabstract

Applies a 3D transformation (e.g. an affine transformation) to a set of 3D points. UUID: 9c1052b2-46c0-467b-8363-36f19b6b445f More...

#include <I3DTransform.h>

Inheritance diagram for SolAR::api::geom::I3DTransform:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::geom::I3DTransform:
Collaboration graph
[legend]

Public Member Functions

 I3DTransform ()=default
 I3DTransform default constructor.
 
virtual ~I3DTransform ()=default
 I3DTransform default destructor.
 
virtual FrameworkReturnCode transform (const std::vector< SolAR::datastructure::Point3Df > &inputPoints, const SolAR::datastructure::Transform3Df &transformation, std::vector< SolAR::datastructure::Point3Df > &outputPoints)=0
 This method applies a transformation (4x4 float matrix) to a set of 3D points. More...
 
virtual FrameworkReturnCode transformInPlace (const SolAR::datastructure::Transform3Df &transformation, SRef< SolAR::datastructure::Map > map)=0
 This method applies a transformation (4x4 float matrix) to a map including point cloud and keyframes. More...
 
virtual FrameworkReturnCode transformInPlace (const SolAR::datastructure::Transform3Df &transformation, std::vector< SRef< SolAR::datastructure::CloudPoint > > &pointCloud)=0
 This method applies a transformation (4x4 float matrix) to a point cloud. More...
 
virtual FrameworkReturnCode transformInPlace (const SolAR::datastructure::Transform3Df &transformation, std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes)=0
 This method applies a transformation (4x4 float matrix) to a set of keyframes. More...
 
virtual FrameworkReturnCode transformInPlace (const SolAR::datastructure::Transform3Df &transformation, SRef< SolAR::datastructure::PointCloud > pointCloud)=0
 This method applies a transformation (4x4 float matrix) to a point cloud. More...
 
virtual FrameworkReturnCode transformInPlace (const SolAR::datastructure::Transform3Df &transformation, SRef< SolAR::datastructure::KeyframeCollection > keyframeCollection)=0
 This method applies a transformation (4x4 float matrix) to a keyframe collection. More...
 

Detailed Description

Applies a 3D transformation (e.g. an affine transformation) to a set of 3D points. UUID: 9c1052b2-46c0-467b-8363-36f19b6b445f

Member Function Documentation

◆ transform()

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transform ( const std::vector< SolAR::datastructure::Point3Df > &  inputPoints,
const SolAR::datastructure::Transform3Df transformation,
std::vector< SolAR::datastructure::Point3Df > &  outputPoints 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a set of 3D points.

Parameters
[in]inputPointsthe set of 3D points to transform
[in]transformationthe 3D transformation to apply (a 4x4 float matrix)
[out]outputPointsthe resulting set of 3D points after 3D transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ transformInPlace() [1/5]

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df transformation,
SRef< SolAR::datastructure::KeyframeCollection keyframeCollection 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a keyframe collection.

Parameters
[in]transformationthe 3D transformation to apply (a 4x4 float matrix)
[in,out]keyframeCollectionthe keyframe collection to apply the transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ transformInPlace() [2/5]

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df transformation,
SRef< SolAR::datastructure::Map map 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a map including point cloud and keyframes.

Parameters
[in]transformationtransformation the 3D transformation to apply (a 4x4 float matrix)
[in,out]mapthe map to apply the transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ transformInPlace() [3/5]

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df transformation,
SRef< SolAR::datastructure::PointCloud pointCloud 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a point cloud.

Parameters
[in]transformationthe 3D transformation to apply (a 4x4 float matrix)
[in,out]pointCloudthe point cloud to apply the transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ transformInPlace() [4/5]

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df transformation,
std::vector< SRef< SolAR::datastructure::CloudPoint > > &  pointCloud 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a point cloud.

Parameters
[in]transformationtransformation the 3D transformation to apply (a 4x4 float matrix)
[in,out]pointCloudthe point cloud to apply the transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ transformInPlace() [5/5]

virtual FrameworkReturnCode SolAR::api::geom::I3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df transformation,
std::vector< SRef< SolAR::datastructure::Keyframe > > &  keyframes 
)
pure virtual

This method applies a transformation (4x4 float matrix) to a set of keyframes.

Parameters
[in]transformationtransformation the 3D transformation to apply (a 4x4 float matrix)
[in,out]keyframesthe set of keyframes to apply the transformation
Returns
FrameworkReturnCode::SUCCESS if 3D transformation succeed, else FrameworkReturnCode::_ERROR.

The documentation for this class was generated from the following file: