Solar
Public Member Functions | List of all members
SolAR::api::display::I3DPointsViewer Class Referenceabstract

Displays point clouds in a window. UUID: 575d365a-9a27-11e8-9eb6-529269fb1459 More...

#include <I3DPointsViewer.h>

Inheritance diagram for SolAR::api::display::I3DPointsViewer:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::display::I3DPointsViewer:
Collaboration graph
[legend]

Public Member Functions

 I3DPointsViewer ()=default
 I3DPointsViewer default constructor.
 
virtual ~I3DPointsViewer ()=default
 I3DPointsViewer default destructor.
 
virtual FrameworkReturnCode display (const std::vector< SRef< SolAR::datastructure::CloudPoint > > &points, const SolAR::datastructure::Transform3Df &pose, const std::vector< SolAR::datastructure::Transform3Df > &keyframePoses={}, const std::vector< SolAR::datastructure::Transform3Df > &framePoses={}, const std::vector< SRef< SolAR::datastructure::CloudPoint > > &points2={}, const std::vector< SolAR::datastructure::Transform3Df > &keyframePoses2={})=0
 Display in a windows the 3D point cloud as well as the current camera, and optionnally, the previous frames and keyframes. More...
 
virtual FrameworkReturnCode display (const SRef< SolAR::datastructure::PointCloud > points, const SolAR::datastructure::Transform3Df &pose, const std::vector< SolAR::datastructure::Transform3Df > &keyframePoses={}, const std::vector< SolAR::datastructure::Transform3Df > &framePoses={}, const SRef< SolAR::datastructure::PointCloud > points2=nullptr, const std::vector< SolAR::datastructure::Transform3Df > &keyframePoses2={})=0
 Display in a windows the 3D point cloud as well as the current camera, and optionnally, the previous frames and keyframes. More...
 

Detailed Description

Displays point clouds in a window. UUID: 575d365a-9a27-11e8-9eb6-529269fb1459

This class provides a viewer to display points cloud in a window.

Member Function Documentation

◆ display() [1/2]

virtual FrameworkReturnCode SolAR::api::display::I3DPointsViewer::display ( const SRef< SolAR::datastructure::PointCloud points,
const SolAR::datastructure::Transform3Df pose,
const std::vector< SolAR::datastructure::Transform3Df > &  keyframePoses = {},
const std::vector< SolAR::datastructure::Transform3Df > &  framePoses = {},
const SRef< SolAR::datastructure::PointCloud points2 = nullptr,
const std::vector< SolAR::datastructure::Transform3Df > &  keyframePoses2 = {} 
)
pure virtual

Display in a windows the 3D point cloud as well as the current camera, and optionnally, the previous frames and keyframes.

Parameters
[in]pointsset of 3D points to display in the 3D viewer.
[in]poseposes of the current camera (transform of the camera defined in world coordinate system).
[in]keyframesPoses(optional), poses of a set of keyframes (transform of the camera defined in world corrdinate system).
[in]framePoses(optional), poses of a set of frames (transform of the camera defined in world corrdinate system).
[in]points2(optional), a second set of 3D points to display in the 3D viewer (useful to visualize result of a bundle adjustment).
[in]keyframesPoses2(optional), a second set of keyframes poses (transform of the camera defined in world corrdinate system, useful to visualize result of a bundle adjustment).
Returns
FrameworkReturnCode::SUCCESS if the window is created, else FrameworkReturnCode::_ERROR

◆ display() [2/2]

virtual FrameworkReturnCode SolAR::api::display::I3DPointsViewer::display ( const std::vector< SRef< SolAR::datastructure::CloudPoint > > &  points,
const SolAR::datastructure::Transform3Df pose,
const std::vector< SolAR::datastructure::Transform3Df > &  keyframePoses = {},
const std::vector< SolAR::datastructure::Transform3Df > &  framePoses = {},
const std::vector< SRef< SolAR::datastructure::CloudPoint > > &  points2 = {},
const std::vector< SolAR::datastructure::Transform3Df > &  keyframePoses2 = {} 
)
pure virtual

Display in a windows the 3D point cloud as well as the current camera, and optionnally, the previous frames and keyframes.

Parameters
[in]pointsset of 3D points to display in the 3D viewer.
[in]poseposes of the current camera (transform of the camera defined in world coordinate system).
[in]keyframesPoses(optional), poses of a set of keyframes (transform of the camera defined in world corrdinate system).
[in]framePoses(optional), poses of a set of frames (transform of the camera defined in world corrdinate system).
[in]points2(optional), a second set of 3D points to display in the 3D viewer (useful to visualize result of a bundle adjustment).
[in]keyframesPoses2(optional), a second set of keyframes poses (transform of the camera defined in world corrdinate system, useful to visualize result of a bundle adjustment).
Returns
FrameworkReturnCode::SUCCESS if the window is created, else FrameworkReturnCode::_ERROR

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