Multimodal-Calib
Code for performing 3D-2D and 2D-2D multimodal calibration
 All Classes Functions Variables
Public Member Functions | List of all members
ScanList Class Reference

Holds the sensors scans. More...

#include <ScanList.h>

Public Member Functions

 ScanList (void)
 Constructor creates an empty scan.
 
 ~ScanList (void)
 Destructor.
 
size_t getNumDim (size_t idx)
 Gets the number of dimensions the specified scan has. More...
 
size_t getNumCh (size_t idx)
 Gets the number of channels the specified scan has. More...
 
size_t getNumPoints (size_t idx)
 Gets the number of points the specified scan has. More...
 
size_t getNumScans (void)
 Gets the number of scans.
 
float * getLP (size_t idx, size_t dim)
 Gets the pointer of the location array. More...
 
float * getIP (size_t idx, size_t ch)
 Gets the pointer of the intensity array. More...
 
void addScan (std::vector< thrust::device_vector< float >> &scanLIn, std::vector< thrust::device_vector< float >> &scanIIn)
 Adds a scan to the list. More...
 
void addScan (std::vector< thrust::host_vector< float >> &scanLIn, std::vector< thrust::host_vector< float >> &scanIIn)
 Adds a scan to the list. More...
 
void removeScan (size_t idx)
 Removes a scan from the list. More...
 
void removeLastScan ()
 Removes the last scan on the list.
 
void removeAllScans ()
 Removes all of the scans in the list.
 

Detailed Description

Holds the sensors scans.

Member Function Documentation

void ScanList::addScan ( std::vector< thrust::device_vector< float >> &  scanLIn,
std::vector< thrust::device_vector< float >> &  scanIIn 
)

Adds a scan to the list.

Parameters
scanLIninput scans location information
scanIIninput scans intensity information
void ScanList::addScan ( std::vector< thrust::host_vector< float >> &  scanLIn,
std::vector< thrust::host_vector< float >> &  scanIIn 
)

Adds a scan to the list.

Parameters
scanLIninput scans location information
scanIIninput scans intensity information
float * ScanList::getIP ( size_t  idx,
size_t  ch 
)

Gets the pointer of the intensity array.

Parameters
idxindex of the scan
chindex of the intensity channel to return
float * ScanList::getLP ( size_t  idx,
size_t  dim 
)

Gets the pointer of the location array.

Parameters
idxindex of scan
dimindex of dimension
size_t ScanList::getNumCh ( size_t  idx)

Gets the number of channels the specified scan has.

Parameters
idxindex of the scan
size_t ScanList::getNumDim ( size_t  idx)

Gets the number of dimensions the specified scan has.

Parameters
idxindex of the scan
size_t ScanList::getNumPoints ( size_t  idx)

Gets the number of points the specified scan has.

Parameters
idxindex of the scan
void ScanList::removeScan ( size_t  idx)

Removes a scan from the list.

Parameters
idxindex of scan to remove

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