Solar
Public Member Functions | List of all members
SolAR::MODULES::TOOLS::SolAR3DTransform Class Reference

Applies a 3D Transform to a set of 3D points. UUID: f05dd955-33bd-4d52-8717-93ad298ed3e3 More...

#include <SolAR3DTransform.h>

Inheritance diagram for SolAR::MODULES::TOOLS::SolAR3DTransform:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::TOOLS::SolAR3DTransform:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Applies a 3D Transform to a set of 3D points. UUID: f05dd955-33bd-4d52-8717-93ad298ed3e3

Member Function Documentation

◆ transform()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transform ( const std::vector< SolAR::datastructure::Point3Df > &  inputPoints,
const SolAR::datastructure::Transform3Df &  transformation,
std::vector< SolAR::datastructure::Point3Df > &  outputPoints 
)
override

This method applies a 3D transform to a set of 3D points.

Parameters
[in]inputPointsThe 3D points on which the 3D transform will be applied.
[in]transformationThe 3D transform to apply to the set of 3D points.
[out]outputPointsThe resulting 3D points after application of the 3D transform.
Returns
FrameworkReturnCode::SUCCESS if sucessful, eiher FrameworkRetunrnCode::_ERROR.

◆ transformInPlace() [1/5]

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df &  transformation,
SRef< SolAR::datastructure::KeyframeCollection >  keyframeCollection 
)
override

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]

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df &  transformation,
SRef< SolAR::datastructure::Map >  map 
)
override

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]

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df &  transformation,
SRef< SolAR::datastructure::PointCloud >  pointCloud 
)
override

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]

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df &  transformation,
std::vector< SRef< SolAR::datastructure::CloudPoint > > &  pointCloud 
)
override

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]

FrameworkReturnCode SolAR::MODULES::TOOLS::SolAR3DTransform::transformInPlace ( const SolAR::datastructure::Transform3Df &  transformation,
std::vector< SRef< SolAR::datastructure::Keyframe > > &  keyframes 
)
override

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: