iterative closest points
CEV ICP algorithm library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LidarView Class Referencefinal

#include <lidar_view.h>

Inheritance diagram for LidarView:

Public Member Functions

 LidarView (std::vector< icp::Vector > source, std::vector< icp::Vector > destination, const std::string method, const icp::ICP::Config &config=icp::ICP::Config())
 Constructs a new lidar view visualizing ICP (by method method) on the given instance (source and destination).
 
 ~LidarView () noexcept override
 
void on_event (const SDL_Event &event) override
 
void draw (SDL_Renderer *renderer, const SDL_Rect *frame, double dtime) override
 

Detailed Description

Definition at line 14 of file lidar_view.h.

Constructor & Destructor Documentation

◆ LidarView()

LidarView::LidarView ( std::vector< icp::Vector > source,
std::vector< icp::Vector > destination,
const std::string method,
const icp::ICP::Config & config = icp::ICP::Config() )

Constructs a new lidar view visualizing ICP (by method method) on the given instance (source and destination).

Definition at line 17 of file lidar_view.cpp.

◆ ~LidarView()

LidarView::~LidarView ( )
overridenoexcept

Definition at line 28 of file lidar_view.cpp.

Member Function Documentation

◆ draw()

void LidarView::draw ( SDL_Renderer * renderer,
const SDL_Rect * frame,
double dtime )
override

Definition at line 60 of file lidar_view.cpp.

◆ on_event()

void LidarView::on_event ( const SDL_Event & event)
override

Definition at line 37 of file lidar_view.cpp.


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